pom.xml 3.2 KB

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