Jörg Eichhorn created MASSEMBLY-703: ---------------------------------------
Summary: 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.4, 2.3 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)