you need http://svn.apache.org/viewvc?view=revision&revision=924886
see: http://www.mail-archive.com/[email protected]/msg07282.html for some detail On 14 April 2010 13:55, ee7arh <[email protected]> wrote: > > Hello, > > I have tried for a quite a while to get ActiveMQ 5.3 to build using Maven > but always run into the following problem even though I have installed the > patch as suggested in a previous post: > > http://svn.apache.org/viewvc?view=revision&revision=881433 Link to the POM > patch > > > http://old.nabble.com/BUILD-Error-%28Unable-to-find-the-mojo%29-ActiveMQ-5.3.0-ts26876104.html#a26876104 > Older post with similar problem > > I am building the project on a Mac OS x system which uses java: > > java version "1.6.0_17" > Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025) > Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode) > > > However I am not sure that this is related. > > I run following command: > > mvn clean install -Dmaven.test.skip=true > > but the build fails with the following report when compiling XMPP. > > I need to compile ActiveMQ 5.3 since I need a patch which will not be > available until 5.4 > > Thanks for any assistance > Andrew > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building ActiveMQ :: XMPP > [INFO] task-segment: [clean, install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean {execution: default-clean}] > [INFO] [enforcer:enforce {execution: default}] > [WARNING] POM for 'org.apache.maven:maven-settings:pom:2.0.4:runtime' is > invalid. > > Its dependencies (if any) will NOT be available to the current build. > [WARNING] POM for 'org.apache.maven:maven-profile:pom:2.0.4:runtime' is > invalid. > > Its dependencies (if any) will NOT be available to the current build. > [WARNING] POM for 'org.apache.maven:maven-model:pom:2.0.4:runtime' is > invalid. > > Its dependencies (if any) will NOT be available to the current build. > [WARNING] POM for > 'org.apache.maven:maven-artifact-manager:pom:2.0.4:runtime' is invalid. > > Its dependencies (if any) will NOT be available to the current build. > [WARNING] POM for 'com.sun.xml.bind:jaxb-impl:pom:2.0.2:runtime' is > invalid. > > Its dependencies (if any) will NOT be available to the current build. > [WARNING] POM for 'com.sun.xml.bind:jaxb-xjc:pom:2.0.2:runtime' is invalid. > > Its dependencies (if any) will NOT be available to the current build. > ----------------------------------------------------- > this realm = > app0.child-container[org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.1] > urls[0] = > > file:/Users/andrew/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.1/maven-jaxb2-plugin-0.1.jar > urls[1] = > > file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar > urls[2] = > > file:/Users/andrew/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.2/jaxb-impl-2.0.2.jar > urls[3] = > > file:/Users/andrew/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar > Number of imports: 10 > import: org.codehaus.classworlds.en...@a6c57a42 > import: org.codehaus.classworlds.en...@12f43f3b > import: org.codehaus.classworlds.en...@20025374 > import: org.codehaus.classworlds.en...@f8e44ca4 > import: org.codehaus.classworlds.en...@92758522 > import: org.codehaus.classworlds.en...@ebf2705b > import: org.codehaus.classworlds.en...@bb25e54 > import: org.codehaus.classworlds.en...@bece5185 > import: org.codehaus.classworlds.en...@3fee8e37 > import: org.codehaus.classworlds.en...@3fee19d8 > > > this realm = plexus.core > urls[0] = file:/Applications/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar > Number of imports: 10 > import: org.codehaus.classworlds.en...@a6c57a42 > import: org.codehaus.classworlds.en...@12f43f3b > import: org.codehaus.classworlds.en...@20025374 > import: org.codehaus.classworlds.en...@f8e44ca4 > import: org.codehaus.classworlds.en...@92758522 > import: org.codehaus.classworlds.en...@ebf2705b > import: org.codehaus.classworlds.en...@bb25e54 > import: org.codehaus.classworlds.en...@bece5185 > import: org.codehaus.classworlds.en...@3fee8e37 > import: org.codehaus.classworlds.en...@3fee19d8 > ----------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [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 load > the > mojo 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.1:generate' in the plugin > 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin'. A required class is missing: > com/sun/tools/xjc/ErrorReceiver > com.sun.tools.xjc.ErrorReceiver > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4 minutes 37 seconds > [INFO] Finished at: Wed Apr 14 14:43:20 CEST 2010 > [INFO] Final Memory: 115M/258M > [INFO] > ------------------------------------------------------------------------ > -- > View this message in context: > http://old.nabble.com/Unable-to-build-ActiveMQ-5.3.0-source---A-required-class-is-missing-tp28242207p28242207.html > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com
