Hello Craig,

You can use the maven-dependency-plugin's copy/copy-dependencies goals for
that.  But if you just need the classpath, try `mvn
dependency:build-classpath'.

Please read here http://maven.apache.org/plugins/maven-dependency-plugin

Cheers!
Nap

On 4/14/07, Craig L Russell <[EMAIL PROTECTED]> wrote:

I'm trying to have maven build a target/lib that contains all of the
runtime dependencies of the project so I can use lib/*.jar as an ant
classpath.

Is there a plugin that I can use that packages the dependencies into
target/lib? I know that some plugins package this as part of their
execution model but can't exactly figure out what I need to do to
make this happen outside the plugin.

Thanks,

Craig

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!



Reply via email to