[ http://jira.codehaus.org/browse/MDEP-23?page=all ]
Brian Fox closed MDEP-23.
-------------------------
Resolution: Duplicate
junit is included transitively from jdrom. The napkinlaf artifact is missing
due to MDEP-44
> unpack-dependencies unpacks the wrong dependencies
> --------------------------------------------------
>
> Key: MDEP-23
> URL: http://jira.codehaus.org/browse/MDEP-23
> Project: Maven 2.x Dependency Plugin
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: WinXP Pro SP2
> Mustang b82
> NetBeans 5.5
> Reporter: Alex Lam S.L.
> Assigned To: Brian Fox
> Priority: Blocker
>
> 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 {groupId=jdom, artifactId=jdom, version=1.0,
> type=jar}]
> [echo] Compile Dependencies:
> [echo] [Dependency {groupId=jdom, artifactId=jdom, version=1.0,
> type=jar}]
> [INFO]Executed tasks
> [dependency:unpack-dependencies {execution: 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 {groupId=net.sourceforge.napkinlaf,
> artifactId=napkinlaf, version=1.1-SNAPSHOT, type=jar}, Dependency
> {groupId=jdom, artifactId=jdom, version=1.0, type=jar}]
> [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 {execution: 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira