pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.projectlombok</groupId>
  30. <artifactId>lombok</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-test</artifactId>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-actuator</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>mysql</groupId>
  43. <artifactId>mysql-connector-java</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.mybatis.spring.boot</groupId>
  47. <artifactId>mybatis-spring-boot-starter</artifactId>
  48. <version>1.3.2</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.alibaba</groupId>
  52. <artifactId>druid-spring-boot-starter</artifactId>
  53. <version>1.1.10</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-test</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.google.guava</groupId>
  62. <artifactId>guava</artifactId>
  63. <version>20.0</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-data-redis</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-devtools</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.cloud</groupId>
  75. <artifactId>spring-cloud-starter-kubernetes-config</artifactId>
  76. </dependency>
  77. <!-- <dependency>
  78. <groupId>org.springframework.cloud</groupId>
  79. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  80. </dependency>-->
  81. </dependencies>
  82. <dependencyManagement>
  83. <dependencies>
  84. <dependency>
  85. <groupId>org.springframework.cloud</groupId>
  86. <artifactId>spring-cloud-dependencies</artifactId>
  87. <version>Hoxton.RELEASE</version>
  88. <type>pom</type>
  89. <scope>import</scope>
  90. </dependency>
  91. </dependencies>
  92. </dependencyManagement>
  93. <build>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-jar-plugin</artifactId>
  98. <configuration>
  99. <archive>
  100. <manifest>
  101. <addClasspath>true</addClasspath>
  102. <classpathPrefix>lib/</classpathPrefix>
  103. </manifest>
  104. </archive>
  105. </configuration>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-maven-plugin</artifactId>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-resources-plugin</artifactId>
  114. <executions>
  115. <execution>
  116. <id>default-resources</id>
  117. <phase>validate</phase>
  118. <goals>
  119. <goal>copy-resources</goal>
  120. </goals>
  121. <configuration>
  122. <outputDirectory>target/classes</outputDirectory>
  123. <useDefaultDelimiters>false</useDefaultDelimiters>
  124. <delimiters>
  125. <delimiter>@</delimiter>
  126. </delimiters>
  127. <resources>
  128. <resource>
  129. <directory>src/main/resources/config</directory>
  130. <targetPath>config</targetPath>
  131. <filtering>true</filtering>
  132. <includes>
  133. <include>**</include>
  134. </includes>
  135. </resource>
  136. <resource>
  137. <directory>src/main/resources/mapping</directory>
  138. <targetPath>mapping</targetPath>
  139. <filtering>true</filtering>
  140. <includes>
  141. <include>**</include>
  142. </includes>
  143. </resource>
  144. </resources>
  145. </configuration>
  146. </execution>
  147. </executions>
  148. </plugin>
  149. <plugin>
  150. <groupId>org.apache.maven.plugins</groupId>
  151. <artifactId>maven-dependency-plugin</artifactId>
  152. <executions>
  153. <execution>
  154. <id>copy-dependencies</id>
  155. <phase>prepare-package</phase>
  156. <goals>
  157. <goal>copy-dependencies</goal>
  158. </goals>
  159. <configuration>
  160. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  161. </configuration>
  162. </execution>
  163. </executions>
  164. </plugin>
  165. </plugins>
  166. </build>
  167. </project>