pom.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.leumasjaffe</groupId>
  5. <artifactId>container</artifactId>
  6. <properties>
  7. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  8. </properties>
  9. <build>
  10. <sourceDirectory>target/generated-sources/delombok</sourceDirectory>
  11. <plugins>
  12. <plugin>
  13. <artifactId>maven-compiler-plugin</artifactId>
  14. <version>3.5.1</version>
  15. <configuration>
  16. <compilerVersion>1.8</compilerVersion>
  17. <source>1.8</source>
  18. <target>1.8</target>
  19. </configuration>
  20. </plugin>
  21. <plugin>
  22. <groupId>org.projectlombok</groupId>
  23. <artifactId>lombok-maven-plugin</artifactId>
  24. <version>1.16.18.0</version>
  25. <executions>
  26. <execution>
  27. <id>delombok</id>
  28. <phase>generate-sources</phase>
  29. <goals>
  30. <goal>delombok</goal>
  31. </goals>
  32. <?m2e ignore?>
  33. </execution>
  34. </executions>
  35. <configuration>
  36. <addOutputDirectory>false</addOutputDirectory>
  37. </configuration>
  38. </plugin>
  39. <plugin>
  40. <groupId>org.apache.maven.plugins</groupId>
  41. <artifactId>maven-jar-plugin</artifactId>
  42. <version>2.4</version>
  43. <configuration>
  44. <archive>
  45. <manifest>
  46. <addClasspath>true</addClasspath>
  47. <classpathPrefix>dependency-jars/</classpathPrefix>
  48. </manifest>
  49. </archive>
  50. </configuration>
  51. </plugin>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-dependency-plugin</artifactId>
  55. <version>2.5.1</version>
  56. <executions>
  57. <execution>
  58. <id>copy-dependencies</id>
  59. <phase>package</phase>
  60. <goals>
  61. <goal>copy-dependencies</goal>
  62. </goals>
  63. <configuration>
  64. <outputDirectory>
  65. ${project.build.directory}/dependency-jars/
  66. </outputDirectory>
  67. </configuration>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. </plugins>
  72. </build>
  73. <dependencies>
  74. <dependency>
  75. <groupId>junit</groupId>
  76. <artifactId>junit</artifactId>
  77. <version>4.12</version>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.projectlombok</groupId>
  82. <artifactId>lombok</artifactId>
  83. <version>1.16.18</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.projectlombok</groupId>
  87. <artifactId>lombok-maven-plugin</artifactId>
  88. <version>1.16.18.0</version>
  89. <type>maven-plugin</type>
  90. </dependency>
  91. </dependencies>
  92. <version>0.2</version>
  93. </project>