maven-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hudson <Hud...@sonatype.org>
Subject Build failed in Hudson: ant-tasks » Maven Ant Task #43
Date Mon, 28 Jul 2008 22:53:52 GMT
See http://ci.sonatype.org/job/ant-tasks/org.apache.maven$maven-ant-tasks/43/changes

Changes:

[Herve Boutemy] removed tabs and spaces in empty lines (merged from 2.0.x branch r680537)

[Herve Boutemy] workaround a bug in clirr with some hidden plexus classes (merged from 2.0.x
branch r680526)

------------------------------------------
[...truncated 352 lines...]
762b downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom
4K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom
7K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.jar
184K downloaded
Downloading: http://localhost:8081/content/groups/public/velocity/velocity-dep/1.4/velocity-dep-1.4.jar
505K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/shared/maven-downloader/1.1/maven-downloader-1.1.jar
6K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-velocity/1.1.3/plexus-velocity-1.1.3.jar
7K downloaded
Downloading: http://localhost:8081/content/groups/public/commons-collections/commons-collections/2.0/commons-collections-2.0.jar
88K downloaded
Downloading: http://localhost:8081/content/groups/public/velocity/velocity/1.4/velocity-1.4.jar
352K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-resources/1.0-alpha-4/plexus-resources-1.0-alpha-4.jar
16K downloaded
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
Downloading: http://localhost:8081/content/groups/public/org/apache/apache-jar-resource-bundle/1.3/apache-jar-resource-bundle-1.3.jar
10K downloaded
[WARNING] Attempting to build MavenProject instance for Artifact (org.apache.maven:maven-settings:2.1-SNAPSHOT)
of type: jar; constructing POM artifact instead.
[WARNING] Invalid project model for artifact [maven-settings:org.apache.maven:2.1-SNAPSHOT].
It will be ignored by the remote resources Mojo.
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-project/2.0/maven-project-2.0.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-profile/2.0/maven-profile-2.0.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-model/2.0/maven-model-2.0.pom
2K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom
4K downloaded
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'org.apache.maven:maven-settings:pom:2.1-SNAPSHOT:compile' is invalid. It
will be ignored for artifact resolution. Reason: Failed to validate POM for project org.apache.maven:maven-settings
at Artifact [org.apache.maven:maven-settings:pom:2.1-SNAPSHOT:compile]
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.pom
624b downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-compiler/1.5.3/plexus-compiler-1.5.3.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.pom
634b downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.pom
797b downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-compilers/1.5.3/plexus-compilers-1.5.3.pom
7K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
918b downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
159K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
19K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
5K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
13K downloaded
[INFO] [compiler:compile]
[INFO] Compiling 18 source files to http://ci.sonatype.org/job/ant-tasks/org.apache.maven$maven-ant-tasks/ws/target/classes

