pom.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" 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. <packaging>pom</packaging>
  6. <modules>
  7. <module>distschedule-dao</module>
  8. <module>distschedule-service</module>
  9. <module>distschedule-core</module>
  10. </modules>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <!--<version>2.1.6.RELEASE</version>-->
  15. <version>2.2.9.RELEASE</version>
  16. <relativePath/> <!-- lookup parent from repository -->
  17. </parent>
  18. <groupId>com.example.distschedule</groupId>
  19. <artifactId>distschedule</artifactId>
  20. <version>1.0.0-SNAPSHOT</version>
  21. <name>distschedule</name>
  22. <description>Distschedule Server</description>
  23. <properties>
  24. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  25. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  26. <kubernetes-client.version>4.1.3</kubernetes-client.version>
  27. <springfox-swagger.version>3.0.0</springfox-swagger.version>
  28. <fastjson.version>1.2.70</fastjson.version>
  29. <guava.version>27.0.1-jre</guava.version>
  30. <code.findbugs>3.0.2</code.findbugs>
  31. <spock.version>1.3-groovy-2.5</spock.version>
  32. <commons-io.version>2.6</commons-io.version>
  33. <commons-lang.version>3.9</commons-lang.version>
  34. <java.version>1.8</java.version>
  35. <maven.compiler.source>1.8</maven.compiler.source>
  36. <maven.compiler.target>1.8</maven.compiler.target>
  37. <jasypt.version>2.1.2</jasypt.version>
  38. <gitlab4j.version>4.12.0</gitlab4j.version>
  39. <qpid.jms.client>0.50.0</qpid.jms.client>
  40. <!--<groovy.version>2.5.7</groovy.version>-->
  41. </properties>
  42. <dependencies>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-devtools</artifactId>
  46. <scope>runtime</scope>
  47. <optional>true</optional>
  48. </dependency>
  49. <!-- exclude logback , add log4j2 -->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter</artifactId>
  53. <exclusions>
  54. <exclusion>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-logging</artifactId>
  57. </exclusion>
  58. </exclusions>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-log4j2</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-test</artifactId>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.alibaba</groupId>
  71. <artifactId>fastjson</artifactId>
  72. <version>${fastjson.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.google.guava</groupId>
  76. <artifactId>guava</artifactId>
  77. <version>${guava.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.google.code.findbugs</groupId>
  81. <artifactId>jsr305</artifactId>
  82. <version>${code.findbugs}</version>
  83. </dependency>
  84. <!--
  85. <dependency>
  86. <groupId>org.spockframework</groupId>
  87. <artifactId>spock-core</artifactId>
  88. <version>${spock.version}</version>
  89. <scope>test</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.spockframework</groupId>
  93. <artifactId>spock-spring</artifactId>
  94. <version>${spock.version}</version>
  95. <scope>test</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.codehaus.groovy</groupId>
  99. <artifactId>groovy</artifactId>
  100. <version>${groovy.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.codehaus.groovy</groupId>
  104. <artifactId>groovy-macro</artifactId>
  105. <version>${groovy.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.codehaus.groovy</groupId>
  109. <artifactId>groovy-nio</artifactId>
  110. <version>${groovy.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.codehaus.groovy</groupId>
  114. <artifactId>groovy-sql</artifactId>
  115. <version>${groovy.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.codehaus.groovy</groupId>
  119. <artifactId>groovy-templates</artifactId>
  120. <version>${groovy.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.codehaus.groovy</groupId>
  124. <artifactId>groovy-test</artifactId>
  125. <version>${groovy.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.codehaus.groovy</groupId>
  129. <artifactId>groovy-xml</artifactId>
  130. <version>${groovy.version}</version>
  131. </dependency>
  132. -->
  133. <dependency>
  134. <groupId>junit</groupId>
  135. <artifactId>junit</artifactId>
  136. <version>4.13</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>commons-io</groupId>
  140. <artifactId>commons-io</artifactId>
  141. <version>${commons-io.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.commons</groupId>
  145. <artifactId>commons-lang3</artifactId>
  146. <version>${commons-lang.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.github.ulisesbocchio</groupId>
  150. <artifactId>jasypt-spring-boot-starter</artifactId>
  151. <version>${jasypt.version}</version>
  152. </dependency>
  153. </dependencies>
  154. <dependencyManagement>
  155. <dependencies>
  156. <dependency>
  157. <groupId>com.example.distschedule</groupId>
  158. <artifactId>distschedule-service</artifactId>
  159. <version>${project.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.example.distschedule</groupId>
  163. <artifactId>distschedule-dao</artifactId>
  164. <version>${project.version}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.example.distschedule</groupId>
  168. <artifactId>distschedule-core</artifactId>
  169. <version>${project.version}</version>
  170. </dependency>
  171. </dependencies>
  172. </dependencyManagement>
  173. <build>
  174. <resources>
  175. <resource>
  176. <directory>src/main/resources</directory>
  177. <includes>
  178. <include>**/*.properties</include>
  179. <include>**/*.xml</include>
  180. <include>**/*.sql</include>
  181. <include>**/*.json</include>
  182. <include>**/*.txt</include>
  183. <include>**/*.jks</include>
  184. <include>**/*.cfg</include>
  185. <include>**/*.html</include>
  186. </includes>
  187. <filtering>false</filtering>
  188. </resource>
  189. </resources>
  190. <plugins>
  191. <plugin>
  192. <groupId>org.codehaus.gmavenplus</groupId>
  193. <artifactId>gmavenplus-plugin</artifactId>
  194. <version>1.7.1</version>
  195. <executions>
  196. <execution>
  197. <goals>
  198. <goal>compile</goal>
  199. <goal>compileTests</goal>
  200. </goals>
  201. </execution>
  202. </executions>
  203. <configuration>
  204. <testSources>
  205. <testSource>
  206. <directory>${project.basedir}/src/test/java</directory>
  207. <includes>
  208. <include>**/*Test.groovy</include>
  209. </includes>
  210. </testSource>
  211. </testSources>
  212. </configuration>
  213. </plugin>
  214. <plugin>
  215. <groupId>org.apache.maven.plugins</groupId>
  216. <artifactId>maven-compiler-plugin</artifactId>
  217. <version>3.1</version>
  218. <configuration>
  219. <encoding>utf-8</encoding>
  220. <source>1.8</source>
  221. <target>1.8</target>
  222. <showWarnings>true</showWarnings>
  223. <compilerArgs>
  224. <arg>-Xlint:all</arg>
  225. </compilerArgs>
  226. </configuration>
  227. </plugin>
  228. </plugins>
  229. </build>
  230. </project>