pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. <pluginManagement>
  11. <plugins>
  12. <plugin>
  13. <groupId>org.eclipse.m2e</groupId>
  14. <artifactId>lifecycle-mapping</artifactId>
  15. <version>1.0.0</version>
  16. <configuration>
  17. <lifecycleMappingMetadata>
  18. <pluginExecutions>
  19. <pluginExecution>
  20. <pluginExecutionFilter>
  21. <groupId>org.projectlombok</groupId>
  22. <artifactId>lombok-maven-plugin</artifactId>
  23. <versionRange>[1,)</versionRange>
  24. <goals>
  25. <goal>delombok</goal>
  26. </goals>
  27. </pluginExecutionFilter>
  28. <action>
  29. <ignore />
  30. </action>
  31. </pluginExecution>
  32. </pluginExecutions>
  33. </lifecycleMappingMetadata>
  34. </configuration>
  35. </plugin>
  36. </plugins>
  37. </pluginManagement>
  38. <sourceDirectory>target/generated-sources/delombok</sourceDirectory>
  39. <plugins>
  40. <plugin>
  41. <artifactId>maven-compiler-plugin</artifactId>
  42. <version>3.5.1</version>
  43. <configuration>
  44. <compilerVersion>1.8</compilerVersion>
  45. <source>1.8</source>
  46. <target>1.8</target>
  47. </configuration>
  48. </plugin>
  49. <plugin>
  50. <groupId>org.projectlombok</groupId>
  51. <artifactId>lombok-maven-plugin</artifactId>
  52. <version>1.16.18.0</version>
  53. <executions>
  54. <execution>
  55. <id>delombok</id>
  56. <phase>generate-sources</phase>
  57. <goals>
  58. <goal>delombok</goal>
  59. </goals>
  60. </execution>
  61. </executions>
  62. <configuration>
  63. <addOutputDirectory>false</addOutputDirectory>
  64. </configuration>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-jar-plugin</artifactId>
  69. <version>2.4</version>
  70. <configuration>
  71. <archive>
  72. <manifest>
  73. <addClasspath>true</addClasspath>
  74. <classpathPrefix>dependency-jars/</classpathPrefix>
  75. </manifest>
  76. </archive>
  77. </configuration>
  78. </plugin>
  79. <plugin>
  80. <groupId>org.apache.maven.plugins</groupId>
  81. <artifactId>maven-dependency-plugin</artifactId>
  82. <version>2.5.1</version>
  83. <executions>
  84. <execution>
  85. <id>copy-dependencies</id>
  86. <phase>package</phase>
  87. <goals>
  88. <goal>copy-dependencies</goal>
  89. </goals>
  90. <configuration>
  91. <outputDirectory>
  92. ${project.build.directory}/dependency-jars/
  93. </outputDirectory>
  94. </configuration>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. <dependencies>
  101. <dependency>
  102. <groupId>org.projectlombok</groupId>
  103. <artifactId>lombok</artifactId>
  104. <version>1.16.18</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.projectlombok</groupId>
  108. <artifactId>lombok-maven-plugin</artifactId>
  109. <version>1.16.18.0</version>
  110. <type>maven-plugin</type>
  111. </dependency>
  112. </dependencies>
  113. <version>0.2</version>
  114. </project>