I mis-spoke earlier, the assembly doesn't seem to do what I would want.
I did try this:
Pom.xml
===============
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>dependency-maven-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>compile</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>src/main/resources/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
================
But even though I specify it in the compile-phase, the /lib dir is NOT
included in the package...until the SECOND time package is run. Is that
a bug?
Also, there doesn't seem to be a configuration for <scope>, should there
be or is that not the intent of this plugin?
-D
> -----Original Message-----
> From: Yann Le Du [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 10, 2006 5:52 PM
> To: Maven Users List
> Subject: Re: [m2] copy contents of maven.runtime.classpath
> for packaging
>
> Hi Darren,
>
> Maybe you can use
> http://mojo.codehaus.org/dependency-maven-plugin/ in a phase
> before the one where you run your ant-run ?
>
> HTH,
> --
> Yann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]