Skip to content

line 2 column 54 - Error: <goal-name> is not recognized! dependency check maven plugin #5080

@DoumaRahma

Description

@DoumaRahma

Describe the bug
We upgrade to version 7.3.1 and 7.3.2 of dependency check maven, the execution is completed successfully but we get this message
line 2 column 54 - Error: < goal-name > is not recognized!
owasp_db : "7.3.2"

while executing this command: ./mvnw help:describe -Dplugin=org.owasp:dependency-check-maven $MAVEN_ARGS "${MAVEN_ADDITIONAL_ARGS_ARRAY[@]}" | grep Version:

We don't have this message with version 7.3.0 of plugin neither with dependency check gradle v 7.3.2 and 7.3.1.

We make some other tests by changing the owasp DB version to 7.3.0, we have the same behavior. So, We assume that this message is related to the plugin not to the BD.
We even changed the version of maven-help-plugin with the latest one , we get the same result.
We used the grep with another plugin and it works without problem. So, we can confirm that the message comes from dependency-check-maven plugin.

We checked the plugin changes between version 7.3.2 and 7.3.0 jeremylong/DependencyCheck@v7.3.0...v7.3.2 and there are only some visibility changes

Version of dependency-check used
The problem occurs using version 7.3.2 and 7.3.1 of dependency check maven plugin

Expected behavior
We expect to get the dependency check version as output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmavenchanges to the maven plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions