pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <artifactId>oa_center</artifactId>
  5. <groupId>com.bjlt.spider</groupId>
  6. <version>1.0-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>oa_service</artifactId>
  10. <packaging>jar</packaging>
  11. <name>oa_service</name>
  12. <url>http://maven.apache.org</url>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <maven.compiler.source>1.8</maven.compiler.source>
  17. <maven.compiler.target>1.8</maven.compiler.target>
  18. <java.version>1.8</java.version>
  19. <spring-cloud.version>Dalston.SR1</spring-cloud.version>
  20. <spring-boot.version>1.5.3.RELEASE</spring-boot.version>
  21. <mysql.version>5.1.40</mysql.version>
  22. <druid.version>1.0.29</druid.version>
  23. <log4j2.version>2.2</log4j2.version>
  24. <slf4j.version>1.7.10</slf4j.version>
  25. <common>0.0.4-SNAPSHOT</common>
  26. <spider-version>0.0.4-SNAPSHOT</spider-version>
  27. <contro-spider>0.0.2-SNAPSHOT</contro-spider>
  28. </properties>
  29. <dependencies>
  30. <dependency>
  31. <groupId>com.bjlt.spider</groupId>
  32. <artifactId>plugin-rpc</artifactId>
  33. <version>0.0.1-SNAPSHOT</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.apache.poi</groupId>
  37. <artifactId>poi</artifactId>
  38. <version>3.16</version>
  39. </dependency>
  40. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
  41. <dependency>
  42. <groupId>org.apache.poi</groupId>
  43. <artifactId>poi-ooxml</artifactId>
  44. <version>3.16</version>
  45. </dependency>
  46. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml-schemas -->
  47. <dependency>
  48. <groupId>org.apache.poi</groupId>
  49. <artifactId>poi-ooxml-schemas</artifactId>
  50. <version>3.16</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>net.sourceforge.nekohtml</groupId>
  54. <artifactId>nekohtml</artifactId>
  55. <version>1.9.22</version>
  56. </dependency>
  57. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  58. <dependency>
  59. <groupId>org.apache.shiro</groupId>
  60. <artifactId>shiro-spring</artifactId>
  61. <version>1.3.2</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>net.sourceforge.jexcelapi</groupId>
  65. <artifactId>jxl</artifactId>
  66. <version>2.6.12</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.bjlt.spider</groupId>
  70. <artifactId>luyn-utils</artifactId>
  71. <version>0.0.1</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.bjlt.spider</groupId>
  75. <artifactId>spider-rpc</artifactId>
  76. <version>${spider-version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.bjlt.spider</groupId>
  80. <artifactId>luyn</artifactId>
  81. <version>0.0.7</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.bjlt.spider</groupId>
  85. <artifactId>contro_rpc</artifactId>
  86. <version>${contro-spider}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.bjlt.spider</groupId>
  90. <artifactId>common</artifactId>
  91. <version>${common}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>fastjson</artifactId>
  96. <version>1.2.31</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.alibaba</groupId>
  100. <artifactId>druid</artifactId>
  101. <version>${druid.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.logging.log4j</groupId>
  105. <artifactId>log4j-api</artifactId>
  106. <version>${log4j2.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.logging.log4j</groupId>
  110. <artifactId>log4j-core</artifactId>
  111. <version>${log4j2.version}</version>
  112. </dependency>
  113. <dependency> <!-- 桥接:告诉Slf4j使用Log4j2 -->
  114. <groupId>org.apache.logging.log4j</groupId>
  115. <artifactId>log4j-slf4j-impl</artifactId>
  116. <version>${log4j2.version}</version>
  117. </dependency>
  118. <dependency> <!-- 桥接:告诉commons logging使用Log4j2 -->
  119. <groupId>org.apache.logging.log4j</groupId>
  120. <artifactId>log4j-jcl</artifactId>
  121. <version>${log4j2.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.slf4j</groupId>
  125. <artifactId>slf4j-api</artifactId>
  126. <version>${slf4j.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.fasterxml.jackson.datatype</groupId>
  130. <artifactId>jackson-datatype-joda</artifactId>
  131. <version>2.9.0.pr3</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.fasterxml.jackson.datatype</groupId>
  135. <artifactId>jackson-datatype-jsr310</artifactId>
  136. <version>2.9.0.pr3</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.projectlombok</groupId>
  140. <artifactId>lombok</artifactId>
  141. <version>1.16.16</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>mysql</groupId>
  145. <artifactId>mysql-connector-java</artifactId>
  146. <version>${mysql.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-starter-actuator</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.springframework.boot</groupId>
  154. <artifactId>spring-boot-starter-aop</artifactId>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.springframework.cloud</groupId>
  158. <artifactId>spring-cloud-starter-eureka</artifactId>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.springframework.cloud</groupId>
  162. <artifactId>spring-cloud-starter-ribbon</artifactId>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework.boot</groupId>
  166. <artifactId>spring-boot-starter-data-redis</artifactId>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-starter-jdbc</artifactId>
  171. <exclusions>
  172. <!--使用druid数据源,排除自带的tomcatjdbc-->
  173. <exclusion>
  174. <groupId>org.apache.tomcat</groupId>
  175. <artifactId>tomcat-jdbc</artifactId>
  176. </exclusion>
  177. </exclusions>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework.boot</groupId>
  181. <artifactId>spring-boot-starter-test</artifactId>
  182. <scope>test</scope>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.springframework.boot</groupId>
  186. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.springframework.boot</groupId>
  190. <artifactId>spring-boot-starter-freemarker</artifactId>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.springframework.boot</groupId>
  194. <artifactId>spring-boot-starter-web</artifactId>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.springframework.boot</groupId>
  198. <artifactId>spring-boot-starter</artifactId>
  199. <exclusions>
  200. <!--去除spring boot自带的-->
  201. <exclusion>
  202. <groupId>org.springframework.boot</groupId>
  203. <artifactId>spring-boot-starter-logging</artifactId>
  204. </exclusion>
  205. </exclusions>
  206. </dependency>
  207. <dependency>
  208. <groupId>io.github.openfeign</groupId>
  209. <artifactId>feign-okhttp</artifactId>
  210. </dependency>
  211. <dependency>
  212. <groupId>com.bjlt.spider</groupId>
  213. <artifactId>ip_rpc</artifactId>
  214. <version>0.0.3-SNAPSHOT</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.junit.jupiter</groupId>
  218. <artifactId>junit-jupiter-api</artifactId>
  219. <version>RELEASE</version>
  220. </dependency>
  221. </dependencies>
  222. <dependencyManagement>
  223. <dependencies>
  224. <dependency>
  225. <groupId>org.springframework.boot</groupId>
  226. <artifactId>spring-boot-dependencies</artifactId>
  227. <version>${spring-boot.version}</version>
  228. <type>pom</type>
  229. <scope>import</scope>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.springframework.cloud</groupId>
  233. <artifactId>spring-cloud-dependencies</artifactId>
  234. <version>${spring-cloud.version}</version>
  235. <type>pom</type>
  236. <scope>import</scope>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.springframework.boot</groupId>
  240. <artifactId>spring-boot-devtools</artifactId>
  241. <optional>true</optional>
  242. <scope>true</scope>
  243. </dependency>
  244. </dependencies>
  245. </dependencyManagement>
  246. <build>
  247. <plugins>
  248. <plugin>
  249. <groupId>org.springframework.boot</groupId>
  250. <artifactId>spring-boot-maven-plugin</artifactId>
  251. <configuration>
  252. <mainClass>com.bjlt.spider.ControlcenterApplication</mainClass>
  253. <fork>true</fork>
  254. </configuration>
  255. <executions>
  256. <execution>
  257. <goals>
  258. <goal>repackage</goal>
  259. </goals>
  260. </execution>
  261. </executions>
  262. </plugin>
  263. <plugin>
  264. <groupId>org.apache.maven.plugins</groupId>
  265. <artifactId>maven-compiler-plugin</artifactId>
  266. <configuration>
  267. <source>${maven.compiler.source}</source>
  268. <target>${maven.compiler.target}</target>
  269. </configuration>
  270. </plugin>
  271. <plugin>
  272. <groupId>org.springframework.boot</groupId>
  273. <artifactId>spring-boot-maven-plugin</artifactId>
  274. <configuration>
  275. <!--fork : 如果没有该项配置,肯呢个devtools不会起作用,即应用不会restart -->
  276. <fork>true</fork>
  277. </configuration>
  278. </plugin>
  279. </plugins>
  280. </build>
  281. <repositories>
  282. <repository>
  283. <id>public</id>
  284. <name>public</name>
  285. <url>http://47.95.209.27:8080/nexus/content/groups/public/</url>
  286. <snapshots>
  287. <enabled>true</enabled>
  288. </snapshots>
  289. </repository>
  290. </repositories>
  291. <distributionManagement>
  292. <repository>
  293. <id>releases</id>
  294. <name>releases</name>
  295. <url>http://47.95.209.27:8080/nexus/content/repositories/releases/</url>
  296. </repository>
  297. <snapshotRepository>
  298. <id>snapshots</id>
  299. <name>snapshots</name>
  300. <url>http://47.95.209.27:8080/nexus/content/repositories/snapshots/</url>
  301. </snapshotRepository>
  302. </distributionManagement>
  303. </project>