pom.xml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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.unis.user.server</groupId>
  6. <artifactId>myuser</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>myuser</name>
  10. <description>Demo project for Spring Boot</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.0.3.RELEASE</version>
  15. <relativePath /> <!-- lookup parent from repository -->
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
  22. </properties>
  23. <dependencies>
  24. <!--JWT -->
  25. <dependency>
  26. <groupId>com.auth0</groupId>
  27. <artifactId>java-jwt</artifactId>
  28. <version>3.1.0</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>io.jsonwebtoken</groupId>
  32. <artifactId>jjwt</artifactId>
  33. <version>0.9.0</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-configuration-processor</artifactId>
  38. <optional>true</optional>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-data-redis</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-data-jpa</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-web-services</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.cloud</groupId>
  54. <artifactId>spring-cloud-starter-config</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.cloud</groupId>
  58. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-integration</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.cloud</groupId>
  66. <artifactId>spring-cloud-stream</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.cloud</groupId>
  70. <artifactId>spring-cloud-stream-binder-rabbit</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.cloud</groupId>
  74. <artifactId>spring-cloud-starter-openfeign</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>io.github.openfeign.form</groupId>
  78. <artifactId>feign-form-spring</artifactId>
  79. <version>3.2.2</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>io.github.openfeign.form</groupId>
  83. <artifactId>feign-form</artifactId>
  84. <version>3.2.2</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.projectlombok</groupId>
  88. <artifactId>lombok</artifactId>
  89. <optional>true</optional>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-test</artifactId>
  94. <scope>test</scope>
  95. </dependency>
  96. <!--<dependency>
  97. <groupId>cn.easyproject</groupId>
  98. <artifactId>ojdbc7</artifactId>
  99. <version>12.1.0.2.0</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.alibaba</groupId>
  103. <artifactId>druid-spring-boot-starter</artifactId>
  104. <version>1.1.10</version>
  105. </dependency>
  106. -->
  107. <!--gbase数据库-->
  108. <dependency>
  109. <groupId>com.gbase8s</groupId>
  110. <artifactId>ifxjdbc</artifactId>
  111. <version>1.0</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.gbase</groupId>
  115. <artifactId>druid</artifactId>
  116. <version>1.0.28</version>
  117. </dependency>
  118. <!--mysql数据库-->
  119. <dependency>
  120. <groupId>mysql</groupId>
  121. <artifactId>mysql-connector-java</artifactId>
  122. <version>8.0.28</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.alibaba</groupId>
  126. <artifactId>fastjson</artifactId>
  127. <version>1.2.36</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>io.springfox</groupId>
  131. <artifactId>springfox-swagger2</artifactId>
  132. <version>2.9.2</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>io.springfox</groupId>
  136. <artifactId>springfox-swagger-ui</artifactId>
  137. <version>2.9.2</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>commons-lang</groupId>
  141. <artifactId>commons-lang</artifactId>
  142. <version>2.6</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>commons-beanutils</groupId>
  146. <artifactId>commons-beanutils</artifactId>
  147. <version>1.9.3</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.commons</groupId>
  151. <artifactId>commons-pool2</artifactId>
  152. <version>2.5.0</version>
  153. </dependency>
  154. <!--<dependency> -->
  155. <!--<groupId>org.apache.commons</groupId> -->
  156. <!--<artifactId>commons-lang3</artifactId> -->
  157. <!--</dependency> -->
  158. <!-- 热部署模块 -->
  159. <dependency>
  160. <groupId>org.springframework.boot</groupId>
  161. <artifactId>spring-boot-devtools</artifactId>
  162. <optional>true</optional>
  163. <scope>true</scope> <!-- 这个需要为 true 热部署才有效 -->
  164. </dependency>
  165. <dependency>
  166. <groupId>org.bouncycastle</groupId>
  167. <artifactId>bcprov-jdk15on</artifactId>
  168. <version>1.56</version>
  169. </dependency>
  170. <!--验证码 -->
  171. <dependency>
  172. <groupId>com.github.penggle</groupId>
  173. <artifactId>kaptcha</artifactId>
  174. <version>2.3.2</version>
  175. </dependency>
  176. <!--<dependency>
  177. <groupId>com.unis.springcloud</groupId>
  178. <artifactId>common</artifactId>
  179. <version>0.0.1-SNAPSHOT</version>
  180. </dependency>-->
  181. <dependency>
  182. <groupId>com.unis.springcloud</groupId>
  183. <artifactId>common</artifactId>
  184. <version>0.0.1-SNAPSHOT</version>
  185. <scope>system</scope>
  186. <systemPath>
  187. ${project.basedir}/src/main/resources/lib/common-0.0.1-SNAPSHOT.jar
  188. </systemPath>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.apache.httpcomponents</groupId>
  192. <artifactId>httpclient</artifactId>
  193. <version>4.3.6</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.apache.poi</groupId>
  197. <artifactId>poi-ooxml</artifactId>
  198. <version>3.14</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.mybatis.spring.boot</groupId>
  202. <artifactId>mybatis-spring-boot-starter</artifactId>
  203. <version>3.0.0</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>tk.mybatis</groupId>
  207. <artifactId>mapper-spring-boot-starter</artifactId>
  208. <version>RELEASE</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>com.github.pagehelper</groupId>
  212. <artifactId>pagehelper-spring-boot-starter</artifactId>
  213. <version>RELEASE</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>com.github.pagehelper</groupId>
  217. <artifactId>pagehelper-spring-boot-starter</artifactId>
  218. <version>RELEASE</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>com.github.pagehelper</groupId>
  222. <artifactId>pagehelper</artifactId>
  223. <version>5.1.9</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>tk.mybatis</groupId>
  227. <artifactId>mapper</artifactId>
  228. <version>3.3.4</version>
  229. <scope>compile</scope>
  230. </dependency>
  231. <!--<dependency>
  232. <groupId>com.video</groupId>
  233. <artifactId>monitor</artifactId>
  234. <version>18.12.02</version>
  235. </dependency>-->
  236. </dependencies>
  237. <dependencyManagement>
  238. <dependencies>
  239. <dependency>
  240. <groupId>org.springframework.cloud</groupId>
  241. <artifactId>spring-cloud-dependencies</artifactId>
  242. <version>${spring-cloud.version}</version>
  243. <type>pom</type>
  244. <scope>import</scope>
  245. </dependency>
  246. </dependencies>
  247. </dependencyManagement>
  248. <build>
  249. <plugins>
  250. <plugin>
  251. <groupId>org.springframework.boot</groupId>
  252. <artifactId>spring-boot-maven-plugin</artifactId>
  253. <!--生成jar时移除依赖 -->
  254. <!-- <configuration> <layout>ZIP</layout> <includes> <include> <groupId>com.unis.user.server</groupId>
  255. <artifactId>myuser</artifactId> </include> </includes> 没有该配置,devtools 不生效
  256. <fork>true</fork> <addResources>true</addResources> </configuration> -->
  257. <configuration>
  258. <includeSystemScope>true</includeSystemScope>
  259. </configuration>
  260. </plugin>
  261. <!--打包是不进行验证测试 -->
  262. <plugin>
  263. <groupId>org.apache.maven.plugins</groupId>
  264. <artifactId>maven-surefire-plugin</artifactId>
  265. <version>2.21.0</version>
  266. <configuration>
  267. <skipTests>true</skipTests>
  268. </configuration>
  269. </plugin>
  270. </plugins>
  271. <finalName>myuser</finalName>
  272. </build>
  273. <repositories>
  274. <repository>
  275. <id>spring-milestones</id>
  276. <name>Spring Milestones</name>
  277. <url>https://repo.spring.io/milestone</url>
  278. <snapshots>
  279. <enabled>false</enabled>
  280. </snapshots>
  281. </repository>
  282. </repositories>
  283. </project>