camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <james.strac...@gmail.com>
Subject Re: Camel 2.0 - Asembly fails on hudson
Date Mon, 23 Feb 2009 09:26:21 GMT
BTW I added the packaging to the camel-web-standalone. BTW
camel-web-standalone shouldn't be creating an OSGi bundle; so
hopefully it shouldn't need the OSGi properties etc

2009/2/23 Claus Ibsen <claus.ibsen@gmail.com>:
> Hi
>
> Hudson have reported assembly error with Camel since build #23
> http://hudson.zones.apache.org/hudson/job/Camel/23/
>
> I look in the changelog and camel-web-standalone was added in this
> build over #22 that is the last good.
>
> The pom.xml file for camel-web-standalone looks a bit odd
> - packaging is missing, should it be a bundle / jar?
> - osgi exports is missing if bundle
> - it has some assembly attach phase in the bottom (that I think could
> be the issue)
>
> Could someone with solid Maven expertice look into this?
>
> The error from Hudson is:
> ===================
> INFO] ------------------------------------------------------------------------
> [INFO] Building Camel :: Assembly
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> /home/hudson/hudson-slave/workspace/Camel/camel-trunk/apache-camel/target
> [INFO] [site:attach-descriptor]
> [INFO] [dependency:copy {execution: copy-bundle-jar}]
> [INFO] Configured Artifact: org.apache.camel:camel-bundle:2.0-SNAPSHOT:jar
> [INFO] snapshot org.apache.camel:camel-bundle:2.0-SNAPSHOT: checking
> for updates from apache.snapshots
> [INFO] Copying camel-bundle-2.0-SNAPSHOT.jar to
> /home/hudson/hudson-slave/workspace/Camel/camel-trunk/apache-camel/target/apache-camel-2.0-SNAPSHOT.jar
> [INFO] [assembly:single {execution: unix-bin}]
> [INFO] Reading assembly descriptor: src/main/descriptors/unix-bin.xml
> [HUDSON] Archiving
> /home/hudson/hudson-slave/workspace/Camel/camel-trunk/apache-camel/pom.xml
> to /export/home/hudson/hudson/jobs/Camel/modules/org.apache.camel$apache-camel/builds/2009-02-20_12-01-32/archive/org.apache.camel/apache-camel/2.0-SNAPSHOT/pom.xml
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error reading assemblies: Error reading component descriptor
>
> Unrecognised tag: 'assembly' (position: START_TAG seen ... permissions
> and\n    limitations under the License.\n-->\n<assembly>... @18:11)
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error reading
> assemblies: Error reading component descriptor
>        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: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:135)
>        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.MojoExecutionException: Error
> reading assemblies: Error reading component descriptor
>        at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:300)
>        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: org.apache.maven.plugin.assembly.io.AssemblyReadException:
> Error reading component descriptor
>        at org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.mergeComponentsWithMainAssembly(DefaultAssemblyReader.java:463)
>        at org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.readAssembly(DefaultAssemblyReader.java:366)
>        at org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.addAssemblyFromDescriptor(DefaultAssemblyReader.java:332)
>        at org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.readAssemblies(DefaultAssemblyReader.java:140)
>        at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:296)
>        ... 31 more
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
> Unrecognised tag: 'assembly' (position: START_TAG seen ... permissions
> and\n    limitations under the License.\n-->\n<assembly>... @18:11)
>        at org.apache.maven.plugin.assembly.model.io.xpp3.ComponentXpp3Reader.parseComponent(ComponentXpp3Reader.java:467)
>        at org.apache.maven.plugin.assembly.model.io.xpp3.ComponentXpp3Reader.read(ComponentXpp3Reader.java:1662)
>        at org.apache.maven.plugin.assembly.model.io.xpp3.ComponentXpp3Reader.read(ComponentXpp3Reader.java:1676)
>        at org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.mergeComponentsWithMainAssembly(DefaultAssemblyReader.java:455)
>        ... 35 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 53 minutes 9 seconds
> [INFO] Finished at: Fri Feb 20 05:04:17 PST 2009
> [INFO] Final Memory: 112M/183M
> [INFO] ------------------------------------------------------------------------
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
>



-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Mime
View raw message