maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MASSEMBLY-703) Creating assembly (within package phase) of a multi module project before running tests fails
Date Fri, 16 Mar 2018 22:40:13 GMT

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

Michael Osipov closed MASSEMBLY-703.
------------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If
you think this issue still applies, retest your problem with the most recent version of Maven
and the affected component, reopen and post your results.

> Creating assembly (within package phase) of a multi module project before running tests
fails
> ---------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-703
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-703
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3, 2.4
>            Reporter: Jörg Eichhorn
>            Priority: Major
>         Attachments: maven-multimodule-test.tar.gz, maven_build.log
>
>
> 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
(v7.6.3#76005)

Mime
View raw message