pom.xml 9.8 KB

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