2 回答
TA贡献1876条经验 获得超7个赞
在你的绒球.xml,添加
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>analyze</id>
<goals>
<goal>analyze-only</goal>
</goals>
<configuration>
<failOnWarning>true</failOnWarning>
<outputXML>true</outputXML>
<verbose>true</verbose>
<ignoredUnusedDeclaredDependencies>
<ignoredUnusedDeclaredDependency>xxx</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>xxx</ignoredUnusedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>
</configuration>
</execution>
</executions>
</plugin>
添加回答
举报