Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.2-beta-3
-
Fix Version/s: None
-
Component/s: dependencySet
-
Labels:None
-
Environment:Maven 2.1.0, Eclipse 3.4 Sr2, m2Eclipse 0.9.8
-
Number of attachments :
Description
If you have two projects, with one (B) depending on another (A), and in your assembly.xml file you define the following dependencySet:
<dependencySet> <outputDirectory>lib/</outputDirectory> <scope>runtime</scope> <useProjectArtifact>false</useProjectArtifact> <useTransitiveDependencies>true</useTransitiveDependencies> </dependencySet>
And the workspace resolution been activated, during the package phase an error will occur showing that is not possible to copy the "target/classes" file from project A. Because "target/classes" isn't a file. This error only occurs if the workspace resolution is enabled.
Issue Links
- is related 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
-