pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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. <groupId>com.bjlt.spider</groupId>
  6. <artifactId>airasia_loop</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>airasia_loop</name>
  9. <!-- FIXME change it to the project's website -->
  10. <url>http://www.example.com</url>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. <maven.compiler.target>1.8</maven.compiler.target>
  16. <java.version>1.8</java.version>
  17. <log4j2.version>2.2</log4j2.version>
  18. <slf4j.version>1.7.10</slf4j.version>
  19. <swagger2.version>2.6.1</swagger2.version>
  20. <spider_common.version>0.0.1-SNAPSHOT</spider_common.version>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.apache.logging.log4j</groupId>
  25. <artifactId>log4j-api</artifactId>
  26. <version>${log4j2.version}</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.apache.logging.log4j</groupId>
  30. <artifactId>log4j-core</artifactId>
  31. <version>${log4j2.version}</version>
  32. </dependency>
  33. <dependency> <!-- 桥接:告诉Slf4j使用Log4j2 -->
  34. <groupId>org.apache.logging.log4j</groupId>
  35. <artifactId>log4j-slf4j-impl</artifactId>
  36. <version>${log4j2.version}</version>
  37. </dependency>
  38. <dependency> <!-- 桥接:告诉commons logging使用Log4j2 -->
  39. <groupId>org.apache.logging.log4j</groupId>
  40. <artifactId>log4j-jcl</artifactId>
  41. <version>${log4j2.version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.slf4j</groupId>
  45. <artifactId>slf4j-api</artifactId>
  46. <version>${slf4j.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.activemq</groupId>
  50. <artifactId>activemq-client</artifactId>
  51. <version>5.14.5</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>junit</groupId>
  55. <artifactId>junit</artifactId>
  56. <version>3.8.1</version>
  57. <scope>test</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.bjlt.spider</groupId>
  61. <artifactId>spider_common</artifactId>
  62. <version>${spider_common.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>junit</groupId>
  66. <artifactId>junit</artifactId>
  67. <version>RELEASE</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>xml-apis</groupId>
  71. <artifactId>xml-apis</artifactId>
  72. <version>1.4.01</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-test</artifactId>
  77. <version>1.5.10.RELEASE</version>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-autoconfigure</artifactId>
  83. <version>1.5.10.RELEASE</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework</groupId>
  87. <artifactId>spring-test</artifactId>
  88. <version>4.3.14.RELEASE</version>
  89. <scope>test</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.alibaba</groupId>
  93. <artifactId>druid-spring-boot-starter</artifactId>
  94. <version>1.1.9</version>
  95. </dependency>
  96. </dependencies>
  97. <build>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-maven-plugin</artifactId>
  102. <configuration>
  103. <mainClass>com.bjlt.spider.loopServiceApplication</mainClass>
  104. <fork>true</fork>
  105. </configuration>
  106. <executions>
  107. <execution>
  108. <goals>
  109. <goal>repackage</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-compiler-plugin</artifactId>
  117. <configuration>
  118. <source>${maven.compiler.source}</source>
  119. <target>${maven.compiler.target}</target>
  120. </configuration>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-maven-plugin</artifactId>
  125. <configuration>
  126. <!--fork : 如果没有该项配置,肯呢个devtools不会起作用,即应用不会restart -->
  127. <fork>true</fork>
  128. </configuration>
  129. </plugin>
  130. </plugins>
  131. <resources>
  132. <resource>
  133. <directory>src/main/java</directory>
  134. <includes>
  135. <include>**/*.properties</include>
  136. <include>**/*.xml</include>
  137. </includes>
  138. <filtering>false</filtering>
  139. </resource>
  140. <resource>
  141. <directory>src/main/resources</directory>
  142. <includes>
  143. <include>**/*.properties</include>
  144. <include>**/*.xml</include>
  145. <include>**/*.yml</include>
  146. </includes>
  147. <filtering>false</filtering>
  148. </resource>
  149. <resource>
  150. <directory>src/main/webapp</directory>
  151. <targetPath>META-INF/resources</targetPath>
  152. <includes>
  153. <include>**/**</include>
  154. </includes>
  155. <filtering>false</filtering>
  156. </resource>
  157. </resources>
  158. </build>
  159. <repositories>
  160. <repository>
  161. <id>public</id>
  162. <name>public</name>
  163. <url>http://123.103.51.13:8088/nexus/content/groups/public/</url>
  164. <snapshots>
  165. <enabled>true</enabled>
  166. </snapshots>
  167. </repository>
  168. </repositories>
  169. <distributionManagement>
  170. <repository>
  171. <id>releases</id>
  172. <name>releases</name>
  173. <url>http://123.103.51.13:8088/nexus/content/repositories/releases/</url>
  174. </repository>
  175. <snapshotRepository>
  176. <id>snapshots</id>
  177. <name>snapshots</name>
  178. <url>http://123.103.51.13:8088/nexus/content/repositories/snapshots/</url>
  179. </snapshotRepository>
  180. </distributionManagement>
  181. </project>