pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. <parent>
  6. <artifactId>safety-service</artifactId>
  7. <groupId>com.unis.safety</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>safety-server</artifactId>
  12. <packaging>jar</packaging>
  13. <name>safety-server</name>
  14. <description>safety-server</description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.unis.safety</groupId>
  18. <artifactId>safety-client</artifactId>
  19. <version>1.0</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.unis.safety</groupId>
  23. <artifactId>safety-common</artifactId>
  24. <version>1.0</version>
  25. <exclusions>
  26. <exclusion>
  27. <groupId>javax.persistence</groupId>
  28. <artifactId>persistence-api</artifactId>
  29. </exclusion>
  30. </exclusions>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.cloud</groupId>
  34. <artifactId>spring-cloud-config-client</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.cloud</groupId>
  38. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-devtools</artifactId>
  43. <scope>runtime</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.projectlombok</groupId>
  47. <artifactId>lombok</artifactId>
  48. <optional>true</optional>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-test</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.mybatis.spring.boot</groupId>
  57. <artifactId>mybatis-spring-boot-starter</artifactId>
  58. <!-- <version>${mybatis.version}</version> -->
  59. <version>2.1.3</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>tk.mybatis</groupId>
  63. <artifactId>mapper-spring-boot-starter</artifactId>
  64. <version>${tk.mybatis.version}</version>
  65. <exclusions>
  66. <exclusion>
  67. <groupId>javax.persistence</groupId>
  68. <artifactId>persistence-api</artifactId>
  69. </exclusion>
  70. </exclusions>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-tomcat</artifactId>
  75. <scope>provided</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.alibaba</groupId>
  79. <artifactId>fastjson</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.github.pagehelper</groupId>
  83. <artifactId>pagehelper-spring-boot-starter</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-data-jpa</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework</groupId>
  91. <artifactId>spring-web</artifactId>
  92. <version>5.0.8.RELEASE</version>
  93. <scope>compile</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-data-redis</artifactId>
  98. </dependency>
  99. <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper -->
  100. <dependency>
  101. <groupId>com.github.pagehelper</groupId>
  102. <artifactId>pagehelper</artifactId>
  103. <version>5.1.9</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.gbase8s</groupId>
  107. <artifactId>ifxjdbc</artifactId>
  108. <version>1.0</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.gbase</groupId>
  112. <artifactId>druid</artifactId>
  113. <version>1.0.28</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>mysql</groupId>
  117. <artifactId>mysql-connector-java</artifactId>
  118. <version>8.0.28</version>
  119. </dependency>
  120. <!--
  121. <dependency>
  122. <groupId>com.alibaba</groupId>
  123. <artifactId>druid-spring-boot-starter</artifactId>
  124. <version>1.1.10</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.oracle</groupId>
  128. <artifactId>ojdbc14</artifactId>
  129. <version>10.2.0.5.0</version>
  130. </dependency> -->
  131. <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
  132. <dependency>
  133. <groupId>com.sun.xml.bind</groupId>
  134. <artifactId>jaxb-impl</artifactId>
  135. <version>2.2.11</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>cn.afterturn</groupId>
  139. <artifactId>easypoi-base</artifactId>
  140. <version>3.2.0</version>
  141. <exclusions>
  142. <exclusion>
  143. <groupId>com.google.guava</groupId>
  144. <artifactId>guava</artifactId>
  145. </exclusion>
  146. </exclusions>
  147. </dependency>
  148. <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
  149. <dependency>
  150. <groupId>com.sun.xml.bind</groupId>
  151. <artifactId>jaxb-impl</artifactId>
  152. <version>2.2.11</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-starter-amqp</artifactId>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-devtools</artifactId>
  161. <optional>true</optional>
  162. </dependency>
  163. <!-- feign远程调用 -->
  164. <dependency>
  165. <groupId>org.springframework.cloud</groupId>
  166. <artifactId>spring-cloud-starter-openfeign</artifactId>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.springframework.cloud</groupId>
  170. <artifactId>spring-cloud-starter-stream-rabbit</artifactId>
  171. </dependency>
  172. <dependency>
  173. <artifactId>common</artifactId>
  174. <groupId>com.unis.springcloud</groupId>
  175. <version>1.0.0</version>
  176. </dependency>
  177. </dependencies>
  178. <build>
  179. <plugins>
  180. <plugin>
  181. <groupId>org.springframework.boot</groupId>
  182. <artifactId>spring-boot-maven-plugin</artifactId>
  183. <!-- <configuration> <layout>ZIP</layout> <includes> <include> <groupId>com.unis.integration.server</groupId>
  184. <artifactId>integration-server</artifactId> </include> </includes> </configuration> -->
  185. <configuration>
  186. <fork>true</fork>
  187. <!-- <compilerArguments> &lt;!&ndash; 是否输出所有的编译信息(包括类的加载等)&ndash;&gt;
  188. &lt;!&ndash;<verbose />&ndash;&gt; &lt;!&ndash; 解决maven命令编译报错,因为rt.jar 和jce.jar在jre的lib下面,不在jdk的lib下面,
  189. 导致maven找不到(java7以后会出现这个问题),将这2个jar包拷贝到jdk的lib下面估计也好使&ndash;&gt; <bootclasspath>${java.home}\lib\rt.jar;${java.home}\lib\jce.jar</bootclasspath>
  190. </compilerArguments> -->
  191. </configuration>
  192. </plugin>
  193. </plugins>
  194. <finalName>safety-service</finalName>
  195. </build>
  196. <repositories>
  197. <repository>
  198. <id>spring-milestones</id>
  199. <name>Spring Milestones</name>
  200. <url>https://repo.spring.io/milestone</url>
  201. <snapshots>
  202. <enabled>false</enabled>
  203. </snapshots>
  204. </repository>
  205. </repositories>
  206. </project>