karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Re: Build failure on Karaf trunk...
Date Sat, 26 Oct 2013 05:47:07 GMT
Hi David,

sorry .. did not see the mail. I use maven 3.0.4 and it works fine for 
me. The jenkins build fails though.

Christian

On 25.10.2013 16:45, David Bosschaert wrote:
> Hi all,
>
> When I run 'mvn install' on Karaf trunk it fails. (OSX, Java 1.6)
>
> See below. It was fine yesterday - so I suspect it's one of the
> commits done today. cschneider, since you are the only one who did
> commits today, are you seeing this too?
>
> Cheers,
>
> David
>
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2:14.440s
> [INFO] Finished at: Fri Oct 25 15:36:51 IST 2013
> [INFO] Final Memory: 83M/163M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-create-kar
> (package) on project framework: Execution package of goal
> org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-create-kar
> failed: An API incompatibility was encountered while executing
> org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-create-kar:
> java.lang.NoSuchMethodError:
> org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLineAsCallable(Lorg/codehaus/plexus/util/cli/Commandline;Ljava/io/InputStream;Lorg/codehaus/plexus/util/cli/StreamConsumer;Lorg/codehaus/plexus/util/cli/StreamConsumer;I)Lorg/codehaus/plexus/util/cli/CommandLineCallable;
> [ERROR] -----------------------------------------------------
> [ERROR] realm =
> plugin>org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] =
> file:/Users/david/checkouts/karaf/tooling/karaf-maven-plugin/target/karaf-maven-plugin-3.0.0-SNAPSHOT.jar
> [ERROR] urls[1] =
> file:/Users/david/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.1.1/sisu-inject-bean-2.1.1.jar
> [ERROR] urls[2] =
> file:/Users/david/.m2/repository/org/sonatype/sisu/sisu-guice/2.9.4/sisu-guice-2.9.4-no_aop.jar
> [ERROR] urls[3] =
> file:/Users/david/.m2/repository/org/sonatype/aether/aether-util/1.11/aether-util-1.11.jar
> [ERROR] urls[4] =
> file:/Users/david/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
> [ERROR] urls[5] =
> file:/Users/david/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> [ERROR] urls[6] =
> file:/Users/david/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[7] =
> file:/Users/david/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] urls[8] =
> file:/Users/david/.m2/repository/org/slf4j/slf4j-jdk14/1.7.5/slf4j-jdk14-1.7.5.jar
> [ERROR] urls[9] =
> file:/Users/david/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
> [ERROR] urls[10] =
> file:/Users/david/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-4/maven-filtering-1.0-beta-4.jar
> [ERROR] urls[11] =
> file:/Users/david/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> [ERROR] urls[12] =
> file:/Users/david/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar
> [ERROR] urls[13] =
> file:/Users/david/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.10/plexus-utils-1.5.10.jar
> [ERROR] urls[14] =
> file:/Users/david/.m2/repository/org/apache/felix/maven-bundle-plugin/2.4.0/maven-bundle-plugin-2.4.0.jar
> [ERROR] urls[15] =
> file:/Users/david/.m2/repository/biz/aQute/bnd/bndlib/2.1.0/bndlib-2.1.0.jar
> [ERROR] urls[16] =
> file:/Users/david/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
> [ERROR] urls[17] =
> file:/Users/david/.m2/repository/org/codehaus/plexus/plexus-archiver/2.1/plexus-archiver-2.1.jar
> [ERROR] urls[18] =
> file:/Users/david/.m2/repository/org/codehaus/plexus/plexus-io/2.0.2/plexus-io-2.0.2.jar
> [ERROR] urls[19] =
> file:/Users/david/.m2/repository/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.jar
> [ERROR] urls[20] =
> file:/Users/david/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
> [ERROR] urls[21] =
> file:/Users/david/.m2/repository/org/apache/felix/org.apache.felix.fileinstall/3.2.6/org.apache.felix.fileinstall-3.2.6.jar
> [ERROR] urls[22] =
> file:/Users/david/checkouts/karaf/features/core/target/org.apache.karaf.features.core-3.0.0-SNAPSHOT.jar
> [ERROR] urls[23] =
> file:/Users/david/.m2/repository/org/ops4j/pax/url/pax-url-wrap/1.6.0/pax-url-wrap-1.6.0.jar
> [ERROR] urls[24] =
> file:/Users/david/.m2/repository/org/ops4j/base/ops4j-base-net/1.4.0/ops4j-base-net-1.4.0.jar
> [ERROR] urls[25] =
> file:/Users/david/.m2/repository/org/ops4j/base/ops4j-base-lang/1.4.0/ops4j-base-lang-1.4.0.jar
> [ERROR] urls[26] =
> file:/Users/david/.m2/repository/org/ops4j/base/ops4j-base-monitors/1.4.0/ops4j-base-monitors-1.4.0.jar
> [ERROR] urls[27] =
> file:/Users/david/.m2/repository/org/ops4j/pax/swissbox/pax-swissbox-bnd/1.7.0/pax-swissbox-bnd-1.7.0.jar
> [ERROR] urls[28] =
> file:/Users/david/.m2/repository/org/ops4j/pax/url/pax-url-commons/1.6.0/pax-url-commons-1.6.0.jar
> [ERROR] urls[29] =
> file:/Users/david/.m2/repository/org/ops4j/pax/url/pax-url-aether/1.6.0/pax-url-aether-1.6.0.jar
> [ERROR] urls[30] =
> file:/Users/david/.m2/repository/org/ops4j/pax/url/pax-url-maven-commons/1.6.0/pax-url-maven-commons-1.6.0.jar
> [ERROR] urls[31] =
> file:/Users/david/.m2/repository/org/ops4j/base/ops4j-base-util-property/1.4.0/ops4j-base-util-property-1.4.0.jar
> [ERROR] urls[32] =
> file:/Users/david/.m2/repository/org/ops4j/base/ops4j-base-util-xml/1.4.0/ops4j-base-util-xml-1.4.0.jar
> [ERROR] urls[33] =
> file:/Users/david/.m2/repository/org/ops4j/base/ops4j-base-util-collections/1.4.0/ops4j-base-util-collections-1.4.0.jar
> [ERROR] urls[34] =
> file:/Users/david/checkouts/karaf/deployer/spring/target/org.apache.karaf.deployer.spring-3.0.0-SNAPSHOT.jar
> [ERROR] urls[35] =
> file:/Users/david/checkouts/karaf/deployer/blueprint/target/org.apache.karaf.deployer.blueprint-3.0.0-SNAPSHOT.jar
> [ERROR] urls[36] =
> file:/Users/david/checkouts/karaf/deployer/features/target/org.apache.karaf.deployer.features-3.0.0-SNAPSHOT.jar
> [ERROR] urls[37] =
> file:/Users/david/checkouts/karaf/deployer/kar/target/org.apache.karaf.deployer.kar-3.0.0-SNAPSHOT.jar
> [ERROR] urls[38] =
> file:/Users/david/checkouts/karaf/kar/core/target/org.apache.karaf.kar.core-3.0.0-SNAPSHOT.jar
> [ERROR] urls[39] =
> file:/Users/david/.m2/repository/org/apache/felix/org.apache.felix.utils/1.2.0/org.apache.felix.utils-1.2.0.jar
> [ERROR] urls[40] =
> file:/Users/david/.m2/repository/org/ops4j/pax/swissbox/pax-swissbox-property/1.7.0/pax-swissbox-property-1.7.0.jar
> [ERROR] urls[41] =
> file:/Users/david/.m2/repository/org/apache/servicemix/bundles/org.apache.servicemix.bundles.ant/1.8.4_1/org.apache.servicemix.bundles.ant-1.8.4_1.jar
> [ERROR] urls[42] =
> file:/Users/david/checkouts/karaf/shell/console/target/org.apache.karaf.shell.console-3.0.0-SNAPSHOT.jar
> [ERROR] urls[43] =
> file:/Users/david/.m2/repository/jline/jline/2.11/jline-2.11.jar
> [ERROR] urls[44] =
> file:/Users/david/checkouts/karaf/jaas/modules/target/org.apache.karaf.jaas.modules-3.0.0-SNAPSHOT.jar
> [ERROR] urls[45] =
> file:/Users/david/checkouts/karaf/jaas/config/target/org.apache.karaf.jaas.config-3.0.0-SNAPSHOT.jar
> [ERROR] urls[46] =
> file:/Users/david/checkouts/karaf/jaas/boot/target/org.apache.karaf.jaas.boot-3.0.0-SNAPSHOT.jar
> [ERROR] urls[47] =
> file:/Users/david/.m2/repository/org/apache/sshd/sshd-core/0.8.0/sshd-core-0.8.0.jar
> [ERROR] urls[48] =
> file:/Users/david/.m2/repository/org/apache/mina/mina-core/2.0.7/mina-core-2.0.7.jar
> [ERROR] urls[49] =
> file:/Users/david/.m2/repository/org/osgi/org.osgi.core/5.0.0/org.osgi.core-5.0.0.jar
> [ERROR] urls[50] =
> file:/Users/david/.m2/repository/org/apache/xbean/xbean-finder-shaded/3.14/xbean-finder-shaded-3.14.jar
> [ERROR] urls[51] =
> file:/Users/david/.m2/repository/org/apache/xbean/xbean-asm4-shaded/3.14/xbean-asm4-shaded-3.14.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm
> ClassRealm[project>org.apache.karaf:karaf:3.0.0-SNAPSHOT, parent:
> ClassRealm[maven.api, parent: null]]]
> [ERROR]
> [ERROR] -----------------------------------------------------
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :framework
> david@pop ~/checkouts/karaf $


-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com


Mime
View raw message