You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2009/04/10 13:05:31 UTC

[jira] Resolved: (SMX4-270) Features build fails on Hudson when building the assembly

     [ https://issues.apache.org/activemq/browse/SMX4-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen resolved SMX4-270.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: specs-1.4.0)
                   4.1.0

It looks like the assembly plugin was resolving {{../examples/bridge/}} starting from the root of the features project instead of from the assembly module directory.
I could reproduce the issue on my machine when building from the features directory instead of the assembly directory and http://svn.eu.apache.org/viewvc?view=rev&revision=763910 fixed the issue for me.

> Features build fails on Hudson when building the assembly
> ---------------------------------------------------------
>
>                 Key: SMX4-270
>                 URL: https://issues.apache.org/activemq/browse/SMX4-270
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>            Priority: Minor
>             Fix For: 4.1.0
>
>
> The build fails with 
> {noformat}
> [INFO] [assembly:single {execution: unix-bin}]
> [INFO] Initializing assembly filters...
> [HUDSON] Archiving /home/hudson/hudson-slave/workspace/ServiceMix4-Features/smx4-features/assembly/pom.xml to /export/home/hudson/hudson/jobs/ServiceMix4-Features/modules/org.apache.servicemix$apache-servicemix/builds/2009-04-09_06-22-08/archive/org.apache.servicemix/apache-servicemix/4.1.0-SNAPSHOT/pom.xml
> [HUDSON] Archiving /home/hudson/hudson-slave/workspace/ServiceMix4-Features/smx4-features/assembly/target/classes/features.xml to /export/home/hudson/hudson/jobs/ServiceMix4-Features/modules/org.apache.servicemix$apache-servicemix/builds/2009-04-09_06-22-08/archive/org.apache.servicemix/apache-servicemix/4.1.0-SNAPSHOT/features.xml
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] File to filter not found: ../examples/bridge/README.txt (No such file or directory)
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: File to filter not found: ../examples/bridge/README.txt (No such file or directory)
> 	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:65)
> 	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:158)
> 	at hudson.maven.MavenBuilder.call(MavenBuilder.java:162)
> 	at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:579)
> 	at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:525)
> 	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: File to filter not found: ../examples/bridge/README.txt (No such file or directory)
> 	at org.apache.maven.plugin.assembly.AbstractAssemblyMojo.filterFile(AbstractAssemblyMojo.java:1710)
> 	at org.apache.maven.plugin.assembly.AbstractAssemblyMojo.processFileList(AbstractAssemblyMojo.java:1280)
> 	at org.apache.maven.plugin.assembly.AbstractAssemblyMojo.createArchive(AbstractAssemblyMojo.java:325)
> 	at org.apache.maven.plugin.assembly.AbstractAssemblyMojo.createAssembly(AbstractAssemblyMojo.java:261)
> 	at org.apache.maven.plugin.assembly.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:241)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
> 	at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
> 	... 28 more
> Caused by: java.io.FileNotFoundException: ../examples/bridge/README.txt (No such file or directory)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:106)
> 	at java.io.FileReader.<init>(FileReader.java:55)
> 	at org.apache.maven.plugin.assembly.AbstractAssemblyMojo.filterFile(AbstractAssemblyMojo.java:1671)
> 	... 35 more
> [INFO] --------------------------------
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.