优化
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
<module>common-event-contract</module>
|
||||
<module>gateway</module>
|
||||
<module>gateway-overseas</module>
|
||||
<module>overseas-security-service</module>
|
||||
<module>auth</module>
|
||||
<module>iam</module>
|
||||
<module>order</module>
|
||||
@@ -66,6 +67,7 @@
|
||||
<maven.compiler.plugin.version>3.13.0</maven.compiler.plugin.version>
|
||||
<maven.enforcer.plugin.version>3.4.1</maven.enforcer.plugin.version>
|
||||
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
|
||||
<spotbugs-maven-plugin.version>4.9.8.5</spotbugs-maven-plugin.version>
|
||||
<archunit.version>1.5.0</archunit.version>
|
||||
<rocketmq.spring.version>2.3.3</rocketmq.spring.version>
|
||||
</properties>
|
||||
@@ -168,4 +170,31 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>static-analysis-report</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.github.spotbugs</groupId>
|
||||
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||
<version>${spotbugs-maven-plugin.version}</version>
|
||||
<configuration>
|
||||
<xmlOutput>true</xmlOutput>
|
||||
<htmlOutput>true</htmlOutput>
|
||||
<failOnError>false</failOnError>
|
||||
<noClassOk>true</noClassOk>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>生成静态分析报告</id>
|
||||
<phase>verify</phase>
|
||||
<goals><goal>spotbugs</goal></goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user