maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob S (JIRA)" <j...@codehaus.org>
Subject [jira] (MASSEMBLY-695) Build fails with Maven 3.2.1 and reactor/multi-module project
Date Fri, 04 Apr 2014 13:36:59 GMT

     [ https://jira.codehaus.org/browse/MASSEMBLY-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rob S updated MASSEMBLY-695:
----------------------------

    Priority: Major  (was: Critical)

> 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)

Mime
View raw message