|
|
@@ -35,6 +35,25 @@
|
|
|
<finalName>${parent.artifactId}-${project.version}</finalName>
|
|
|
<!--插件项-->
|
|
|
<plugins>
|
|
|
+ <!--maven-compiler-->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <source>${maven.compiler.source}</source>
|
|
|
+ <target>${maven.compiler.target}</target>
|
|
|
+ <encoding>${project.build.sourceEncoding}</encoding>
|
|
|
+ <compilerArguments>
|
|
|
+ <extdirs>${project.basedir}/../libs</extdirs>
|
|
|
+ </compilerArguments>
|
|
|
+ <annotationProcessorPaths>
|
|
|
+ <path>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ </path>
|
|
|
+ </annotationProcessorPaths>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
<!--maven-resources-->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
@@ -49,19 +68,6 @@
|
|
|
</nonFilteredFileExtensions>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
- <!--maven-compiler-->
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <source>${maven.compiler.source}</source>
|
|
|
- <target>${maven.compiler.target}</target>
|
|
|
- <encoding>${project.build.sourceEncoding}</encoding>
|
|
|
- <compilerArguments>
|
|
|
- <extdirs>${project.basedir}/../libs</extdirs>
|
|
|
- </compilerArguments>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
<!--spring-boot-->
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|