pom.xml 3.9 KB

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