No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  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. <artifactId>sgiipserver</artifactId>
  7. <groupId>com.shinsoft</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <groupId>com.shinsoft</groupId>
  11. <artifactId>wx</artifactId>
  12. <version>1.0.0</version>
  13. <name>wx</name>
  14. <description>Demo project for Spring Boot</description>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. </properties>
  18. <dependencies>
  19. <!--spring-->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. <exclusions>
  24. <exclusion>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-logging</artifactId>
  27. </exclusion>
  28. <exclusion>
  29. <groupId>org.hibernate</groupId>
  30. <artifactId>hibernate-validator</artifactId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <!--log4j2-->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-log4j2</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.logging.log4j</groupId>
  41. <artifactId>log4j-api</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.logging.log4j</groupId>
  45. <artifactId>log4j-core</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.logging.log4j</groupId>
  49. <artifactId>log4j-jul</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.logging.log4j</groupId>
  53. <artifactId>log4j-slf4j-impl</artifactId>
  54. </dependency>
  55. <!--log4j2-->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-test</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.alibaba.cloud</groupId>
  63. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.alibaba.cloud</groupId>
  67. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.cloud</groupId>
  71. <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.cloud</groupId>
  75. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.cloud</groupId>
  79. <artifactId>spring-cloud-starter-openfeign</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-aop</artifactId>
  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-starter-amqp</artifactId>
  92. </dependency>
  93. <!--spring-->
  94. <!--common-->
  95. <dependency>
  96. <groupId>org.apache.commons</groupId>
  97. <artifactId>commons-pool2</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.commons</groupId>
  101. <artifactId>commons-lang3</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>commons-io</groupId>
  105. <artifactId>commons-io</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>commons-fileupload</groupId>
  109. <artifactId>commons-fileupload</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>commons-dbutils</groupId>
  113. <artifactId>commons-dbutils</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>commons-net</groupId>
  117. <artifactId>commons-net</artifactId>
  118. </dependency>
  119. <!--common-->
  120. <!--数据库相关-->
  121. <dependency>
  122. <groupId>mysql</groupId>
  123. <artifactId>mysql-connector-java</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.oracle.database.jdbc</groupId>
  127. <artifactId>ojdbc8</artifactId>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.oracle.database.nls</groupId>
  131. <artifactId>orai18n</artifactId>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.alibaba</groupId>
  135. <artifactId>druid</artifactId>
  136. </dependency>
  137. <!-- <dependency>-->
  138. <!-- <groupId>org.mybatis.spring.boot</groupId>-->
  139. <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
  140. <!-- </dependency>-->
  141. <!-- <dependency>-->
  142. <!-- <groupId>com.github.pagehelper</groupId>-->
  143. <!-- <artifactId>pagehelper-spring-boot-starter</artifactId> -->
  144. <!-- </dependency>-->
  145. <!--数据库相关-->
  146. <!--代码生成-->
  147. <dependency>
  148. <groupId>org.freemarker</groupId>
  149. <artifactId>freemarker</artifactId>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.baomidou</groupId>
  153. <artifactId>mybatis-plus-boot-starter</artifactId>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.baomidou</groupId>
  157. <artifactId>mybatis-plus-generator</artifactId>
  158. </dependency>
  159. <!-- <dependency>-->
  160. <!-- <groupId>com.baomidou</groupId>-->
  161. <!-- <artifactId>mybatis-plus-extension</artifactId>-->
  162. <!-- </dependency>-->
  163. <dependency>
  164. <groupId>org.projectlombok</groupId>
  165. <artifactId>lombok</artifactId>
  166. </dependency>
  167. <!-- <dependency>-->
  168. <!-- <groupId>io.swagger</groupId>-->
  169. <!-- <artifactId>swagger-annotations</artifactId>-->
  170. <!-- </dependency>-->
  171. <dependency>
  172. <groupId>io.springfox</groupId>
  173. <artifactId>springfox-swagger2</artifactId>
  174. </dependency>
  175. <dependency>
  176. <groupId>io.springfox</groupId>
  177. <artifactId>springfox-swagger-ui</artifactId>
  178. </dependency>
  179. <!--代码生成-->
  180. <!--JSON相关-->
  181. <dependency>
  182. <groupId>com.alibaba</groupId>
  183. <artifactId>fastjson</artifactId>
  184. </dependency>
  185. <!--JSON相关-->
  186. <!--加密-->
  187. <dependency>
  188. <groupId>com.auth0</groupId>
  189. <artifactId>java-jwt</artifactId>
  190. </dependency>
  191. <!--加密-->
  192. <!--二维码-->
  193. <dependency>
  194. <groupId>com.google.zxing</groupId>
  195. <artifactId>core</artifactId>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.google.zxing</groupId>
  199. <artifactId>javase</artifactId>
  200. </dependency>
  201. <!--二维码-->
  202. <!-- <dependency>-->
  203. <!-- <groupId>io.github.cdancy</groupId>-->
  204. <!-- <artifactId>jenkins-rest</artifactId>-->
  205. <!-- <version>1.0.0</version>-->
  206. <!-- </dependency>-->
  207. <dependency>
  208. <groupId>cn.hutool</groupId>
  209. <artifactId>hutool-all</artifactId>
  210. </dependency>
  211. <!--微信相关-->
  212. <dependency>
  213. <groupId>org.bouncycastle</groupId>
  214. <artifactId>bcprov-jdk16</artifactId>
  215. <version>1.46</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>dom4j</groupId>
  219. <artifactId>dom4j</artifactId>
  220. <version>1.6.1</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>com.github.wechatpay-apiv3</groupId>
  224. <artifactId>wechatpay-apache-httpclient</artifactId>
  225. <version>0.2.1</version>
  226. </dependency>
  227. <!--微信相关-->
  228. <!-- 公共方法和接口-->
  229. <dependency>
  230. <groupId>com.shinsoft</groupId>
  231. <artifactId>framework-api</artifactId>
  232. <version>1.0.1</version>
  233. <scope>system</scope>
  234. <systemPath>${project.basedir}/../lib/framework-api-1.0.1.jar</systemPath>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.shinsoft</groupId>
  238. <artifactId>tools</artifactId>
  239. <version>1.0.1</version>
  240. <scope>system</scope>
  241. <systemPath>${project.basedir}/../lib/tools-1.0.1.jar</systemPath>
  242. </dependency>
  243. <dependency>
  244. <groupId>com.shinsoft</groupId>
  245. <artifactId>generator</artifactId>
  246. <version>1.0.0</version>
  247. <scope>system</scope>
  248. <systemPath>${project.basedir}/../lib/generator-1.0.0.jar</systemPath>
  249. </dependency>
  250. <!-- 公共方法和接口-->
  251. <!-- 公共方法和接口-->
  252. <dependency>
  253. <groupId>com.shinfot</groupId>
  254. <artifactId>json-20200518</artifactId>
  255. <version>1.0.0</version>
  256. <scope>system</scope>
  257. <systemPath>${project.basedir}/src/main/resources/lib/json-20200518.jar</systemPath>
  258. </dependency>
  259. <dependency>
  260. <groupId>com.shinsoft</groupId>
  261. <artifactId>commons-codec-1.9</artifactId>
  262. <version>1.0.0</version>
  263. <scope>system</scope>
  264. <systemPath>${project.basedir}/src/main/resources/lib/commons-codec-1.9.jar</systemPath>
  265. </dependency>
  266. <!-- 公共方法和接口-->
  267. </dependencies>
  268. <profiles>
  269. <profile> <!-- 本地开发环境 -->
  270. <id>localhost</id>
  271. <properties>
  272. <profiles.active>localhost</profiles.active>
  273. </properties>
  274. <activation>
  275. <activeByDefault>true</activeByDefault>
  276. </activation>
  277. </profile>
  278. <profile> <!-- 开发环境 -->
  279. <id>develop</id>
  280. <properties>
  281. <profiles.active>develop</profiles.active>
  282. </properties>
  283. </profile>
  284. <profile> <!-- 测试环境 -->
  285. <id>test</id>
  286. <properties>
  287. <profiles.active>test</profiles.active>
  288. </properties>
  289. </profile>
  290. <profile> <!-- 生产环境 -->
  291. <id>production</id>
  292. <properties>
  293. <profiles.active>production</profiles.active>
  294. </properties>
  295. </profile>
  296. </profiles>
  297. <build>
  298. <finalName>${project.artifactId}</finalName>
  299. <resources>
  300. <resource>
  301. <directory>src/main/resources</directory>
  302. <excludes>
  303. <exclude>test/**</exclude>
  304. <exclude>develop/**</exclude>
  305. <exclude>production/**</exclude>
  306. <exclude>classes/**</exclude>
  307. <exclude>lib/**</exclude>
  308. </excludes>
  309. </resource>
  310. <resource>
  311. <directory>src/main/resources/${profiles.active}</directory>
  312. </resource>
  313. <resource>
  314. <directory>src/main/resources</directory>
  315. <includes>
  316. <include>**/*.yml</include>
  317. <include>**/*.properties</include>
  318. <include>**/*.xml</include>
  319. </includes>
  320. <filtering>false</filtering>
  321. </resource>
  322. <resource>
  323. <directory>src/main/java</directory>
  324. <targetPath>${project.build.directory}/classes/mapper</targetPath>
  325. <includes>
  326. <include>**/*.xml</include>
  327. </includes>
  328. <filtering>false</filtering>
  329. </resource>
  330. </resources>
  331. <plugins>
  332. <!--<plugin>-->
  333. <!--<groupId>org.springframework.boot</groupId>-->
  334. <!--<artifactId>spring-boot-maven-plugin</artifactId>-->
  335. <!--</plugin>-->
  336. <plugin>
  337. <groupId>org.apache.maven.plugins</groupId>
  338. <artifactId>maven-jar-plugin</artifactId>
  339. <configuration>
  340. <archive>
  341. <manifest>
  342. <addClasspath>true</addClasspath>
  343. <classpathPrefix>lib/</classpathPrefix>
  344. <mainClass>com.shinsoft.wx.WxApplication</mainClass>
  345. </manifest>
  346. <manifestEntries>
  347. <Class-Path>lib/tools-1.0.1.jar
  348. lib/framework-api-1.0.1.jar
  349. </Class-Path>
  350. </manifestEntries>
  351. </archive>
  352. <outputDirectory>
  353. ${project.build.directory}
  354. </outputDirectory>
  355. </configuration>
  356. </plugin>
  357. <plugin>
  358. <groupId>org.apache.maven.plugins</groupId>
  359. <artifactId>maven-dependency-plugin</artifactId>
  360. <executions>
  361. <execution>
  362. <id>copy</id>
  363. <phase>compile</phase>
  364. <goals>
  365. <goal>copy-dependencies</goal>
  366. </goals>
  367. <configuration>
  368. <outputDirectory>
  369. ${project.build.directory}\lib
  370. </outputDirectory>
  371. </configuration>
  372. </execution>
  373. <execution>
  374. <id>sys</id>
  375. <phase>compile</phase>
  376. <goals>
  377. <goal>copy-dependencies</goal>
  378. </goals>
  379. <configuration>
  380. <includeScope>system</includeScope>
  381. </configuration>
  382. </execution>
  383. </executions>
  384. </plugin>
  385. <plugin>
  386. <groupId>org.apache.maven.plugins</groupId>
  387. <artifactId>maven-resources-plugin</artifactId>
  388. <executions>
  389. <execution>
  390. <id>copy-resource</id>
  391. <phase>package</phase>
  392. <goals>
  393. <goal>copy-resources</goal>
  394. </goals>
  395. <configuration>
  396. <outputDirectory>
  397. ${project.build.directory}
  398. </outputDirectory>
  399. <resources>
  400. <resource>
  401. <directory>${project.basedir}/src/main/resources/${profiles.active}</directory>
  402. <includes>
  403. <include>Dockerfile</include>
  404. </includes>
  405. </resource>
  406. </resources>
  407. </configuration>
  408. </execution>
  409. </executions>
  410. </plugin>
  411. </plugins>
  412. </build>
  413. </project>