You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl-Heinz Marbaise (JIRA)" <ji...@codehaus.org> on 2014/07/03 23:43:10 UTC

[jira] (MASSEMBLY-703) Creating assembly (within package phase) of a multi module project before running tests fails

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

Karl-Heinz Marbaise commented on MASSEMBLY-703:
-----------------------------------------------

Created [Github Project from it|https://github.com/khmarbaise/massembly/tree/master/massembly-703] and unfortunately i can reproduce the problem. That's bad.

> Creating assembly (within package phase) of a multi module project before running tests fails
> ---------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-703
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-703
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3, 2.4
>            Reporter: Jörg Eichhorn
>         Attachments: maven_build.log, maven-multimodule-test.tar.gz
>
>
> When running a maven multi module project fails, when running tests after the package phase:
> Running: {{mvn clean package test}} 
> instead of: {{mvn clean test package}}
> the build fails with the following error (see detail trace in attached file {{maven_build.log}}:
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (make-assembly) on project child2: Failed to create assembly: Error adding file 'test:child1:jar:1.0-SNAPSHOT' to archive: /Users/joerg/src/maven-multimodule-test/child1/target/classes isn't a file. -> [Help 1]
> {code}
> Please find the attached sample project (file: {{maven-multimodule-test.tar.gz}}) to reproduce the problem.
> Project structure:
> * Parent (Packaging: pom)
> ** Child1 (Packaging: jar)
> ** Child2 (Packaging: jar; Assembly to create distribution tar.gz)
> *** Dependency to Child1



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