Maven Copy Dependencies


/ Published in: Java
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <plugin>
  2. <groupId>org.apache.maven.plugins</groupId>
  3. <artifactId>maven-dependency-plugin</artifactId>
  4. <version>2.3</version>
  5. <executions>
  6. <execution>
  7. <id>copy-dependencies</id>
  8. <phase>package</phase>
  9. <goals>
  10. <goal>copy-dependencies</goal>
  11. </goals>
  12. <configuration>
  13. <outputDirectory>${project.build.directory}</outputDirectory>
  14. <overWriteReleases>false</overWriteReleases>
  15. <overWriteSnapshots>false</overWriteSnapshots>
  16. <overWriteIfNewer>true</overWriteIfNewer>
  17. </configuration>
  18. </execution>
  19. </executions>
  20. </plugin>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.