activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter P <ppoth...@crossbeamsys.com>
Subject BUILD Error (Unable to find the mojo) ActiveMQ 5.3.0
Date Mon, 21 Dec 2009 16:10:31 GMT

Hi,

I would like to create an install RPM for ActiveMQ 5.3.  I have seen
AMQ-2105,
but it's unclear whether "mvn install" creates an RPM.  I decided to build
it to
find out, but have run into a Build Error.  First I untarred

    activemq-parent-5.3.0-source-release.tar.gz

and installed (several versions now) of maven, as well as JAVA (1.6 and
1.5),
currently running with

     # mvn --version
     Maven version: 2.0.9
     Java version: 1.5.0_21
     OS name: "linux" version: "2.6.18-164.el5" arch: "i386" Family: "unix"

I use the command

     MAVEN_OPTS=-Xmx800m mvn clean install -Dmaven.test.skip=true

but run into a BUILD ERROR

     [ERROR] BUILD ERROR
     [INFO]
------------------------------------------------------------------------
     [INFO] Internal error in the plugin manager executing goal
'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.1:generate': Unable to find the
mojo 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.1:generate' in the plugin
'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin'
com/sun/tools/xjc/ErrorReceiver



The following are the last INFO messages seen during the build.  Any ideas
what could be wrong?

[INFO] [clean:clean]
Downloading:
http://download.java.net/maven/2/org/codehaus/woodstox/wstx-asl/3.0.1/wstx-asl-3.0.1.pom
Downloading:
http://repository.codehaus.org//org/codehaus/woodstox/wstx-asl/3.0.1/wstx-asl-3.0.1.pom
849b downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
org/codehaus/woodstox/wstx-asl/3.0.1/wstx-asl-3.0.1.pom - IGNORING
Downloading:
http://download.java.net/maven/2/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.pom
Downloading:
http://repository.codehaus.org//org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.pom
Downloading:
http://download.java.net/maven/2/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.pom
Downloading:
http://repository.codehaus.org//org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.pom
Downloading:
http://download.java.net/maven/2/org/apache/geronimo/specs/specs/1.3/specs-1.3.pom
Downloading:
http://repository.codehaus.org//org/apache/geronimo/specs/specs/1.3/specs-1.3.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/geronimo/specs/specs/1.3/specs-1.3.pom
Downloading:
http://download.java.net/maven/2/jivesoftware/smack/3.1.0/smack-3.1.0.pom
Downloading:
http://repository.codehaus.org//jivesoftware/smack/3.1.0/smack-3.1.0.pom
Downloading:
http://repo1.maven.org/maven2/jivesoftware/smack/3.1.0/smack-3.1.0.pom
Downloading:
http://download.java.net/maven/2/jivesoftware/smackx/3.1.0/smackx-3.1.0.pom
Downloading:
http://repository.codehaus.org//jivesoftware/smackx/3.1.0/smackx-3.1.0.pom
Downloading:
http://repo1.maven.org/maven2/jivesoftware/smackx/3.1.0/smackx-3.1.0.pom
Downloading:
http://download.java.net/maven/2/org/codehaus/woodstox/wstx-asl/3.0.1/wstx-asl-3.0.1.jar
Downloading:
http://repository.codehaus.org//org/codehaus/woodstox/wstx-asl/3.0.1/wstx-asl-3.0.1.jar
463K downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
org/codehaus/woodstox/wstx-asl/3.0.1/wstx-asl-3.0.1.jar - IGNORING
Downloading:
http://download.java.net/maven/2/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.jar
Downloading:
http://repository.codehaus.org//org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.jar
Downloading:
http://download.java.net/maven/2/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.jar
Downloading:
http://repository.codehaus.org//org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.jar
Downloading:
http://download.java.net/maven/2/jivesoftware/smack/3.1.0/smack-3.1.0.jar
Downloading:
http://repository.codehaus.org//jivesoftware/smack/3.1.0/smack-3.1.0.jar
Downloading:
http://repo1.maven.org/maven2/jivesoftware/smack/3.1.0/smack-3.1.0.jar
Downloading:
http://download.java.net/maven/2/jivesoftware/smackx/3.1.0/smackx-3.1.0.jar
Downloading:
http://repository.codehaus.org//jivesoftware/smackx/3.1.0/smackx-3.1.0.jar
Downloading:
http://repo1.maven.org/maven2/jivesoftware/smackx/3.1.0/smackx-3.1.0.jar
[INFO] [enforcer:enforce {execution: default}]
Downloading:
http://download.java.net/maven/2/org/apache/maven/maven-settings/2.0.4/maven-settings-2.0.4.pom
Downloading:
https://repository.apache.org/content/repositories/snapshots//org/apache/maven/maven-settings/2.0.4/maven-settings-2.0.4.pom
Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.apache.maven/poms/maven-settings-2.0.4.pom
367b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'de0c356d76856d8e6729cd5eb14e271c53852c3a'; remote = '<!DOCTYPE' - RETRYING
Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.apache.maven/poms/maven-settings-2.0.4.pom
367b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'de0c356d76856d8e6729cd5eb14e271c53852c3a'; remote = '<!DOCTYPE' - IGNORING
[WARNING] POM for 'org.apache.maven:maven-settings:pom:2.0.4:runtime' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM. for project org.apache.maven:maven-settings at
/root/.m2/repository/org/apache/maven/maven-settings/2.0.4/maven-settings-2.0.4.pom
Downloading:
http://download.java.net/maven/2/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.pom
Downloading:
https://repository.apache.org/content/repositories/snapshots//org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.pom
Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.apache.maven/poms/maven-profile-2.0.4.pom
366b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'bb64cd1224f0b91ecd251d042820a69c2540b591'; remote = '<!DOCTYPE' - RETRYING
Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.apache.maven/poms/maven-profile-2.0.4.pom
366b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'bb64cd1224f0b91ecd251d042820a69c2540b591'; remote = '<!DOCTYPE' - IGNORING
[WARNING] POM for 'org.apache.maven:maven-profile:pom:2.0.4:runtime' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM. for project org.apache.maven:maven-profile at
/root/.m2/repository/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.pom
Downloading:
http://download.java.net/maven/2/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.pom
Downloading:
https://repository.apache.org/content/repositories/snapshots//org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.pom
Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.apache.maven/poms/maven-model-2.0.4.pom
364b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'ca59f379d1b1f9c332921331db086fa357d1acd9'; remote = '<!DOCTYPE' - RETRYING
Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.apache.maven/poms/maven-model-2.0.4.pom
364b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'ca59f379d1b1f9c332921331db086fa357d1acd9'; remote = '<!DOCTYPE' - IGNORING
[WARNING] POM for 'org.apache.maven:maven-model:pom:2.0.4:runtime' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM. for project org.apache.maven:maven-model at
/root/.m2/repository/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.pom
Downloading:
http://download.java.net/maven/2/org/apache/maven/maven-artifact-manager/2.0.4/maven-artifact-manager-2.0.4.pom
Downloading:
https://repository.apache.org/content/repositories/snapshots//org/apache/maven/maven-artifact-manager/2.0.4/maven-artifact-manager-2.0.4.pom
Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.apache.maven/poms/maven-artifact-manager-2.0.4.pom
375b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'7f9f1a7a1979d721c645aabd45aa08cc659f2f31'; remote = '<!DOCTYPE' - RETRYING
Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.apache.maven/poms/maven-artifact-manager-2.0.4.pom
375b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'7f9f1a7a1979d721c645aabd45aa08cc659f2f31'; remote = '<!DOCTYPE' - IGNORING
[WARNING] POM for
'org.apache.maven:maven-artifact-manager:pom:2.0.4:runtime' is invalid. It
will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for
project org.apache.maven:maven-artifact-manager at
/root/.m2/repository/org/apache/maven/maven-artifact-manager/2.0.4/maven-artifact-manager-2.0.4.pom
Downloading:
http://download.java.net/maven/2/com/sun/xml/bind/jaxb-impl/2.0.2/jaxb-impl-2.0.2.pom
Downloading:
https://repository.apache.org/content/repositories/snapshots//com/sun/xml/bind/jaxb-impl/2.0.2/jaxb-impl-2.0.2.pom
Downloading:
https://maven-repository.dev.java.net/nonav/repository/com.sun.xml.bind/poms/jaxb-impl-2.0.2.pom
362b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'769ae6c9dafd6130220a06e5beee91705e5b7bde'; remote = '<!DOCTYPE' - RETRYING
Downloading:
https://maven-repository.dev.java.net/nonav/repository/com.sun.xml.bind/poms/jaxb-impl-2.0.2.pom
362b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'769ae6c9dafd6130220a06e5beee91705e5b7bde'; remote = '<!DOCTYPE' - IGNORING
[WARNING] POM for 'com.sun.xml.bind:jaxb-impl:pom:2.0.2:runtime' is invalid.
It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for
project com.sun.xml.bind:jaxb-impl at
/root/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.2/jaxb-impl-2.0.2.pom
Downloading:
http://download.java.net/maven/2/com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.pom
Downloading:
https://repository.apache.org/content/repositories/snapshots//com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.pom
Downloading:
https://maven-repository.dev.java.net/nonav/repository/com.sun.xml.bind/poms/jaxb-xjc-2.0.2.pom
361b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'b59d620e249524c9168efc526bff841fd6e4a7dd'; remote = '<!DOCTYPE' - RETRYING
Downloading:
https://maven-repository.dev.java.net/nonav/repository/com.sun.xml.bind/poms/jaxb-xjc-2.0.2.pom
361b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'b59d620e249524c9168efc526bff841fd6e4a7dd'; remote = '<!DOCTYPE' - IGNORING
[WARNING] POM for 'com.sun.xml.bind:jaxb-xjc:pom:2.0.2:runtime' is invalid.
It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for
project com.sun.xml.bind:jaxb-xjc at
/root/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.pom
Downloading:
http://download.java.net/maven/2/com/sun/xml/bind/jaxb-impl/2.0.2/jaxb-impl-2.0.2.jar
Downloading:
https://repository.apache.org/content/repositories/snapshots//com/sun/xml/bind/jaxb-impl/2.0.2/jaxb-impl-2.0.2.jar
Downloading:
https://maven-repository.dev.java.net/nonav/repository/com.sun.xml.bind/jars/jaxb-impl-2.0.2.jar
362b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'2c455eda9365334ca48dd448b2795e4526c40197'; remote = '<!DOCTYPE' - RETRYING
Downloading:
https://maven-repository.dev.java.net/nonav/repository/com.sun.xml.bind/jars/jaxb-impl-2.0.2.jar
362b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'2c455eda9365334ca48dd448b2795e4526c40197'; remote = '<!DOCTYPE' - IGNORING
Downloading:
http://download.java.net/maven/2/com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
Downloading:
https://repository.apache.org/content/repositories/snapshots//com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
Downloading:
https://maven-repository.dev.java.net/nonav/repository/com.sun.xml.bind/jars/jaxb-xjc-2.0.2.jar
361b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'8f853df57fc28590177eacae7a020c2e3c1a686a'; remote = '<!DOCTYPE' - RETRYING
Downloading:
https://maven-repository.dev.java.net/nonav/repository/com.sun.xml.bind/jars/jaxb-xjc-2.0.2.jar
361b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'8f853df57fc28590177eacae7a020c2e3c1a686a'; remote = '<!DOCTYPE' - IGNORING
-----------------------------------------------------
this realm = app0.child-container[org.jvnet.jaxb2.maven2:maven-jaxb2-plugin]
urls[0] =
file:/root/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.1/maven-jaxb2-plugin-0.1.jar
urls[1] =
file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[2] =
file:/root/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.2/jaxb-impl-2.0.2.jar
urls[3] =
file:/root/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
Number of imports: 6
import: org.codehaus.classworlds.Entry@4891bb28
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@c51bc9e7
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:/opt/maven/apache-maven-2.0.9/lib/maven-2.0.9-uber.jar
Number of imports: 6
import: org.codehaus.classworlds.Entry@4891bb28
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@c51bc9e7
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8


Thanks!

Peter P


-- 
View this message in context: http://old.nabble.com/BUILD-Error-%28Unable-to-find-the-mojo%29-ActiveMQ-5.3.0-tp26876104p26876104.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message