pom.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>org.springframework.boot</groupId>
  5. <artifactId>spring-boot-starter-parent</artifactId>
  6. <version>2.2.2.RELEASE</version>
  7. </parent>
  8. <groupId>info.aspirecn.iov.yysj</groupId>
  9. <artifactId>cloud-yysj-servicenode-paramtransfer</artifactId>
  10. <version>1.0.8</version>
  11. <name>cloud-yysj-servicenode-paramtransfer</name>
  12. <description>参数转换服务</description>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>1.8</java.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>info.aspirecn.iov.yysj</groupId>
  21. <artifactId>cloud-yysj-servicenode-paramtransfer-interface</artifactId>
  22. <version>1.0.0</version>
  23. <exclusions>
  24. <exclusion>
  25. <groupId>org.apache.logging.log4j</groupId>
  26. <artifactId>log4j-to-slf4j</artifactId>
  27. </exclusion>
  28. <exclusion>
  29. <groupId>org.apache.logging.log4j</groupId>
  30. <artifactId>log4j-api</artifactId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-web</artifactId>
  37. <exclusions>
  38. <exclusion>
  39. <groupId>org.apache.logging.log4j</groupId>
  40. <artifactId>log4j-to-slf4j</artifactId>
  41. </exclusion>
  42. <exclusion>
  43. <groupId>org.apache.logging.log4j</groupId>
  44. <artifactId>log4j-api</artifactId>
  45. </exclusion>
  46. </exclusions>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.projectlombok</groupId>
  50. <artifactId>lombok</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-test</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-actuator</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>mysql</groupId>
  63. <artifactId>mysql-connector-java</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.mybatis.spring.boot</groupId>
  67. <artifactId>mybatis-spring-boot-starter</artifactId>
  68. <version>1.3.2</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.alibaba</groupId>
  72. <artifactId>druid-spring-boot-starter</artifactId>
  73. <version>1.1.10</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-test</artifactId>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.google.guava</groupId>
  82. <artifactId>guava</artifactId>
  83. <version>20.0</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-data-redis</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-devtools</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.cloud</groupId>
  95. <artifactId>spring-cloud-starter-kubernetes-config</artifactId>
  96. </dependency>
  97. <!-- <dependency>
  98. <groupId>org.springframework.cloud</groupId>
  99. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  100. </dependency>-->
  101. <dependency>
  102. <groupId>org.apache.logging.log4j</groupId>
  103. <artifactId>log4j-api</artifactId>
  104. <version>2.15.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.logging.log4j</groupId>
  108. <artifactId>log4j-to-slf4j</artifactId>
  109. <version>2.15.0</version>
  110. </dependency>
  111. </dependencies>
  112. <dependencyManagement>
  113. <dependencies>
  114. <dependency>
  115. <groupId>org.springframework.cloud</groupId>
  116. <artifactId>spring-cloud-dependencies</artifactId>
  117. <version>Hoxton.RELEASE</version>
  118. <type>pom</type>
  119. <scope>import</scope>
  120. </dependency>
  121. </dependencies>
  122. </dependencyManagement>
  123. <build>
  124. <plugins>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-jar-plugin</artifactId>
  128. <configuration>
  129. <archive>
  130. <manifest>
  131. <addClasspath>true</addClasspath>
  132. <classpathPrefix>lib/</classpathPrefix>
  133. </manifest>
  134. </archive>
  135. </configuration>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-maven-plugin</artifactId>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-resources-plugin</artifactId>
  144. <executions>
  145. <execution>
  146. <id>default-resources</id>
  147. <phase>validate</phase>
  148. <goals>
  149. <goal>copy-resources</goal>
  150. </goals>
  151. <configuration>
  152. <outputDirectory>target/classes</outputDirectory>
  153. <useDefaultDelimiters>false</useDefaultDelimiters>
  154. <delimiters>
  155. <delimiter>@</delimiter>
  156. </delimiters>
  157. <resources>
  158. <resource>
  159. <directory>src/main/resources/config</directory>
  160. <targetPath>config</targetPath>
  161. <filtering>true</filtering>
  162. <includes>
  163. <include>**</include>
  164. </includes>
  165. </resource>
  166. <resource>
  167. <directory>src/main/resources/mapping</directory>
  168. <targetPath>mapping</targetPath>
  169. <filtering>true</filtering>
  170. <includes>
  171. <include>**</include>
  172. </includes>
  173. </resource>
  174. </resources>
  175. </configuration>
  176. </execution>
  177. </executions>
  178. </plugin>
  179. <plugin>
  180. <groupId>org.apache.maven.plugins</groupId>
  181. <artifactId>maven-dependency-plugin</artifactId>
  182. <executions>
  183. <execution>
  184. <id>copy-dependencies</id>
  185. <phase>prepare-package</phase>
  186. <goals>
  187. <goal>copy-dependencies</goal>
  188. </goals>
  189. <configuration>
  190. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  191. </configuration>
  192. </execution>
  193. </executions>
  194. </plugin>
  195. </plugins>
  196. </build>
  197. </project>