Home > Blockchain >  maven - why is dependency check skipped?
maven - why is dependency check skipped?

Time:07-13

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??

CodePudding user response:

Turned out the dependency-check.skip was evaluating to true in the properties.

I simply set it to false.

  • Related