pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.2.2.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>info.aspirecn.cloud.yysj</groupId>
  12. <artifactId>cloud-yysj-login-authentication</artifactId>
  13. <version>1.0.1</version>
  14. <name>cloud-yysj-login-authentication</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <spring-cloud.version>Hoxton.RELEASE</spring-cloud.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <!-- <dependency>-->
  26. <!-- <groupId>org.springframework.cloud</groupId>-->
  27. <!-- <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>-->
  28. <!-- </dependency>-->
  29. <dependency>
  30. <groupId>org.springframework.cloud</groupId>
  31. <artifactId>spring-cloud-starter-openfeign</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. <optional>true</optional>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.cxf</groupId>
  40. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  41. <version>3.2.7</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.alibaba</groupId>
  45. <artifactId>fastjson</artifactId>
  46. <version>1.2.47</version>
  47. </dependency>
  48. <!-- 配置jdbc依赖 -->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  52. </dependency>
  53. <!-- mysql依赖 -->
  54. <dependency>
  55. <groupId>mysql</groupId>
  56. <artifactId>mysql-connector-java</artifactId>
  57. </dependency>
  58. <!-- mybatis依赖 -->
  59. <dependency>
  60. <groupId>com.baomidou</groupId>
  61. <artifactId>mybatis-plus-boot-starter</artifactId>
  62. <version>3.3.0</version>
  63. </dependency>
  64. <!--actuator-->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-actuator</artifactId>
  68. </dependency>
  69. <!--jwtTools-->
  70. <dependency>
  71. <groupId>com.auth0</groupId>
  72. <artifactId>java-jwt</artifactId>
  73. <version>3.8.3</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.json</groupId>
  77. <artifactId>json</artifactId>
  78. <version>20190722</version>
  79. </dependency>
  80. <!--xml->json-->
  81. <dependency>
  82. <groupId>net.sf.json-lib</groupId>
  83. <artifactId>json-lib</artifactId>
  84. <version>2.4</version>
  85. <classifier>jdk15</classifier>
  86. </dependency>
  87. <dependency>
  88. <groupId>xom</groupId>
  89. <artifactId>xom</artifactId>
  90. <version>1.2.5</version>
  91. </dependency>
  92. <!-- swagger2-->
  93. <dependency>
  94. <groupId>io.springfox</groupId>
  95. <artifactId>springfox-swagger2</artifactId>
  96. <version>2.9.2</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>io.springfox</groupId>
  100. <artifactId>springfox-swagger-ui</artifactId>
  101. <version>2.9.2</version>
  102. </dependency>
  103. <!-- redis -->
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-data-redis</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.commons</groupId>
  110. <artifactId>commons-pool2</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>info.aspirecn.iov.sjjh</groupId>
  114. <artifactId>iov-sjjh-servicenode-user-interface</artifactId>
  115. <version>1.0.0</version>
  116. <exclusions>
  117. <exclusion>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-starter-web</artifactId>
  120. </exclusion>
  121. <exclusion>
  122. <groupId>org.springframework.cloud</groupId>
  123. <artifactId>spring-cloud-starter-openfeign</artifactId>
  124. </exclusion>
  125. </exclusions>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.httpcomponents</groupId>
  129. <artifactId>httpclient</artifactId>
  130. <version>4.5.10</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework.cloud</groupId>
  134. <artifactId>spring-cloud-starter-kubernetes-config</artifactId>
  135. </dependency>
  136. </dependencies>
  137. <dependencyManagement>
  138. <dependencies>
  139. <dependency>
  140. <groupId>org.springframework.cloud</groupId>
  141. <artifactId>spring-cloud-dependencies</artifactId>
  142. <version>${spring-cloud.version}</version>
  143. <type>pom</type>
  144. <scope>import</scope>
  145. </dependency>
  146. </dependencies>
  147. </dependencyManagement>
  148. <build>
  149. <plugins>
  150. <!--设置应用 Main 参数启动依赖查找的地址指向外部 lib 文件夹-->
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-jar-plugin</artifactId>
  154. <configuration>
  155. <archive>
  156. <manifest>
  157. <addClasspath>true</addClasspath>
  158. <classpathPrefix>lib/</classpathPrefix>
  159. </manifest>
  160. </archive>
  161. </configuration>
  162. </plugin>
  163. <!--设置 SpringBoot 打包插件不包含任何 Jar 依赖包-->
  164. <plugin>
  165. <groupId>org.springframework.boot</groupId>
  166. <artifactId>spring-boot-maven-plugin</artifactId>
  167. <configuration>
  168. <includes>
  169. <include>
  170. <groupId>nothing</groupId>
  171. <artifactId>nothing</artifactId>
  172. </include>
  173. </includes>
  174. </configuration>
  175. </plugin>
  176. <!--设置将 lib 拷贝到应用 Jar 外面-->
  177. <plugin>
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-dependency-plugin</artifactId>
  180. <executions>
  181. <execution>
  182. <id>copy-dependencies</id>
  183. <phase>prepare-package</phase>
  184. <goals>
  185. <goal>copy-dependencies</goal>
  186. </goals>
  187. <configuration>
  188. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  189. </configuration>
  190. </execution>
  191. </executions>
  192. </plugin>
  193. </plugins>
  194. </build>
  195. </project>