jimpo wrote:
> I have a maven project which produces a foo.jar as a result. 
> 
>     <packaging>jar</packaging>
> 
> My code depends on several jars (javax.persistence, commons-beanutils, ...).
> These JARs are (of course) not included in my outcome foo.jar. When I deploy
> the foo.jar to target environment, I need to copy all dependent JARs to
> classpath.
> 
> I could copy them manually from my local repository, sure....but how do I
> tell Maven "copy all dependent JARs to location x"?

Have a look at the maven-dependency-plugin
(http://maven.apache.org/plugins/maven-dependency-plugin/)

-dirk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to