Pls Help Issue Using Owasp dependency check Maven Plugin 1.3.1 :Apache Maven 2.2.1

87 views
Skip to first unread message

Barath Subramaniam

unread,
Nov 13, 2015, 8:50:10 PM11/13/15
to Dependency Check
Hi Team,

 I am trying to use Owasp dependency check Maven Plugin 1.3.1  with Apache maven version 2.2.1 for Owasp dependency check. 

Version
Java version 1.7.0.79
Mac Machine
Owasp dependency check Maven Plugin 1.3.1
Apache maven version 2.2.1 

- I am unable to use the goal check . I am getting the Fatal error.

Please advise and help me on this to fix the issue.Thank you

Command Executed:

mvn org.owasp:dependency-check-maven:LATEST:check

Log:

[INFO] Scanning for projects...
[INFO] artifact org.owasp:dependency-check-maven: checking for updates from MacysInternalSnapshots
[INFO] artifact org.owasp:dependency-check-maven: checking for updates from PluginSnapshots
[INFO] artifact org.owasp:dependency-check-maven: checking for updates from macysSnapshots
[INFO] ------------------------------------------------------------------------
[INFO] Building spring3 mvc maven
[INFO]    task-segment: [org.owasp:dependency-check-maven:LATEST:check]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency-check:check {execution: default-cli}]
[FATAL ERROR] org.owasp.dependencycheck.maven.CheckMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.owasp:dependency-check-maven:1.3.1]
......
urls[20] = file:/Users/mario/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/Users/mario/Softwares/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.apache.maven.project.MavenProject.setContextValue(Ljava/lang/String;Ljava/lang/Object;)V
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoSuchMethodError: org.apache.maven.project.MavenProject.setContextValue(Ljava/lang/String;Ljava/lang/Object;)V
at org.o

Jeremy Long

unread,
Nov 22, 2015, 7:05:20 AM11/22/15
to Barath Subramaniam, Dependency Check
Unfortunately, I don't believe dependency-check will work on Maven 2.x. Maven 3.0 is required.

--Jeremy

--
You received this message because you are subscribed to the Google Groups "Dependency Check" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dependency-che...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages