Both machines use Maven 2.0.9:
Maven version: 2.0.9
Java version: 1.5.0_12
OS name: "linux" version: "2.6.9-78.0.5.elsmp" arch: "i386" Family: "unix"
Maven version: 2.0.9
Java version: 1.5.0_14
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
-Stefan
Dennis Lundberg wrote:
You need Maven 2.0.6+ to be able to override plexus-utils. Which version
of Maven are you using on the Linux server?
Stefan Fritz wrote:
Hi all,
we have a custom Maven plugin to package artifacts for our ESB.
The plugin works fine on my Windows machine (WinXP, Maven 2.0.9, Sun JDK
5) but when I package a project on our server it fails.
The error occurs on with Sun JDK5/6 on Linux.
Does anybody have an idea what the cause of this could be? (see console
output below)
Thanks
Stefan
----------------------------------------------------------------------------
started
Checking out
https://iocc-svn.asn.lsy.dlh.de/maven/iocc/com.lhsystems.iocc.esb.instances.taoff/taoff-pubweather-opsm-air0001/snapshots/1.0-SNAPSHOT/latest/taoff-pubweather-opsm-air0001
A .project
A src
A src/main
A src/main/ESB
A src/main/resources
A
src/main/resources/Offramp-CrewM-WxCatNotification-OracleAQDataSink.xml
A src/main/resources/ESB
A src/main/resources/ESB/ExportProperties.xml
A pom.xml
A deploy
A deploy/generated-src
A deploy/generated-src/xar
A deploy/generated-src/xar/ESB
A deploy/generated-src/xar/ESB/Endpoints
A
deploy/generated-src/xar/ESB/Endpoints/iocc.TechnicalAdapter.Offramp-CrewM-WxCatNotification.xml
A deploy/generated-src/xar/ESB/Services
A
deploy/generated-src/xar/ESB/Services/iocc.TechnicalAdapter.Offramp-CrewM-WxCatNotification.xml
At revision 5306
no change for
https://iocc-svn.asn.lsy.dlh.de/maven/iocc/com.lhsystems.iocc.esb.instances.taoff/taoff-pubweather-opsm-air0001/snapshots/1.0-SNAPSHOT/latest/taoff-pubweather-opsm-air0001
since the previous build
Parsing POMs
[taoff-pubweather-opsm-air0001] $ /usr/java/jdk1.5.0_12/bin/java -Xms64m
-Xmx256m -cp
/users/maven/tools/hudson/war/WEB-INF/lib/maven-agent-1.262.jar:/users/maven/tools/maven2/boot/classworlds-1.1.jar
hudson.maven.agent.Main /users/maven/tools/maven2
/users/maven/tools/hudson/war/WEB-INF/lib/remoting-1.262.jar
/users/maven/tools/hudson/war/WEB-INF/lib/maven-interceptor-1.262.jar 10078
channel started
Executing Maven: -B -B -f
/users/maven/tools/hudson/jobs/com.lhsystems.iocc.esb.instances.taoff--taoff-pubweather-opsm-air0001--1.0-SNAPSHOT/workspace/taoff-pubweather-opsm-air0001/pom.xml
-e -Dflow-config.mavenpath=/users/maven/tools/maven2/bin/
-Desb.skipExport=true -Desb.failOnExportError=false -U -P development
clean install+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] snapshot com.lhsystems.iocc.build:pom-esbproject:1.0-SNAPSHOT:
checking for updates from plugins
[INFO] snapshot com.lhsystems.iocc.build:pom-esbproject:1.0-SNAPSHOT:
checking for updates from snapshots
[INFO] snapshot com.lhsystems.iocc.build:pom-esbproject:1.0-SNAPSHOT:
checking for updates from releases
[INFO] snapshot com.lhsystems.iocc.build:pom-java:1.0-SNAPSHOT: checking
for updates from plugins
[INFO] snapshot com.lhsystems.iocc.build:pom-java:1.0-SNAPSHOT: checking
for updates from snapshots
[INFO] snapshot com.lhsystems.iocc.build:pom-java:1.0-SNAPSHOT: checking
for updates from releases
WAGON_VERSION: 1.0-beta-2
[INFO] snapshot com.sonicsw.maven.plugins:ESBPlugin:1.0-SNAPSHOT:
checking for updates from plugins
[INFO] snapshot com.sonicsw.maven.plugins:ESBPlugin:1.0-SNAPSHOT:
checking for updates from plugins
[INFO] snapshot com.sonicsw.maven.plugins:ESBPlugin:1.0-SNAPSHOT:
checking for updates from snapshots
[INFO] snapshot com.sonicsw.maven.plugins:ESBPlugin:1.0-SNAPSHOT:
checking for updates from releases
[INFO]
------------------------------------------------------------------------
[INFO] Building Unnamed -
com.lhsystems.iocc.esb.instances.taoff:taoff-pubweather-opsm-air0001:esb:1.0-SNAPSHOT
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] snapshot
com.sonicsw.pso.services:SpringAdapterService:1.0-SNAPSHOT: checking for
updates from plugins
[INFO] snapshot
com.sonicsw.pso.services:SpringAdapterService:1.0-SNAPSHOT: checking for
updates from snapshots
[INFO] snapshot
com.sonicsw.pso.services:SpringAdapterService:1.0-SNAPSHOT: checking for
updates from releases
[INFO] snapshot com.sonicsw.pso.libraries:JMSAdapter:1.0-SNAPSHOT:
checking for updates from plugins
[INFO] snapshot com.sonicsw.pso.libraries:JMSAdapter:1.0-SNAPSHOT:
checking for updates from snapshots
[INFO] snapshot com.sonicsw.pso.libraries:JMSAdapter:1.0-SNAPSHOT:
checking for updates from releases
[INFO] snapshot com.sonicsw.pso.libraries:OracleConnector:1.0-SNAPSHOT:
checking for updates from plugins
[INFO] snapshot com.sonicsw.pso.libraries:OracleConnector:1.0-SNAPSHOT:
checking for updates from snapshots
[INFO] snapshot com.sonicsw.pso.libraries:OracleConnector:1.0-SNAPSHOT:
checking for updates from releases
[INFO] snapshot com.lhsystems.iocc.esb.common:flow-commons:1.0-SNAPSHOT:
checking for updates from plugins
[INFO] snapshot com.lhsystems.iocc.esb.common:flow-commons:1.0-SNAPSHOT:
checking for updates from snapshots
[INFO] snapshot com.lhsystems.iocc.esb.common:flow-commons:1.0-SNAPSHOT:
checking for updates from releases
[INFO] snapshot
com.lhsystems.iocc.esb.common:formats-transform:1.0-SNAPSHOT: checking
for updates from plugins
[INFO] snapshot
com.lhsystems.iocc.esb.common:formats-transform:1.0-SNAPSHOT: checking
for updates from snapshots
[INFO] snapshot
com.lhsystems.iocc.esb.common:formats-transform:1.0-SNAPSHOT: checking
for updates from releases
[INFO] [dependency:unpack-dependencies {execution: unpack}]
[INFO] Unpacking
/users/maven/.m2/repository/com/lhsystems/iocc/esb/common/flow-commons/1.0-SNAPSHOT/flow-commons-1.0-SNAPSHOT.zipto
/users/maven/tools/hudson/jobs/com.lhsystems.iocc.esb.instances.taoff--taoff-pubweather-opsm-air0001--1.0-SNAPSHOT/workspace/taoff-pubweather-opsm-air0001/target/dependency/xar/com/lhsystems/iocc/esb/common/flow-commons/1.0-SNAPSHOT
with Includes null and excludes:null
[INFO] Unpacking
/users/maven/.m2/repository/com/lhsystems/iocc/esb/common/formats-transform/1.0-SNAPSHOT/formats-transform-1.0-SNAPSHOT.zipto
/users/maven/tools/hudson/jobs/com.lhsystems.iocc.esb.instances.taoff--taoff-pubweather-opsm-air0001--1.0-SNAPSHOT/workspace/taoff-pubweather-opsm-air0001/target/dependency/xar/com/lhsystems/iocc/esb/common/formats-transform/1.0-SNAPSHOT
with Includes null and excludes:null
[INFO] Unpacking
/users/maven/.m2/repository/com/sonicsw/pso/services/SpringAdapterService/1.0-SNAPSHOT/SpringAdapterService-1.0-SNAPSHOT.zipto
/users/maven/tools/hudson/jobs/com.lhsystems.iocc.esb.instances.taoff--taoff-pubweather-opsm-air0001--1.0-SNAPSHOT/workspace/taoff-pubweather-opsm-air0001/target/dependency/xar/com/sonicsw/pso/services/SpringAdapterService/1.0-20081210.110945-8
with Includes null and excludes:null
[INFO] [dependency:copy-dependencies {execution: copy}]
[INFO] Copying aqapi-10.2.0.1.jar to
/users/maven/tools/hudson/jobs/com.lhsystems.iocc.esb.instances.taoff--taoff-pubweather-opsm-air0001--1.0-SNAPSHOT/workspace/taoff-pubweather-opsm-air0001/target/dependency/jar/com/oracle/aq/aqapi/10.2.0.1/aqapi-10.2.0.1.jar
[INFO] Copying jta-10.2.0.1.jar to
/users/maven/tools/hudson/jobs/com.lhsystems.iocc.esb.instances.taoff--taoff-pubweather-opsm-air0001--1.0-SNAPSHOT/workspace/taoff-pubweather-opsm-air0001/target/dependency/jar/com/oracle/aq/jta/10.2.0.1/jta-10.2.0.1.jar
[INFO] Copying ojdbc14-10.2.0.1.jar to
/users/maven/tools/hudson/jobs/com.lhsystems.iocc.esb.instances.taoff--taoff-pubweather-opsm-air0001--1.0-SNAPSHOT/workspace/taoff-pubweather-opsm-air0001/target/dependency/jar/com/oracle/aq/ojdbc14/10.2.0.1/ojdbc14-10.2.0.1.jar
[INFO] Copying orai18n-10.2.0.1.jar to
/users/maven/tools/hudson/jobs/com.lhsystems.iocc.esb.instances.taoff--taoff-pubweather-opsm-air0001--1.0-SNAPSHOT/workspace/taoff-pubweather-opsm-air0001/target/dependency/jar/com/oracle/aq/orai18n/10.2.0.1/orai18n-10.2.0.1.jar
[INFO] Copying JMSAdapter-1.0-SNAPSHOT.jar to
/users/maven/tools/hudson/jobs/com.lhsystems.iocc.esb.instances.taoff--taoff-pubweather-opsm-air0001--1.0-SNAPSHOT/workspace/taoff-pubweather-opsm-air0001/target/dependency/jar/com/sonicsw/pso/libraries/JMSAdapter/1.0-20081210.110925-3/JMSAdapter-1.0-SNAPSHOT.jar
[INFO] Copying OracleConnector-1.0-SNAPSHOT.jar to
/users/maven/tools/hudson/jobs/com.lhsystems.iocc.esb.instances.taoff--taoff-pubweather-opsm-air0001--1.0-SNAPSHOT/workspace/taoff-pubweather-opsm-air0001/target/dependency/jar/com/sonicsw/pso/libraries/OracleConnector/1.0-20081210.110934-8/OracleConnector-1.0-SNAPSHOT.jar
[WARNING] Attempting to build MavenProject instance for Artifact
(com.sonicsw.maven.plugins:ESBPlugin:1.0-20081210.110955-8) of type:
maven-plugin; constructing POM artifact instead.
-----------------------------------------------------
this realm = app0.child-container[com.sonicsw.maven.plugins:ESBPlugin]
urls[0] =
file:/users/maven/.m2/repository/com/sonicsw/maven/plugins/ESBPlugin/1.0-SNAPSHOT/ESBPlugin-1.0-SNAPSHOT.jar
urls[1] =
file:/users/maven/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of imports: 6
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
this realm = plexus.core.maven
urls[0] =
file:/users/maven/.m2/repository/org/apache/maven/wagon/wagon-ftp/1.0-beta-2/wagon-ftp-1.0-beta-2.jar
urls[1] =
file:/users/maven/.m2/repository/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar
urls[2] = file:/users/maven/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
urls[3] =
file:/users/maven/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of imports: 6
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
this realm = plexus.core
urls[0] =
file:/users/maven/tools/hudson/war/WEB-INF/lib/maven-interceptor-1.262.jar
urls[1] =
file:/users/maven/tools/apache-maven-2.0.9/lib/maven-2.0.9-uber.jar
Number of imports: 6
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
-----------------------------------------------------
[HUDSON] Archiving
/users/maven/tools/hudson/jobs/com.lhsystems.iocc.esb.instances.taoff--taoff-pubweather-opsm-air0001--1.0-SNAPSHOT/workspace/taoff-pubweather-opsm-air0001/pom.xml
to
/users/maven/tools/hudson/jobs/com.lhsystems.iocc.esb.instances.taoff--taoff-pubweather-opsm-air0001--1.0-SNAPSHOT/modules/com.lhsystems.iocc.esb.instances.taoff$taoff-pubweather-opsm-air0001/builds/2008-12-10_11-10-10/archive/com.lhsystems.iocc.esb.instances.taoff/taoff-pubweather-opsm-air0001/1.0-SNAPSHOT/pom.xml
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'com.sonicsw.maven.plugins:ESBPlugin:1.0-SNAPSHOT:esb-export': Unable to
find the mojo
'com.sonicsw.maven.plugins:ESBPlugin:1.0-SNAPSHOT:esb-export' in the
plugin 'com.sonicsw.maven.plugins:ESBPlugin'
org/codehaus/plexus/util/xml/XmlStreamReader
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
in the plugin manager executing goal
'com.sonicsw.maven.plugins:ESBPlugin:1.0-SNAPSHOT:esb-export': Unable to
find the mojo
'com.sonicsw.maven.plugins:ESBPlugin:1.0-SNAPSHOT:esb-export' in the
plugin 'com.sonicsw.maven.plugins:ESBPlugin'
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:562)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at
org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:42)
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:287)
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:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at hudson.maven.agent.Main.launch(Main.java:134)
at hudson.maven.MavenBuilder.call(MavenBuilder.java:139)
at
hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:542)
at
hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:488)
at hudson.remoting.UserRequest.perform(UserRequest.java:69)
at hudson.remoting.UserRequest.perform(UserRequest.java:23)
at hudson.remoting.Request$2.run(Request.java:213)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.maven.plugin.PluginManagerException: Unable to
find the mojo
'com.sonicsw.maven.plugins:ESBPlugin:1.0-SNAPSHOT:esb-export' in the
plugin 'com.sonicsw.maven.plugins:ESBPlugin'
at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:618)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:429)
at
hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:159)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
... 28 more
Caused by:
org.codehaus.plexus.component.repository.exception.ComponentLookupException:
Unable to lookup component
'org.apache.maven.plugin.Mojocom.sonicsw.maven.plugins:ESBPlugin:1.0-SNAPSHOT:esb-export',
it could not be created
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:335)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
at hudson.maven.agent.ContainerFilter.lookup(ContainerFilter.java:66)
at
hudson.maven.agent.PluginManagerInterceptor$1$1.lookup(PluginManagerInterceptor.java:72)
at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:609)
... 31 more
Caused by:
org.codehaus.plexus.component.factory.ComponentInstantiationException:
Could not instanciate component: role: 'null', implementation:
'com.sonicsw.maven.plugins.esb.MavenESBExport'
at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeException(JavaComponentFactory.java:77)
at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:62)
at
org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(DefaultPlexusContainer.java:1464)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:93)
at
org.codehaus.plexus.component.manager.PerLookupComponentManager.getComponent(PerLookupComponentManager.java:48)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
... 35 more
Caused by: java.lang.NoClassDefFoundError:
org/codehaus/plexus/util/xml/XmlStreamReader
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:44)
... 39 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Wed Dec 10 11:10:20 GMT 2008
[INFO] Final Memory: 15M/84M
[INFO]
------------------------------------------------------------------------
channel stopped
finished: FAILURE
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]