我正在尝试获取我的 Maven 项目之一的依赖项检查报告,但每次运行时:
mvn verify
依赖关系报告中的依赖关系显示没有易受攻击的 JAR。
我在 POM 中添加了以下插件以生成依赖项检查报告:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-email</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>apache.axis</groupId>
<artifactId>jaxrpc</artifactId>
<version>1.2beta</version>
<scope>provided</scope>
</dependency>
<dependencies>
<dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>3.3.2</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
我需要纠正什么或有其他方法吗?commons-email-1.1.jar有一些漏洞,但仍然没有被检测到。
这些是 Maven 日志:
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 1 executions of maven-deploy-plugin replaced with
nexus-staging-maven-plugin
[INFO]
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ version-mana -
--
[INFO]
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources) @ version-
mana ---
[INFO]
[INFO] --- maven-source-plugin:2.4:test-jar-no-fork (attach-sources) @
version-mana ---
[INFO]
摇曳的蔷薇
慕的地10843
相关分类