[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'org.apache.maven:maven-settings:pom:2.1-SNAPSHOT:compile' is invalid. It
will be ignored for artifact resolution. Reason: Failed to validate POM for project org.apache.maven:maven-settings
at Artifact [org.apache.maven:maven-settings:pom:2.1-SNAPSHOT:compile]
Downloading: http://localhost:8081/content/groups/public/junit/junit/3.8.1/junit-3.8.1.jar
118K downloaded
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to http://ci.sonatype.org/job/ant-tasks/org.apache.maven$maven-ant-tasks/ws/target/test-classes

[WARNING] POM for 'org.apache.maven:maven-settings:pom:2.1-SNAPSHOT:compile' is invalid. It
will be ignored for artifact resolution. Reason: Failed to validate POM for project org.apache.maven:maven-settings
at Artifact [org.apache.maven:maven-settings:pom:2.1-SNAPSHOT:compile]
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/surefire/surefire-booter/2.3/surefire-booter-2.3.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/surefire/surefire-api/2.3/surefire-api-2.3.pom
887b downloaded
Downloading: http://localhost:8081/content/groups/public/commons-lang/commons-lang/2.1/commons-lang-2.1.pom
9K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.pom
767b downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/surefire/surefire-booter/2.3/surefire-booter-2.3.jar
28K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/surefire/surefire-api/2.3/surefire-api-2.3.jar
49K downloaded
Downloading: http://localhost:8081/content/groups/public/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
202K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
138K downloaded
[INFO] [surefire:test]
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
190K downloaded
Downloading: http://localhost:8081/content/groups/public/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar
36K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/surefire/surefire-junit/2.3/surefire-junit-2.3.pom
583b downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/surefire/surefire-providers/2.3/surefire-providers-2.3.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/surefire/surefire-junit/2.3/surefire-junit-2.3.jar
10K downloaded
[INFO] Surefire report directory: http://ci.sonatype.org/job/ant-tasks/org.apache.maven$maven-ant-tasks/ws/target/surefire-reports


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/shared/maven-shared-components/3/maven-shared-components-3.pom
1K downloaded
[HUDSON] Recording test results
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar
9K downloaded
[INFO] [jar:jar]
[INFO] Building jar: http://ci.sonatype.org/job/ant-tasks/org.apache.maven$maven-ant-tasks/ws/target/maven-ant-tasks-2.1-SNAPSHOT.jar

[WARNING] POM for 'org.apache.maven:maven-settings:pom:2.1-SNAPSHOT:compile' is invalid. It
will be ignored for artifact resolution. Reason: Failed to validate POM for project org.apache.maven:maven-settings
at Artifact [org.apache.maven:maven-settings:pom:2.1-SNAPSHOT:compile]
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven/2.0.6/maven-2.0.6.pom
8K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.pom
2K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.pom
2K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom
3K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.pom
2K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-artifact/2.0.6/maven-artifact-2.0.6.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/asm/asm/3.1/asm-3.1.pom
278b downloaded
Downloading: http://localhost:8081/content/groups/public/asm/asm-parent/3.1/asm-parent-3.1.pom
4K downloaded
Downloading: http://localhost:8081/content/groups/public/asm/asm-util/3.1/asm-util-3.1.pom
430b downloaded
Downloading: http://localhost:8081/content/groups/public/asm/asm-tree/3.1/asm-tree-3.1.pom
425b downloaded
Downloading: http://localhost:8081/content/groups/public/asm/asm-commons/3.1/asm-commons-3.1.pom
436b downloaded
Downloading: http://localhost:8081/content/groups/public/jdom/jdom/1.0/jdom-1.0.pom
1K downloaded
Downloading: http://localhost:8081/content/groups/public/asm/asm/3.1/asm-3.1.jar
42K downloaded
Downloading: http://localhost:8081/content/groups/public/asm/asm-util/3.1/asm-util-3.1.jar
33K downloaded
Downloading: http://localhost:8081/content/groups/public/asm/asm-tree/3.1/asm-tree-3.1.jar
21K downloaded
Downloading: http://localhost:8081/content/groups/public/asm/asm-commons/3.1/asm-commons-3.1.jar
31K downloaded
Downloading: http://localhost:8081/content/groups/public/jdom/jdom/1.0/jdom-1.0.jar
149K downloaded
[INFO] [shade:shade {execution: default}]
[INFO] Including org.apache.maven:maven-project:jar:2.1-SNAPSHOT in the shaded jar.
[INFO] Including org.apache.maven:maven-workspace:jar:2.1-SNAPSHOT in the shaded jar.
[INFO] Including org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-48 in the shaded
jar.
[INFO] Including aspectj:aspectjrt:jar:1.5.3 in the shaded jar.
[INFO] Including org.codehaus.plexus:plexus-utils:jar:1.5.4 in the shaded jar.
[INFO] Including org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-13 in the shaded jar.
[INFO] Including org.apache.xbean:xbean-reflect:jar:3.4 in the shaded jar.
[INFO] Including log4j:log4j:jar:1.2.12 in the shaded jar.
[INFO] Including commons-logging:commons-logging-api:jar:1.1 in the shaded jar.
[INFO] Including org.apache.maven:maven-profile:jar:2.1-SNAPSHOT in the shaded jar.
[INFO] Including org.apache.maven:maven-model:jar:2.1-SNAPSHOT in the shaded jar.
[INFO] Including org.codehaus.plexus:plexus-interpolation:jar:1.1 in the shaded jar.
[INFO] Including org.apache.maven.artifact:maven-artifact:jar:3.0-SNAPSHOT in the shaded jar.
[INFO] Including org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-3 in the shaded jar.
[INFO] Including org.codehaus.woodstox:wstx-asl:jar:3.2.6 in the shaded jar.
[INFO] Including stax:stax-api:jar:1.0.1 in the shaded jar.
[INFO] Including org.apache.maven.shared:maven-shared-model:jar:1.0-SNAPSHOT in the shaded
jar.
[INFO] Including javax.xml.stream:stax-api:jar:1.0-2 in the shaded jar.
[INFO] Including org.apache.maven:maven-settings:jar:2.1-SNAPSHOT in the shaded jar.
[INFO] Including org.apache.maven.wagon:wagon-file:jar:1.0-beta-3 in the shaded jar.
[INFO] Including org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-3 in the shaded
jar.
[INFO] Including org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-3 in the shaded jar.
[INFO] Including nekohtml:xercesMinimal:jar:1.9.6.2 in the shaded jar.
[INFO] Including nekohtml:nekohtml:jar:1.9.6.2 in the shaded jar.
[INFO] Excluding ant:ant:jar:1.6.2 from the shaded jar.
[HUDSON] Archiving http://ci.sonatype.org/job/ant-tasks/org.apache.maven$maven-ant-tasks/ws/pom.xml
 to /home/j2ee-hudson/.hudson/jobs/ant-tasks/modules/org.apache.maven$maven-ant-tasks/builds/2008-07-28_17-53-19/archive/org.apache.maven/maven-ant-tasks/2.1-SNAPSHOT/pom.xml
[HUDSON] Archiving http://ci.sonatype.org/job/ant-tasks/org.apache.maven$maven-ant-tasks/ws/target/maven-ant-tasks-2.1-SNAPSHOT.jar
 to /home/j2ee-hudson/.hudson/jobs/ant-tasks/modules/org.apache.maven$maven-ant-tasks/builds/2008-07-28_17-53-19/archive/org.apache.maven/maven-ant-tasks/2.1-SNAPSHOT/maven-ant-tasks-2.1-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating shaded jar.

Embedded error: duplicate entry: javax/xml/stream/EventFilter.class
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error creating shaded jar.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
	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:597)
	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:133)
	at hudson.maven.MavenBuilder.call(MavenBuilder.java:135)
	at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:536)
	at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:482)
	at hudson.remoting.UserRequest.perform(UserRequest.java:69)
	at hudson.remoting.UserRequest.perform(UserRequest.java:23)
	at hudson.remoting.Request$2.run(Request.java:206)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error creating shaded jar.
	at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute(ShadeMojo.java:327)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
	at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:159)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
	... 28 more
Caused by: java.util.zip.ZipException: duplicate entry: javax/xml/stream/EventFilter.class
	at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:175)
	at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:90)
	at org.apache.maven.plugins.shade.DefaultShader.addRemappedClass(DefaultShader.java:182)
	at org.apache.maven.plugins.shade.DefaultShader.shade(DefaultShader.java:104)
	at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute(ShadeMojo.java:285)
	... 31 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Mon Jul 28 17:53:52 CDT 2008


Mime
View raw message