maven 指定jdk版本和编译版本.
生活随笔
收集整理的這篇文章主要介紹了
maven 指定jdk版本和编译版本.
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
?
修改maven項目的pom.xml 文件,
添加,
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.0.2</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build>即可.?
轉(zhuǎn)載于:https://www.cnblogs.com/vito27/p/6644417.html
總結(jié)
以上是生活随笔為你收集整理的maven 指定jdk版本和编译版本.的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【矩阵】概念的理解 —— span、基
- 下一篇: [PY3]——内置数据结构(4)——字符