[ https://jira.codehaus.org/browse/MASSEMBLY-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=344208#comment-344208 ]
Karl Heinz Marbaise commented on MASSEMBLY-695: ----------------------------------------------- Please check the project if it works on command line with this configuration? If not i would ask why do you have defined outputDirectory which uses something from Eclipse (workspaceDir) ? Can you explain what you like to achieve? If it works than it's really m2e problem otherwise you can fill in more details {{mvm -X clean package}} output and in which Maven version you have used etc. > 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 > > 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)