You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rob S (JIRA)" <ji...@codehaus.org> on 2014/04/04 14:36:59 UTC
[jira] (MASSEMBLY-695) Build fails with Maven 3.2.1 and
reactor/multi-module project
[ https://jira.codehaus.org/browse/MASSEMBLY-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob S updated MASSEMBLY-695:
----------------------------
Summary: Build fails with Maven 3.2.1 and reactor/multi-module project (was: Build fails with Maven 3.2.1 and reactor project)
> 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)