I switched to maven 2.2.1 and now everything build successfully. On Thu, Apr 1, 2010 at 10:03 AM, Karolis Petrauskas <[email protected]> wrote: > Hi all, > > I am trying to build servicemix components version 2010.01 and > getting an error (shown bellow). For example with the bean component, > I am building the component using command "mvn -Dmaven.test.skip=true > install", with the source retrieved from > http://svn.apache.org/repos/asf/servicemix/components/engines/servicemix-bean/tags/servicemix-bean-2010.01. > The same situation is for all components that I tried to build. > > The error is: > [INFO] [jbi:jbi-shared-library] > [INFO] Generating shared library > C:\SVNWORK\apache.servicemix\shared-2010.01\servicemix-shared\target\servicemix-shared-2010.01.zip > [FATAL ERROR] > org.apache.servicemix.maven.plugin.jbi.GenerateSharedLibraryMojo#execute() > caused a linkage error (java.lang.IncompatibleClassChangeError) and > may be out-of-date. Check the realms: > [FATAL ERROR] Plugin realm = > app0.child-container[org.apache.servicemix.tooling:jbi-maven-plugin] > urls[0] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/servicemix/tooling/jbi-maven-plugin/4.3/jbi-maven-plugin-4.3.jar > urls[1] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/servicemix/servicemix-pom/2/servicemix-pom-2.pom > urls[2] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.1/plexus-utils-2.0.1.jar > urls[3] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/maven/maven-archiver/2.4/maven-archiver-2.4.jar > urls[4] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-11/plexus-archiver-1.0-alpha-11.jar > urls[5] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/codehaus/plexus/plexus-component-api/1.0-alpha-15/plexus-component-api-1.0-alpha-1 > 5.jar > urls[6] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/codehaus/plexus/plexus-io/1.0-alpha-3/plexus-io-1.0-alpha-3.jar > urls[7] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.6/plexus-interpolation-1.6.jar > urls[8] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/maven/maven-script-ant/2.0.9/maven-script-ant-2.0.9.jar > urls[9] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/codehaus/plexus/plexus-ant-factory/1.0-alpha-2/plexus-ant-factory-1.0-alpha-2.jar > urls[10] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar > urls[11] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar > urls[12] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/servicemix/servicemix-core/3.3.1/servicemix-core-3.3.1.jar > urls[13] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/servicemix/specs/org.apache.servicemix.specs.jbi-api-1.0/1.4.0/org.apache. > servicemix.specs.jbi-api-1.0-1.4.0.jar > urls[14] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_ > spec-1.0.2.jar > urls[15] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/servicemix/servicemix-utils/1.1.0/servicemix-utils-1.1.0.jar > urls[16] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec > -1.0.1.jar > urls[17] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.6/wstx-asl-3.2.6.jar > urls[18] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar > urls[19] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar > urls[20] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/modules/geronimo-connector/2.0.2/geronimo-connector-2.0.2.jar > urls[21] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/components/geronimo-connector/2.0.2/geronimo-connector-2.0.2.jar > urls[22] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/components/geronimo-transaction/2.0.2/geronimo-transaction-2.0.2. > jar > urls[23] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar > > urls[24] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/2.0.0/geronimo-j2ee-connec > tor_1.5_spec-2.0.0.jar > urls[25] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/objectweb/howl/howl/1.0.1-1/howl-1.0.1-1.jar > urls[26] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/modules/geronimo-transaction/2.0.2/geronimo-transaction-2.0.2.jar > > urls[27] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/regexp/regexp/1.3/regexp-1.3.jar > urls[28] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/activemq/activemq-core/5.2.0/activemq-core-5.2.0.jar > urls[29] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/camel/camel-core/1.5.0/camel-core-1.5.0.jar > urls[30] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/specs/geronimo-jms_1.1_spec/1.1.1/geronimo-jms_1.1_spec-1.1.1.jar > > urls[31] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/activemq/activeio-core/3.1.0/activeio-core-3.1.0.jar > urls[32] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/backport-util-concurrent/backport-util-concurrent/2.1/backport-util-concurrent-2.1.ja > r > urls[33] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/specs/geronimo-j2ee-management_1.0_spec/1.1/geronimo-j2ee-managem > ent_1.0_spec-1.1.jar > urls[34] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/activemq/activemq-pool/5.2.0/activemq-pool-5.2.0.jar > urls[35] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.0.1B_spec/1.1/geronimo-jta_1.0.1B_spec-1.1.j > ar > urls[36] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/commons-pool/commons-pool/1.4/commons-pool-1.4.jar > urls[37] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/springframework/spring-beans/2.5.5/spring-beans-2.5.5.jar > urls[38] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/springframework/spring-core/2.5.5/spring-core-2.5.5.jar > urls[39] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/specs/geronimo-j2ee-jacc_1.0_spec/1.1/geronimo-j2ee-jacc_1.0_spec > -1.1.jar > urls[40] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/xbean/xbean-spring/3.4.3/xbean-spring-3.4.3.jar > urls[41] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/xbean/xbean-classloader/3.4.3/xbean-classloader-3.4.3.jar > urls[42] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar > urls[43] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/springframework/spring-context/2.5.6/spring-context-2.5.6.jar > urls[44] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar > urls[45] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar > urls[46] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/mx4j/mx4j-remote/3.0.1/mx4j-remote-3.0.1.jar > urls[47] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/jencks/jencks/2.2/jencks-2.2.jar > urls[48] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/springframework/spring-aop/2.5.6/spring-aop-2.5.6.jar > urls[49] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/springframework/spring-jms/2.5.6/spring-jms-2.5.6.jar > urls[50] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/springframework/spring-context-support/2.5.6/spring-context-support-2.5.6.jar > urls[51] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/springframework/spring-tx/2.5.5/spring-tx-2.5.5.jar > urls[52] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/commons-dbcp/commons-dbcp/1.2/commons-dbcp-1.2.jar > urls[53] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar > urls[54] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar > urls[55] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar > urls[56] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar > urls[57] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/xalan/xalan/2.7.0/xalan-2.7.0.jar > urls[58] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar > urls[59] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar > urls[60] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/servicemix/servicemix-common/2009.01/servicemix-common-2009.01.jar > urls[61] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.5/geronimo-javamail_1.4_spec-1 > .5.jar > urls[62] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/org/apache/geronimo/specs/geronimo-ejb_2.1_spec/1.1/geronimo-ejb_2.1_spec-1.1.jar > urls[63] = file:/C:/Documents and > Settings/k.petrauskas/.m2/repository/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar > [FATAL ERROR] Container realm = plexus.core > urls[0] = > file:/C:/cygwin/usr/local/apache-maven-2.0.10/lib/maven-2.0.10-uber.jar > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Class org.codehaus.plexus.logging.console.ConsoleLogger does > not implement the requested interface > org.codehaus.plexus.logging.Logger > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.IncompatibleClassChangeError: Class > org.codehaus.plexus.logging.console.ConsoleLogger does not implement > the requested interface org.codehaus.plex > us.logging.Logger > at > org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:330) > at > org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:250) > at > org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:786) > at > org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:543) > at > org.apache.servicemix.maven.plugin.jbi.GenerateSharedLibraryMojo.createArchive(GenerateSharedLibraryMojo.java:137) > at > org.apache.servicemix.maven.plugin.jbi.GenerateSharedLibraryMojo.execute(GenerateSharedLibraryMojo.java:106) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:301) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4 minutes 44 seconds > [INFO] Finished at: Thu Apr 01 09:35:58 EEST 2010 > [INFO] Final Memory: 46M/63M > [INFO] > ------------------------------------------------------------------------ > > -- > Karolis Petrauskas >
-- Karolis Petrauskas
