Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Auto Closed
-
2.5.1, 2.6
-
None
-
None
-
Maven 3.0.4, Mac OS X and Windows XP
Description
During a multi-module build where one project unpacks the war from an earlier project (example attached), performing a "mvn clean test" fails with
"MojoExecutionException: Artifact has not been packaged yet. When used on reactor artifact, unpack should be executed after packaging: see MDEP-98."
at AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:229)
#This will pass
mvn clean install
mvn test
- This will fail
mvn clean
mvn test - although the custom-portal project failed, it passes when run by itself
cd custom-portal
mvn test
Attachments
Attachments
Issue Links
- relates to
-
MDEP-187 dependency:copy fails when invoked from m2e with workspace resolution enabled, or more generally when copying within reactor for phases earlier than package
- Open