when i build the source code from svn server, it cant failed. I found a similar topic on the mail list, the answer is there are some POM files missing.

i run "mvn clean install -DskipTests=true"
and the version of maven is 2.2.1.

thank you!

[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/whj/workspace/stanbol/launchers/bundlelists/pom.xml to /home/whj/.m2/repository/org/apache/stanbol/apache-stanbol-bundlelists/0.10.0-SNAPSHOT/apache-stanbol-bundlelists-0.10.0-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------
[INFO] Building Apache Stanbol Bundlelist for the OSGi Framework
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting /home/whj/workspace/stanbol/launchers/bundlelists/osgiframework/target
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [remote-resources:process {execution: default}]
-----------------------------------------------------
this realm = app0.child-container[org.apache.sling:maven-launchpad-plugin:2.2.0] urls[0] = file:/home/whj/.m2/repository/org/apache/sling/maven-launchpad-plugin/2.2.0/maven-launchpad-plugin-2.2.0.jar urls[1] = file:/home/whj/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar urls[2] = file:/home/whj/.m2/repository/org/apache/maven/maven-compat/3.0/maven-compat-3.0.jar urls[3] = file:/home/whj/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar urls[4] = file:/home/whj/.m2/repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar urls[5] = file:/home/whj/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar
urls[6] = file:/home/whj/.m2/repository/org/jdom/jdom/1.1/jdom-1.1.jar
urls[7] = file:/home/whj/.m2/repository/org/apache/sling/org.apache.sling.launchpad.api/1.0.0/org.apache.sling.launchpad.api-1.0.0.jar urls[8] = file:/home/whj/.m2/repository/org/apache/sling/org.apache.sling.launchpad.base/2.4.0/org.apache.sling.launchpad.base-2.4.0.jar urls[9] = file:/home/whj/.m2/repository/org/apache/sling/org.apache.sling.launchpad.base/2.4.0/org.apache.sling.launchpad.base-2.4.0-app.jar urls[10] = file:/home/whj/.m2/repository/org/apache/maven/shared/maven-filtering/1.0/maven-filtering-1.0.jar urls[11] = file:/home/whj/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar urls[12] = file:/home/whj/.m2/repository/org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.jar urls[13] = file:/home/whj/.m2/repository/biz/aQute/bndlib/1.50.0/bndlib-1.50.0.jar urls[14] = file:/home/whj/.m2/repository/org/drools/drools-compiler/5.3.1.Final/drools-compiler-5.3.1.Final.jar urls[15] = file:/home/whj/.m2/repository/org/drools/drools-core/5.3.1.Final/drools-core-5.3.1.Final.jar urls[16] = file:/home/whj/.m2/repository/org/mvel/mvel2/2.1.0.drools4/mvel2-2.1.0.drools4.jar urls[17] = file:/home/whj/.m2/repository/org/drools/knowledge-api/5.3.1.Final/knowledge-api-5.3.1.Final.jar urls[18] = file:/home/whj/.m2/repository/org/antlr/antlr-runtime/3.3/antlr-runtime-3.3.jar
urls[19] = file:/home/whj/.m2/repository/org/antlr/antlr/3.3/antlr-3.3.jar
urls[20] = file:/home/whj/.m2/repository/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.jar
urls[21] = file:/home/whj/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar
urls[22] = file:/home/whj/.m2/repository/org/eclipse/jdt/core/compiler/ecj/3.5.1/ecj-3.5.1.jar urls[23] = file:/home/whj/.m2/repository/org/codehaus/mojo/versions-maven-plugin/1.2/versions-maven-plugin-1.2.jar urls[24] = file:/home/whj/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.4.1/maven-reporting-impl-2.0.4.1.jar urls[25] = file:/home/whj/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar urls[26] = file:/home/whj/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar urls[27] = file:/home/whj/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar urls[28] = file:/home/whj/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar urls[29] = file:/home/whj/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar urls[30] = file:/home/whj/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
urls[31] = file:/home/whj/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
urls[32] = file:/home/whj/.m2/repository/org/apache/maven/doxia/doxia-core/1.0-alpha-10/doxia-core-1.0-alpha-10.jar urls[33] = file:/home/whj/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar urls[34] = file:/home/whj/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar urls[35] = file:/home/whj/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar urls[36] = file:/home/whj/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar urls[37] = file:/home/whj/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar urls[38] = file:/home/whj/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar urls[39] = file:/home/whj/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar urls[40] = file:/home/whj/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar urls[41] = file:/home/whj/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar urls[42] = file:/home/whj/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar urls[43] = file:/home/whj/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.2/maven-common-artifact-filters-1.2.jar urls[44] = file:/home/whj/.m2/repository/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.jar urls[45] = file:/home/whj/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar urls[46] = file:/home/whj/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.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:/usr/share/maven2/lib/maven-debian-uber.jar
urls[1] = file:/home/whj/.m2/repository/org/apache/maven/archetype/archetype-packaging/2.2/archetype-packaging-2.2.jar urls[2] = file:/home/whj/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.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.apache.sling:maven-launchpad-plugin:2.2.0:attach-partial-bundle-list': Unable to load the mojo 'org.apache.sling:maven-launchpad-plugin:2.2.0:attach-partial-bundle-list' in the plugin 'org.apache.sling:maven-launchpad-plugin'. A required class is missing: org/apache/maven/artifact/repository/RepositoryRequest
org.apache.maven.artifact.repository.RepositoryRequest
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 minutes 11 seconds
[INFO] Finished at: Wed Feb 27 10:40:01 CST 2013
[INFO] Final Memory: 643M/909M
[INFO] --------------------------------------------------------

Reply via email to