Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. name=C:demo
  2.  
  3. <plugin>
  4. <groupId>org.codehaus.mojo</groupId>
  5. <artifactId>properties-maven-plugin</artifactId>
  6. <version>1.0-alpha-1</version>
  7. <executions>
  8. <execution>
  9. <phase>generate-resources</phase>
  10. <goals>
  11. <goal>read-project-properties</goal>
  12. </goals>
  13. <configuration>
  14. <files>
  15. <file>C:test.properties</file>
  16. </files>
  17. </configuration>
  18. </execution>
  19. </executions>
  20. </plugin>
  21. <plugin>
  22. <artifactId>maven-resources-plugin</artifactId>
  23. <executions>
  24. <execution>
  25. <id>copy-resources</id>
  26. <phase>generate-resources</phase>
  27. <goals>
  28. <goal>copy-resources</goal>
  29. </goals>
  30. <configuration>
  31. <outputDirectory>src/main/resources/</outputDirectory>
  32. <resources>
  33. <resource>
  34. <directory>${dir}</directory>
  35. <include>test/**</include>
  36. </resource>
  37. </resources>
  38. </configuration>
  39. </execution>
  40. </executions>
  41. </plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement