pom.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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.oracle</groupId>
  46. <artifactId>ojdbc6</artifactId>
  47. <version>11.2.0.4.0-atlassian-hosted</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-jdbc</artifactId>
  52. </dependency>
  53. <!-- <dependency>
  54. <groupId>com.zaxxer</groupId>
  55. <artifactId>HikariCP</artifactId>
  56. </dependency>-->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-activemq</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-integration</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.camel.springboot</groupId>
  67. <artifactId>camel-spring-boot-starter</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-web</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-actuator</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.integration</groupId>
  79. <artifactId>spring-integration-jms</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.camel.springboot</groupId>
  83. <artifactId>camel-jms-starter</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.camel.springboot</groupId>
  87. <artifactId>camel-file-starter</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.camel.springboot</groupId>
  91. <artifactId>camel-jdbc-starter</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.projectlombok</groupId>
  95. <artifactId>lombok</artifactId>
  96. <optional>true</optional>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-test</artifactId>
  101. <scope>test</scope>
  102. <exclusions>
  103. <exclusion>
  104. <groupId>org.junit.vintage</groupId>
  105. <artifactId>junit-vintage-engine</artifactId>
  106. </exclusion>
  107. </exclusions>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.integration</groupId>
  111. <artifactId>spring-integration-test</artifactId>
  112. <scope>test</scope>
  113. </dependency>
  114. </dependencies>
  115. <build>
  116. <resources>
  117. <resource>
  118. <directory>src/main/java</directory>
  119. <excludes>
  120. <exclude>**/*.java</exclude>
  121. </excludes>
  122. </resource>
  123. <resource>
  124. <directory>src/main/resources</directory>
  125. <includes>
  126. <include>**/*.*</include>
  127. </includes>
  128. </resource>
  129. </resources>
  130. <plugins>
  131. <plugin>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-maven-plugin</artifactId>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-compiler-plugin</artifactId>
  138. <version>${maven-compiler-plugin.version}</version>
  139. <configuration>
  140. <!-- 设置是否执行注释处理。 仅适用于JDK1.6如果没有设置,编译和注释处理都同时执行。
  141. 允许值为:
  142. none - no annotation processing is performed.
  143. only - only annotation processing is done, no compilation.
  144. 设置为only complie 或者build一下就可以运行annotation processor了
  145. 平常走默认值即可-->
  146. <!--<proc>only</proc>-->
  147. <source>${java.version}</source>
  148. <target>${java.version}</target>
  149. <encoding>utf-8</encoding>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.projectlombok</groupId>
  154. <artifactId>lombok-maven-plugin</artifactId>
  155. <version>${lombok-maven-plugin.version}</version>
  156. </plugin>
  157. <!-- 打包过程忽略Junit测试 -->
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-surefire-plugin</artifactId>
  161. <configuration>
  162. <skip>true</skip>
  163. </configuration>
  164. </plugin>
  165. </plugins>
  166. </build>
  167. </project>