Is there a way to copy dependencies of a project into some directory when maven 1 (not maven 2) is used as build tool?
I know that for Maven 2 there exists a dependency plugin but I cannot find one for maven 1.
What is the simplest way to copy all dependency jars to a folder?
You will have to use Jelly to do that, using something like this:
<j:forEach var="lib" items="${pom.artifacts}">
<ant:copy todir="${your.target.dir}" file="${lib.path}"/>
</j:forEach>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.