pom.xml 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>lotteryActivity-parent</artifactId>
  7. <groupId>com.jpsoft.lotteryActivity</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>server</artifactId>
  12. <version>1.0.0</version>
  13. <name>web</name>
  14. <packaging>war</packaging>
  15. <description>周年抽奖活动后端</description>
  16. <properties>
  17. <maven.compiler.source>8</maven.compiler.source>
  18. <maven.compiler.target>8</maven.compiler.target>
  19. <alipay.version>4.23.21.ALL</alipay.version>
  20. <ijpay.version>2.7.3</ijpay.version>
  21. <netty-all.version>4.1.72.Final</netty-all.version>
  22. <poi.version>4.1.0</poi.version>
  23. <org.mapstruct.version>1.4.2.Final</org.mapstruct.version>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>com.jpsoft.lotteryActivity</groupId>
  28. <artifactId>common</artifactId>
  29. <version>1.0.0</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. <exclusions>
  35. <exclusion>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-tomcat</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.poi</groupId>
  43. <artifactId>poi</artifactId>
  44. <version>${poi.version}</version>
  45. <scope>compile</scope>
  46. <exclusions>
  47. <exclusion>
  48. <artifactId>commons-codec</artifactId>
  49. <groupId>commons-codec</groupId>
  50. </exclusion>
  51. </exclusions>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.poi</groupId>
  55. <artifactId>poi-scratchpad</artifactId>
  56. <version>${poi.version}</version>
  57. <scope>compile</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.poi</groupId>
  61. <artifactId>poi-ooxml</artifactId>
  62. <version>${poi.version}</version>
  63. <scope>compile</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.poi</groupId>
  67. <artifactId>poi-ooxml-schemas</artifactId>
  68. <version>${poi.version}</version>
  69. <!-- <scope>compile</scope>-->
  70. <exclusions>
  71. <exclusion>
  72. <groupId>commons-codec</groupId>
  73. <artifactId>commons-codec</artifactId>
  74. </exclusion>
  75. </exclusions>
  76. </dependency>
  77. <!--整合Knife4j-->
  78. <dependency>
  79. <groupId>com.github.xiaoymin</groupId>
  80. <artifactId>knife4j-spring-boot-starter</artifactId>
  81. <version>2.0.4</version>
  82. </dependency>
  83. <!--netty start-->
  84. <dependency>
  85. <groupId>io.netty</groupId>
  86. <artifactId>netty-all</artifactId>
  87. <version>${netty-all.version}</version>
  88. </dependency>
  89. <!--netty end-->
  90. <!--支付相关-->
  91. <dependency>
  92. <groupId>com.github.javen205</groupId>
  93. <artifactId>IJPay-All</artifactId>
  94. <version>${ijpay.version}</version>
  95. </dependency>
  96. <!--支付相关-->
  97. <dependency>
  98. <groupId>com.alipay.sdk</groupId>
  99. <artifactId>alipay-sdk-java</artifactId>
  100. <version>${alipay.version}</version>
  101. <exclusions>
  102. <exclusion>
  103. <artifactId>bcprov-jdk15on</artifactId>
  104. <groupId>org.bouncycastle</groupId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.taobao</groupId>
  110. <artifactId>taobao-sdk-java</artifactId>
  111. <version>1.0.0</version>
  112. <scope>compile</scope>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.github.dozermapper</groupId>
  116. <artifactId>dozer-core</artifactId>
  117. <version>6.4.1</version>
  118. <scope>compile</scope>
  119. </dependency>
  120. <!--缓存 start-->
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-starter-data-redis</artifactId>
  124. </dependency>
  125. <!--缓存 end-->
  126. <!-- zxing生成二维码 -->
  127. <dependency>
  128. <groupId>com.google.zxing</groupId>
  129. <artifactId>core</artifactId>
  130. <version>3.3.2</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.google.zxing</groupId>
  134. <artifactId>javase</artifactId>
  135. <version>3.3.2</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.pdfbox</groupId>
  139. <artifactId>pdfbox</artifactId>
  140. <version>2.0.17</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.bouncycastle</groupId>
  144. <artifactId>bcprov-jdk16</artifactId>
  145. <version>1.46</version>
  146. </dependency>
  147. </dependencies>
  148. <build>
  149. <finalName>lotteryActivity</finalName>
  150. <plugins>
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-dependency-plugin</artifactId>
  154. <executions>
  155. <execution>
  156. <id>copy-dependencies</id>
  157. <phase>package</phase>
  158. <goals>
  159. <goal>copy-dependencies</goal>
  160. </goals>
  161. <configuration>
  162. <outputDirectory>target/lib</outputDirectory>
  163. <excludeTransitive>false</excludeTransitive>
  164. <stripVersion>false</stripVersion>
  165. <includeScope>runtime</includeScope>
  166. </configuration>
  167. </execution>
  168. </executions>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.springframework.boot</groupId>
  172. <artifactId>spring-boot-maven-plugin</artifactId>
  173. <executions>
  174. <execution>
  175. <goals>
  176. <goal>repackage</goal>
  177. </goals>
  178. </execution>
  179. </executions>
  180. <configuration>
  181. <layout>ZIP</layout>
  182. <includes>
  183. <!-- 设置没有jar包-->
  184. <include>
  185. <groupId>nothing</groupId>
  186. <artifactId>nothing</artifactId>
  187. </include>
  188. </includes>
  189. <mainClass>com.jpsoft.lotteryActivity.LotteryActivityApplication</mainClass>
  190. </configuration>
  191. </plugin>
  192. <plugin>
  193. <groupId>org.apache.maven.plugins</groupId>
  194. <artifactId>maven-compiler-plugin</artifactId>
  195. <version>3.8.1</version>
  196. <configuration>
  197. <source>1.8</source>
  198. <target>1.8</target>
  199. <annotationProcessorPaths>
  200. <path>
  201. <groupId>org.mapstruct</groupId>
  202. <artifactId>mapstruct-processor</artifactId>
  203. <version>${org.mapstruct.version}</version>
  204. </path>
  205. <path>
  206. <groupId>org.projectlombok</groupId>
  207. <artifactId>lombok</artifactId>
  208. <version>${lombok.version}</version>
  209. </path>
  210. <!-- This is needed when using Lombok 1.18.16 and above -->
  211. <path>
  212. <groupId>org.projectlombok</groupId>
  213. <artifactId>lombok-mapstruct-binding</artifactId>
  214. <version>0.2.0</version>
  215. </path>
  216. </annotationProcessorPaths>
  217. </configuration>
  218. </plugin>
  219. </plugins>
  220. </build>
  221. <profiles>
  222. <profile>
  223. <id>dev</id>
  224. <dependencies>
  225. <dependency>
  226. <groupId>org.springframework.boot</groupId>
  227. <artifactId>spring-boot-starter-tomcat</artifactId>
  228. </dependency>
  229. </dependencies>
  230. <properties>
  231. <active.profile>dev</active.profile>
  232. </properties>
  233. <activation>
  234. <activeByDefault>true</activeByDefault>
  235. </activation>
  236. </profile>
  237. <profile>
  238. <id>test</id>
  239. <dependencies>
  240. <dependency>
  241. <groupId>org.springframework.boot</groupId>
  242. <artifactId>spring-boot-starter-tomcat</artifactId>
  243. </dependency>
  244. </dependencies>
  245. <properties>
  246. <active.profile>test</active.profile>
  247. </properties>
  248. </profile>
  249. <profile>
  250. <id>production</id>
  251. <properties>
  252. <active.profile>production</active.profile>
  253. </properties>
  254. <dependencies>
  255. <dependency>
  256. <groupId>org.springframework.boot</groupId>
  257. <artifactId>spring-boot-starter-tomcat</artifactId>
  258. </dependency>
  259. </dependencies>
  260. </profile>
  261. </profiles>
  262. </project>