Copy-dependencies relies on maven to generate the list of dependencies
to copy. I suspect this is an issue in the maven dependency resolution,
where sibling dependencies are replaced with class path references
(example ../api/target/classes). File a jira under the mojo project and
I'll take a look. 

-----Original Message-----
From: Stephen Duncan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 07, 2006 7:00 PM
To: [email protected]
Subject: [mojo-user] dependency-maven-plugin and MultiProject

I noticed this for the first time today.

Using the following structure

service
  - api
  - impl

  I have the dependency-maven-plugin:copy-dependencies goal attached the
package phase of the impl module.

"impl" has a dependency on "api".  When I run "mvn package" from the
"impl" folder, it correctly includes the "api" jar in the
target/dependency folder.

When I run "mvn package" from the "service" folder, the "api" jar is not
included in the impl/target/dependency folder.

Is there a bug already in the system for this?  If not, where do bugs
for the dependency-maven-plugin go?  I don't see a component for this
plugin at http://jira.codehaus.org/browse/MOJO

--
Stephen Duncan Jr
www.stephenduncanjr.com


Reply via email to