I can't run the dependency check.
I have waiting a long time. I have these messages:

I have an [INFO} message Lock file found [INFO] Lock file found C:\Users\linda\.m2\repository\org\owasp\dependency-check-utils\7.1.2\..\..\dependency-check-data\7.0\odc.update.lock [INFO] Existing update in progress;

[INFO] --- dependency-check-maven:7.1.2:check (default-cli) @ Module2.2 --- [INFO] Lock file found C:\Users\linda\.m2\repository\org\owasp\dependency-check-utils\7.1.2\..\..\dependency-check-data\7.0\odc.update.lock [INFO] Existing update in progress; waiting for update to complete

Here are the related lines from pom.xml

<plugin>
    <groupId>org.owasp</groupId>
    <artifactId>dependency-check-maven</artifactId>
    <version>7.1.2</version>
    <executions>
        <execution>
            <goals>
                <goal>check</goal>
            </goals>
        </execution>
    </executions>
    </plugin>
        
1

There are 1 best solutions below

1
On

I just encountered this, you need to change the maven build name to the project name. Then re-run the build and you should be good to go!