[
https://jira.codehaus.org/browse/MASSEMBLY-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob S updated MASSEMBLY-695:
----------------------------
Description:
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...
was:
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):
<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>
My project is a multimodule project that should copy all artifacts to a
bin-folder...
> Build fails with Maven 3.2.1 and reactor 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)