Maven-为什么依赖检查跳过?
在我的POM插件中,我有...
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>6.2.2</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
但是当我运行MVN依赖项检查时:检查
或MVN验证
在日志中,我会看到
[INFO] --- dependency-check-maven:6.2.2:check (default-cli) @ my-project ---
[INFO] Skipping dependency-check
如何使其运行?
In my pom plugins I have...
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>6.2.2</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
But when I run mvn dependency-check:check
or mvn verify
in the logs I see
[INFO] --- dependency-check-maven:6.2.2:check (default-cli) @ my-project ---
[INFO] Skipping dependency-check
How do I get it to run??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明,
dependency-check.skip
在属性中评估为true。我只需将其设置为
false
。Turned out the
dependency-check.skip
was evaluating to true in the properties.I simply set it to
false
.