Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. <build>
  2. <plugins>
  3.  
  4. <plugin>
  5. <groupId>org.apache.maven.plugins</groupId>
  6. <artifactId>maven-antrun-plugin</artifactId>
  7. <version>1.8</version>
  8. <executions>
  9. <execution>
  10. <phase>process-resources</phase>
  11. <configuration>
  12. <target>
  13. <echo message="project.build.directory: ${project.build.directory}" />
  14. <echo message="project.basedir: ${project.basedir}" />
  15. <echo
  16. message="maven.dependency.<groupId>.<artifactId>.jar.path: ${maven.dependency.<groupId>.<artifactId>.jar.path}" />
  17. <copy file="${maven.dependency.<groupId>.<artifactId>.jar.path}"
  18. tofile="${project.basedir}/src/main/resources/<artifactId>-<version>.jar" />
  19. </target>
  20. </configuration>
  21. <goals>
  22. <goal>run</goal>
  23. </goals>
  24. </execution>
  25. </executions>
  26. </plugin>
  27.  
  28. </plugins>
  29. <build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement