赞
踩
mvn dependency:copy-dependencies -DoutputDirectory=target/lib
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy</id> <phase>package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory> ${project.build.directory}/lib </outputDirectory> </configuration> </execution> </executions> </plugin>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。