Alejandro Rivera created MFINDBUGS-167:
------------------------------------------
Summary: A required class is missing: groovy/lang/GroovyObject
Key: MFINDBUGS-167
URL: https://jira.codehaus.org/browse/MFINDBUGS-167
Project: Maven 2.x FindBugs Plugin
Issue Type: Bug
Affects Versions: 2.4.1
Reporter: Alejandro Rivera
Assignee: Garvin LeClaire
I can't seem to be able to execute the findbugs-maven-plugin after compiling
the source code myself and upload it to my company's own Archiva.
Some info about my set up:
* Downloaded Trunk (2.4.1-SNAPSHOT)
* Changed version to 2.4.1.MYCOMPANY-SNAPSHOT
* Generated JAR using 'mvn clean install' on a Macbook using Maven 3. Groovy
was installed using macports
* Ran 'mvn clean compile finbugs:check' on my build machine (RedHat Linux,
using Maven 2)
{code}
[INFO] Preparing findbugs:check
-----------------------------------------------------
this realm =
app0.child-container[org.codehaus.mojo:findbugs-maven-plugin:2.4.1.MYCOMPANY-SNAPSHOT]
urls[0] =
file:/home/payment/.m2/repository/org/codehaus/mojo/findbugs-maven-plugin/2.4.1.MYCOMPANY-SNAPSHOT/findbugs-maven-plugin-2.4.1.MYCOMPANY-SNAPSHOT.jar
urls[1] =
file:/home/payment/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of imports: 10
import: org.codehaus.classworlds.Entry@a6c57a42
import: org.codehaus.classworlds.Entry@12f43f3b
import: org.codehaus.classworlds.Entry@20025374
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@92758522
import: org.codehaus.classworlds.Entry@ebf2705b
import: org.codehaus.classworlds.Entry@bb25e54
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8
this realm = plexus.core
urls[0] = file:/my_company/current/maven/lib/maven-2.2.1-uber.jar
Number of imports: 10
import: org.codehaus.classworlds.Entry@a6c57a42
import: org.codehaus.classworlds.Entry@12f43f3b
import: org.codehaus.classworlds.Entry@20025374
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@92758522
import: org.codehaus.classworlds.Entry@ebf2705b
import: org.codehaus.classworlds.Entry@bb25e54
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8
-----------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'org.codehaus.mojo:findbugs-maven-plugin:2.4.1.ZYNGA-SNAPSHOT:findbugs': Unable
to load the mojo
'org.codehaus.mojo:findbugs-maven-plugin:2.4.1.MYCOMPANY-SNAPSHOT:findbugs' in
the plugin 'org.codehaus.mojo:findbugs-maven-plugin'. A required class is
missing: groovy/lang/GroovyObject
groovy.lang.GroovyObject
{code}
I saw another bug report that seemed similar and seemed to suggest that
cleaning certain artifacts in the Maven local repo would solve the issue. I
tried this and didn't work for me.
Any ideas?
(PS: I tried the same using a fork of 2.4.0 and got the same error msg)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email