pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.3.0.RELEASE</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.gct.tools</groupId>
  13. <artifactId>etl-camel-huge</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>etl-camel-huge</name>
  16. <description>tool or scheme that resolve data source integration for all of the gct software</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. <camel.version>3.5.0</camel.version>
  20. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  21. <lombok.version>1.16.18</lombok.version>
  22. <lombok-maven-plugin.version>1.16.6.1</lombok-maven-plugin.version>
  23. </properties>
  24. <dependencyManagement>
  25. <dependencies>
  26. <dependency>
  27. <scope>import</scope>
  28. <type>pom</type>
  29. <groupId>org.apache.camel.springboot</groupId>
  30. <artifactId>camel-spring-boot-bom</artifactId>
  31. <version>${camel.version}</version>
  32. </dependency>
  33. </dependencies>
  34. </dependencyManagement>
  35. <dependencies>
  36. <dependency>
  37. <groupId>mysql</groupId>
  38. <artifactId>mysql-connector-java</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.postgresql</groupId>
  42. <artifactId>postgresql</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.gct.common.util</groupId>
  46. <artifactId>common-util</artifactId>
  47. <version>2.0-SNAPSHOT</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.oracle</groupId>
  51. <artifactId>ojdbc6</artifactId>
  52. <version>11.2.0.4.0-atlassian-hosted</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-jdbc</artifactId>
  57. </dependency>
  58. <!-- <dependency>
  59. <groupId>com.zaxxer</groupId>
  60. <artifactId>HikariCP</artifactId>
  61. </dependency>-->
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-activemq</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-integration</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.camel.springboot</groupId>
  72. <artifactId>camel-rest-starter</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.camel.springboot</groupId>
  76. <artifactId>camel-spring-boot-starter</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-web</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-actuator</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.integration</groupId>
  88. <artifactId>spring-integration-jms</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.camel.springboot</groupId>
  92. <artifactId>camel-jms-starter</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.camel.springboot</groupId>
  96. <artifactId>camel-rest-starter</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.camel.springboot</groupId>
  100. <artifactId>camel-file-starter</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.camel.springboot</groupId>
  104. <artifactId>camel-jdbc-starter</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.projectlombok</groupId>
  108. <artifactId>lombok</artifactId>
  109. <optional>true</optional>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.camel</groupId>
  113. <artifactId>camel-http</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.fasterxml.jackson.core</groupId>
  117. <artifactId>jackson-core</artifactId>
  118. <version>2.12.3</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.rocketmq</groupId>
  122. <artifactId>rocketmq-spring-boot-starter</artifactId>
  123. <version>2.2.0</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.camel</groupId>
  127. <artifactId>camel-jackson</artifactId>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.camel</groupId>
  131. <artifactId>camel-jetty</artifactId>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.camel</groupId>
  135. <artifactId>camel-servlet</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.camel.springboot</groupId>
  139. <artifactId>camel-quartz-starter</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-starter-test</artifactId>
  144. <scope>test</scope>
  145. <exclusions>
  146. <exclusion>
  147. <groupId>org.junit.vintage</groupId>
  148. <artifactId>junit-vintage-engine</artifactId>
  149. </exclusion>
  150. </exclusions>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.springframework.integration</groupId>
  154. <artifactId>spring-integration-test</artifactId>
  155. <scope>test</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>com.alibaba</groupId>
  159. <artifactId>fastjson</artifactId>
  160. <version>1.2.69</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.assertj</groupId>
  164. <artifactId>assertj-core</artifactId>
  165. </dependency>
  166. </dependencies>
  167. <build>
  168. <resources>
  169. <resource>
  170. <directory>src/main/java</directory>
  171. <excludes>
  172. <exclude>**/*.java</exclude>
  173. </excludes>
  174. </resource>
  175. <resource>
  176. <directory>src/main/resources</directory>
  177. <includes>
  178. <include>**/*.*</include>
  179. </includes>
  180. </resource>
  181. </resources>
  182. <plugins>
  183. <plugin>
  184. <groupId>org.springframework.boot</groupId>
  185. <artifactId>spring-boot-maven-plugin</artifactId>
  186. </plugin>
  187. <plugin>
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-compiler-plugin</artifactId>
  190. <version>${maven-compiler-plugin.version}</version>
  191. <configuration>
  192. <!-- 设置是否执行注释处理。 仅适用于JDK1.6如果没有设置,编译和注释处理都同时执行。
  193. 允许值为:
  194. none - no annotation processing is performed.
  195. only - only annotation processing is done, no compilation.
  196. 设置为only complie 或者build一下就可以运行annotation processor了
  197. 平常走默认值即可-->
  198. <!--<proc>only</proc>-->
  199. <source>${java.version}</source>
  200. <target>${java.version}</target>
  201. <encoding>utf-8</encoding>
  202. </configuration>
  203. </plugin>
  204. <plugin>
  205. <groupId>org.projectlombok</groupId>
  206. <artifactId>lombok-maven-plugin</artifactId>
  207. <version>${lombok-maven-plugin.version}</version>
  208. </plugin>
  209. <!-- 打包过程忽略Junit测试 -->
  210. <plugin>
  211. <groupId>org.apache.maven.plugins</groupId>
  212. <artifactId>maven-surefire-plugin</artifactId>
  213. <configuration>
  214. <skip>true</skip>
  215. </configuration>
  216. </plugin>
  217. </plugins>
  218. </build>
  219. </project>