pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.ym.mec</groupId>
  5. <artifactId>collect_fee</artifactId>
  6. <version>1.0</version>
  7. <packaging>jar</packaging>
  8. <name>collect_fee</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <maven.compiler.source>1.8</maven.compiler.source>
  14. <maven.compiler.target>1.8</maven.compiler.target>
  15. <spring-cloud.version>Greenwich.SR2</spring-cloud.version>
  16. </properties>
  17. <dependencyManagement>
  18. <dependencies>
  19. <!--支持Spring Boot 2.1.X -->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-dependencies</artifactId>
  23. <version>2.1.4.RELEASE</version>
  24. <type>pom</type>
  25. <scope>import</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.mybatis.spring.boot</groupId>
  29. <artifactId>mybatis-spring-boot-starter</artifactId>
  30. <version>1.3.2</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.alibaba</groupId>
  34. <artifactId>druid-spring-boot-starter</artifactId>
  35. <version>1.1.10</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>commons-beanutils</groupId>
  39. <artifactId>commons-beanutils</artifactId>
  40. <version>1.9.2</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.cloud</groupId>
  44. <artifactId>spring-cloud-dependencies</artifactId>
  45. <version>${spring-cloud.version}</version>
  46. <type>pom</type>
  47. <scope>import</scope>
  48. </dependency>
  49. </dependencies>
  50. </dependencyManagement>
  51. <repositories>
  52. <repository>
  53. <id>spring-milestones</id>
  54. <name>Spring Milestones</name>
  55. <url>https://repo.spring.io/libs-milestone</url>
  56. <snapshots>
  57. <enabled>false</enabled>
  58. </snapshots>
  59. </repository>
  60. <repository>
  61. <id>sonatype-nexus-snapshots</id>
  62. <name>Sonatype Nexus Snapshots</name>
  63. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  64. <snapshots>
  65. <enabled>true</enabled>
  66. </snapshots>
  67. <releases>
  68. <enabled>false</enabled>
  69. </releases>
  70. </repository>
  71. </repositories>
  72. <pluginRepositories>
  73. <pluginRepository>
  74. <id>repository.spring.release</id>
  75. <name>Spring GA Repository</name>
  76. <url>https://repo.spring.io/plugins-release/</url>
  77. </pluginRepository>
  78. <pluginRepository>
  79. <id>jcenter-snapshots</id>
  80. <name>jcenter</name>
  81. <url>http://oss.jfrog.org/artifactory/oss-snapshot-local/</url>
  82. </pluginRepository>
  83. <pluginRepository>
  84. <id>jcenter-releases</id>
  85. <name>jcenter</name>
  86. <url>http://jcenter.bintray.com</url>
  87. <snapshots>
  88. <enabled>false</enabled>
  89. </snapshots>
  90. </pluginRepository>
  91. </pluginRepositories>
  92. <dependencies>
  93. <!-- SpringBoot整合Web组件 -->
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-web</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.mybatis.spring.boot</groupId>
  100. <artifactId>mybatis-spring-boot-starter</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.alibaba</groupId>
  104. <artifactId>druid-spring-boot-starter</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>mysql</groupId>
  108. <artifactId>mysql-connector-java</artifactId>
  109. <exclusions>
  110. <exclusion>
  111. <artifactId>protobuf-java</artifactId>
  112. <groupId>com.google.protobuf</groupId>
  113. </exclusion>
  114. </exclusions>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.commons</groupId>
  118. <artifactId>commons-lang3</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>commons-beanutils</groupId>
  122. <artifactId>commons-beanutils</artifactId>
  123. <version>1.8.3</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.thoughtworks.xstream</groupId>
  127. <artifactId>xstream</artifactId>
  128. <version>1.4.11.1</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.apache.httpcomponents</groupId>
  132. <artifactId>httpclient</artifactId>
  133. <version>4.5.2</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.alibaba</groupId>
  137. <artifactId>fastjson</artifactId>
  138. <version>1.2.28</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>cfca.sadk</groupId>
  142. <artifactId>cfca.sadk</artifactId>
  143. <version>1.0.0</version>
  144. <scope>system</scope>
  145. <systemPath>${project.basedir}/libs/SADK-3.2.5.2.jar</systemPath>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.google.gson.Gson</groupId>
  149. <artifactId>com.google.gson.Gson</artifactId>
  150. <version>2.6.2</version>
  151. <scope>system</scope>
  152. <systemPath>${project.basedir}/libs/gson-2.6.2.jar</systemPath>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.springframework.cloud</groupId>
  156. <artifactId>spring-cloud-starter-openfeign</artifactId>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-starter-freemarker</artifactId>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.projectlombok</groupId>
  164. <artifactId>lombok</artifactId>
  165. <optional>true</optional>
  166. </dependency>
  167. <dependency>
  168. <groupId>net.sf.json-lib</groupId>
  169. <artifactId>json-lib</artifactId>
  170. <version>2.4</version>
  171. <classifier>jdk15</classifier>
  172. </dependency>
  173. </dependencies>
  174. <build>
  175. <plugins>
  176. <plugin>
  177. <groupId>org.springframework.boot</groupId>
  178. <artifactId>spring-boot-maven-plugin</artifactId>
  179. <version>2.1.4.RELEASE</version>
  180. <executions>
  181. <execution>
  182. <goals>
  183. <goal>repackage</goal>
  184. </goals>
  185. </execution>
  186. </executions>
  187. <configuration>
  188. <includeSystemScope>true</includeSystemScope>
  189. <addResources>true</addResources>
  190. <fork>true</fork>
  191. <mainClass>com.ym.mec.collectfee.CollectFeeServerApplication</mainClass>
  192. <layout>ZIP</layout>
  193. </configuration>
  194. </plugin>
  195. <plugin>
  196. <groupId>org.apache.maven.plugins</groupId>
  197. <artifactId>maven-resources-plugin</artifactId>
  198. <configuration><encoding>UTF-8</encoding>
  199. <!-- 过滤后缀为pem、pfx的证书文件 -->
  200. <nonFilteredFileExtensions>
  201. <nonFilteredFileExtension>cer</nonFilteredFileExtension>
  202. <nonFilteredFileExtension>pem</nonFilteredFileExtension>
  203. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  204. </nonFilteredFileExtensions>
  205. </configuration>
  206. </plugin>
  207. </plugins>
  208. </build>
  209. </project>