[ 
https://jira.codehaus.org/browse/MASSEMBLY-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=344169#comment-344169
 ] 

Rob S commented on MASSEMBLY-695:
---------------------------------

Hmm I'm working in eclipse and if I uncheck "resolve workspace artifacts" the 
build succeeds... 
Maybe this is more am m2e issue...?

> Build fails with Maven 3.2.1 and reactor/multi-module project
> -------------------------------------------------------------
>
>                 Key: MASSEMBLY-695
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-695
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>            Reporter: Rob S
>            Priority: Critical
>
> After upgrading to Maven 3.2.1 my builds fail with this error:
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-assembly-plugin:2.4:single (create-bin-folder) 
> on project BuildAssembly: Failed to create assembly: Error adding file 
> 'x.y.z:xyz:jar:1.0.0-SNAPSHOT' to archive: C:\xyz\target\classes isn't a 
> file. -> [Help 1]
> The assembly plugin is invoked at the end of package phase with this config 
> (that works fine with Maven <= 3.1.1):
> {code}
> <plugin>
>                               <artifactId>maven-assembly-plugin</artifactId>
>                               <executions>
>                                       <execution>
>                                               <id>create-bin-folder</id>
>                                               <phase>package</phase>
>                                               <goals>
>                                                       <goal>single</goal>
>                                               </goals>
>                                               <configuration>
>                                                       
> <appendAssemblyId>false</appendAssemblyId>
>                                                       
> <finalName>bin</finalName>
>                                                       
> <outputDirectory>${workspaceDir}</outputDirectory>
>                                                       <descriptors>
>                                                               
> <descriptor>src/assembly-descriptor.xml</descriptor>
>                                                       </descriptors>
>                                               </configuration>
>                                       </execution>
>                               </executions>
>                       </plugin>
> {code}
> My project is a multimodule project that should copy all artifacts to a 
> bin-folder...



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to