> How can I get maven to copy my built artifact.jar plus the 
> required run-time
> dependencies to a given location?
> 

You should take a look to uberjar plugin

> Also it is possible to iterate over each dependency some how 
> to generate a
> wrapper script adding each .jar to the classpath so it can be run as a
> utility?
> 

This script fragment, taken from my maven.xml file, iterates through all the
project dependencies, and unjar it to the 'foo' directory :

      <j:forEach var="lib" items="${pom.artifacts}">
        <unjar dest="foo" src="${lib.path}"/>
      </j:forEach>
 
> No such luck with any docs yet, but I'll keep looking.
> 
> Thanks
> 
> Kevin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to