Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. <build>
  2. <pluginManagement>
  3. <plugins>
  4. <plugin>
  5. <groupId>org.apache.maven.plugins</groupId>
  6. <artifactId>maven-compiler-plugin</artifactId>
  7. <version>2.3.1</version>
  8. <configuration>
  9. <source>1.7</source>
  10. <target>1.7</target>
  11. </configuration>
  12. </plugin>
  13. </plugins>
  14. </pluginManagement>
  15. <plugins>
  16. <plugin>
  17. <artifactId>maven-resources-plugin</artifactId>
  18. <version>2.6</version>
  19. <executions>
  20. <execution>
  21. <id>copy-resources</id>
  22. <phase>validate</phase>
  23. <goals>
  24. <goal>copy-resources</goal>
  25. </goals>
  26. <configuration>
  27. <outputDirectory>${basedir}/target/Crunchify</outputDirectory>
  28. <resources>
  29. <resource>
  30. <directory>resources</directory>
  31. <filtering>true</filtering>
  32. </resource>
  33. </resources>
  34. </configuration>
  35. </execution>
  36. </executions>
  37. </plugin>
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-dependency-plugin</artifactId>
  41. <executions>
  42. <execution>
  43. <id>copy-dependencies</id>
  44. <phase>prepare-package</phase>
  45. <goals>
  46. <goal>copy-dependencies</goal>
  47. </goals>
  48. <configuration>
  49. <outputDirectory>${project.build.directory}/Crunchify/lib</outputDirectory>
  50. <overWriteReleases>false</overWriteReleases>
  51. <overWriteSnapshots>false</overWriteSnapshots>
  52. <overWriteIfNewer>true</overWriteIfNewer>
  53. </configuration>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-jar-plugin</artifactId>
  60. <configuration>
  61. <archive>
  62. <manifest>
  63. <addClasspath>true</addClasspath>
  64. <classpathPrefix>lib/</classpathPrefix>
  65. <mainClass>com.services.ContractsService</mainClass>
  66. </manifest>
  67. <manifestEntries>
  68. <Class-Path>.</Class-Path>
  69. </manifestEntries>
  70. </archive>
  71.  
  72. <finalName>Crunchify/Crunchify</finalName>
  73. </configuration>
  74. </plugin>
  75. </plugins>
  76. </build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement