maven打包错误bug修改
This commit is contained in:
parent
717be14f19
commit
6616beeafa
16
pom.xml
16
pom.xml
@ -946,13 +946,23 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>3.8.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>1.8</source>
|
||||||
<target>1.8</target>
|
<target>1.8</target>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
<compilerArguments>
|
<!-- 正确设置编译器参数 -->
|
||||||
<extdirs>${project.basedir}/src/main/resources/lib</extdirs>
|
<compilerArgs>
|
||||||
</compilerArguments>
|
<!-- extdirs需要拆分成两个参数 -->
|
||||||
|
<arg>-extdirs</arg>
|
||||||
|
<arg>${project.basedir}/src/main/resources/lib</arg>
|
||||||
|
<!-- 其他合法的javac参数 -->
|
||||||
|
</compilerArgs>
|
||||||
|
<!-- 必须设置fork=true才能使用内存参数 -->
|
||||||
|
<fork>true</fork>
|
||||||
|
<!-- 这里是设置编译器JVM的内存参数 -->
|
||||||
|
<meminitial>1024m</meminitial>
|
||||||
|
<maxmem>2048m</maxmem>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- 打包跳过测试 -->
|
<!-- 打包跳过测试 -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user