Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Duplicate
-
1.0
-
None
-
None
-
None
-
WinXP Pro SP2
Mustang b82
NetBeans 5.5
Description
A parent POM has 3 modules - core, example.
dependency-maven-plugin with unpack-dependencies is declared with outputDirectory set to ${project.build.outputDirectory}.
(antrun [echo]s are introduced to inspect the project variables here for debugging purpose.)
The 1st module (core) builds with the correct dependencies (jdom) unpacked:
[INFO]Executing tasks
[echo] Runtime Dependencies:
[echo] [Dependency
[echo] Compile Dependencies:
[echo] [Dependency {groupId=jdom, artifactId=jdom, version=1.0, type=jar}
]
[INFO]Executed tasks
[dependency:unpack-dependencies
]
[INFO]Expanding: F:\maven2-plugins\jdom\jdom\1.0\jdom-1.0.jar into F:\projects\NapkinLAF\napkin\core\target\classes
The 2nd module (example) builds with the wrong dependencies (junit, jdom) instead of the correct ones (core, jdom) unpacked:
[INFO]Executing tasks
[echo] Runtime Dependencies:
[echo] [Dependency
[echo] Compile Dependencies:
[echo] [Dependency {groupId=net.sourceforge.napkinlaf, artifactId=napkinlaf, version=1.1-SNAPSHOT, type=jar}
, Dependency
{groupId=jdom, artifactId=jdom, version=1.0, type=jar}]
[INFO]Executed tasks
[dependency:unpack-dependencies
]
[INFO]Expanding: F:\maven2-plugins\junit\junit\3.8.1\junit-3.8.1.jar into F:\projects\NapkinLAF\napkin\example\target\classes
[INFO]Expanding: F:\maven2-plugins\jdom\jdom\1.0\jdom-1.0.jar into F:\projects\NapkinLAF\napkin\example\target\classes
Attachments
Issue Links
- duplicates
-
MDEP-44 unpacking/copying of attached artifacts from reactor projects doesn't work
- Closed