Using the maven-dependency-plugin

2008-03-18 Thread Shalini Muthukrishnan
Hi, I am using the maven-dependency-plugin unpack-dependencies to unpack the dependencies into some directory in my target directory. When i have multiple executions, the first unpack-dependencies execution unpacks the junit jar by default into my output directory. This does not happen for

Re: Using the maven-dependency-plugin

2008-03-18 Thread Shalini Muthukrishnan
I have multiple executions because i want 2 different archives to be created with the same dependencies, but with different set of files. As in, i exclude some in one and include some in the other. I have attached my pom.xml herewith. Thanks, Shalini. Brian E. Fox wrote: What happens for

Re: Using the maven-dependency-plugin

2008-03-18 Thread Shalini Muthukrishnan
The outcome of a mvn install is the following: $ ls src/main/java/__ds_archive com junit META-INF org $ ls src/main/java/__cp_archive com META-INF As you can see from above, the 2 extra junit packages have been unpacked in the case of __ds_archive from nowhere. The dependencies mentioned

Re: Using the maven-dependency-plugin

2008-03-18 Thread Shalini Muthukrishnan
The top level parent's pom has a dependency listed on junit. Does this affect? Brian E. Fox wrote: Are there any dependencies listed in the parent of the attached pom? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 8:24 PM To:

Question on using maven-jar-plugin

2008-03-18 Thread Shalini Muthukrishnan
I use the maven-jar-plugin in my module, as follows: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId executions execution idds_build-jar/id phasepackage/phase goals goaljar/goal