pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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>format</artifactId>
  6. <version>0.1</version>
  7. <packaging>jar</packaging>
  8. <name>format</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-dependency-plugin</artifactId>
  73. <version>2.5.1</version>
  74. <executions>
  75. <execution>
  76. <id>copy-dependencies</id>
  77. <phase>package</phase>
  78. <goals>
  79. <goal>copy-dependencies</goal>
  80. </goals>
  81. <configuration>
  82. <outputDirectory>
  83. ${project.build.directory}/dependency-jars/
  84. </outputDirectory>
  85. </configuration>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. <dependencies>
  92. <dependency>
  93. <groupId>org.projectlombok</groupId>
  94. <artifactId>lombok</artifactId>
  95. <version>1.16.8</version>
  96. <scope>provided</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>junit</groupId>
  100. <artifactId>junit</artifactId>
  101. <version>4.12</version>
  102. <scope>test</scope>
  103. </dependency>
  104. </dependencies>
  105. </project>