pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>org.leumasjaffe</groupId>
  4. <artifactId>json-validator</artifactId>
  5. <version>0.0.1-SNAPSHOT</version>
  6. <build>
  7. <pluginManagement>
  8. <plugins>
  9. <plugin>
  10. <groupId>org.eclipse.m2e</groupId>
  11. <artifactId>lifecycle-mapping</artifactId>
  12. <version>1.0.0</version>
  13. <configuration>
  14. <lifecycleMappingMetadata>
  15. <pluginExecutions>
  16. <pluginExecution>
  17. <pluginExecutionFilter>
  18. <groupId>org.projectlombok</groupId>
  19. <artifactId>lombok-maven-plugin</artifactId>
  20. <versionRange>[1,)</versionRange>
  21. <goals>
  22. <goal>delombok</goal>
  23. </goals>
  24. </pluginExecutionFilter>
  25. <action>
  26. <ignore />
  27. </action>
  28. </pluginExecution>
  29. </pluginExecutions>
  30. </lifecycleMappingMetadata>
  31. </configuration>
  32. </plugin>
  33. </plugins>
  34. </pluginManagement>
  35. <sourceDirectory>target/generated-sources/delombok</sourceDirectory>
  36. <plugins>
  37. <plugin>
  38. <artifactId>maven-compiler-plugin</artifactId>
  39. <version>3.5.1</version>
  40. <configuration>
  41. <compilerVersion>1.8</compilerVersion>
  42. <source>1.8</source>
  43. <target>1.8</target>
  44. </configuration>
  45. </plugin>
  46. <plugin>
  47. <groupId>org.projectlombok</groupId>
  48. <artifactId>lombok-maven-plugin</artifactId>
  49. <version>1.16.18.0</version>
  50. <executions>
  51. <execution>
  52. <id>delombok</id>
  53. <phase>generate-sources</phase>
  54. <goals>
  55. <goal>delombok</goal>
  56. </goals>
  57. </execution>
  58. </executions>
  59. <configuration>
  60. <addOutputDirectory>false</addOutputDirectory>
  61. </configuration>
  62. </plugin>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-assembly-plugin</artifactId>
  66. <version>2.4</version>
  67. <configuration>
  68. <archive>
  69. <manifest>
  70. <mainClass>org.leumasjaffe.todolist.App</mainClass>
  71. </manifest>
  72. </archive>
  73. <descriptorRefs>
  74. <descriptorRef>jar-with-dependencies</descriptorRef>
  75. </descriptorRefs>
  76. </configuration>
  77. <executions>
  78. <execution>
  79. <id>make-assembly</id> <!-- this is used for inheritance merges -->
  80. <phase>package</phase> <!-- bind to the packaging phase -->
  81. <goals>
  82. <goal>single</goal>
  83. </goals>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. <plugin>
  88. <groupId>org.apache.maven.plugins</groupId>
  89. <artifactId>maven-dependency-plugin</artifactId>
  90. <version>2.5.1</version>
  91. <executions>
  92. <execution>
  93. <id>copy-dependencies</id>
  94. <phase>package</phase>
  95. <goals>
  96. <goal>copy-dependencies</goal>
  97. </goals>
  98. <configuration>
  99. <outputDirectory>
  100. ${project.build.directory}/dependency-jars/
  101. </outputDirectory>
  102. </configuration>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. <dependencies>
  109. <dependency>
  110. <groupId>commons-validator</groupId>
  111. <artifactId>commons-validator</artifactId>
  112. <version>1.6</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.projectlombok</groupId>
  116. <artifactId>lombok</artifactId>
  117. <version>1.16.8</version>
  118. <scope>provided</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.fasterxml.jackson.core</groupId>
  122. <artifactId>jackson-databind</artifactId>
  123. <version>2.7.3</version>
  124. </dependency>
  125. </dependencies>
  126. </project>