0
点赞
收藏
分享

微信扫一扫

maven pom.xml中设置java编译参数

dsysama 2022-01-28 阅读 87


比如,编译时指定目录:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<compilerArguments>
<bootclasspath>${JAVA_HOME}/jre/lib/rt.jar</bootclasspath>
<extdirs>${project.basedir}/src/lib</extdirs>
</compilerArguments>
</configuration>
</plugin>

如果想设置编译时的大内存,参考:


举报

相关推荐

0 条评论