pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  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. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.7.12</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.dragon.tj</groupId>
  12. <artifactId>portal-service</artifactId>
  13. <version>1.0.2</version>
  14. <name>Portal Service</name>
  15. <description>Portal Service</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <mapstruct.version>1.5.2.Final</mapstruct.version>
  19. <redisson.version>3.33.0</redisson.version>
  20. </properties>
  21. <dependencies>
  22. <!--tomcat-->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. </dependency>
  27. <!-- security -->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-security</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.security</groupId>
  34. <artifactId>spring-security-cas</artifactId>
  35. </dependency>
  36. <!-- <dependency>
  37. <groupId>org.jasig.cas.client</groupId>
  38. <artifactId>cas-client-support-springboot</artifactId>
  39. <version>3.6.4</version>
  40. </dependency> -->
  41. <dependency>
  42. <groupId>io.jsonwebtoken</groupId>
  43. <artifactId>jjwt</artifactId>
  44. <version>0.9.1</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.squareup.retrofit2</groupId>
  48. <artifactId>retrofit</artifactId>
  49. <version>2.9.0</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.squareup.retrofit2</groupId>
  53. <artifactId>converter-jackson</artifactId>
  54. <version>2.9.0</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.squareup.okhttp3</groupId>
  58. <artifactId>logging-interceptor</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.mysql</groupId>
  62. <artifactId>mysql-connector-j</artifactId>
  63. <scope>runtime</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-test</artifactId>
  68. <scope>test</scope>
  69. </dependency>
  70. <!-- mybatis-plus依赖-->
  71. <dependency>
  72. <groupId>com.baomidou</groupId>
  73. <artifactId>mybatis-plus-boot-starter</artifactId>
  74. <version>3.5.1</version>
  75. </dependency>
  76. <!-- MP代码生成器依赖-->
  77. <dependency>
  78. <groupId>com.baomidou</groupId>
  79. <artifactId>mybatis-plus-generator</artifactId>
  80. <version>3.5.1</version>
  81. </dependency>
  82. <!-- 模板引擎依赖-->
  83. <dependency>
  84. <groupId>org.apache.velocity</groupId>
  85. <artifactId>velocity-engine-core</artifactId>
  86. <version>2.3</version>
  87. </dependency>
  88. <!-- lombok -->
  89. <dependency>
  90. <groupId>org.projectlombok</groupId>
  91. <artifactId>lombok</artifactId>
  92. <optional>true</optional>
  93. </dependency>
  94. <!--aspect-->
  95. <dependency>
  96. <groupId>org.aspectj</groupId>
  97. <artifactId>aspectjweaver</artifactId>
  98. <version>1.9.7</version>
  99. </dependency>
  100. <!--validate-->
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-starter-validation</artifactId>
  104. </dependency>
  105. <!--hutool-->
  106. <dependency>
  107. <groupId>cn.hutool</groupId>
  108. <artifactId>hutool-all</artifactId>
  109. <version>5.5.8</version>
  110. </dependency>
  111. <!--kafka-->
  112. <dependency>
  113. <groupId>org.springframework.kafka</groupId>
  114. <artifactId>spring-kafka</artifactId>
  115. </dependency>
  116. <!--fastjson-->
  117. <dependency>
  118. <groupId>com.alibaba</groupId>
  119. <artifactId>fastjson</artifactId>
  120. <version>1.2.78</version>
  121. </dependency>
  122. <!--redis start-->
  123. <!-- USE lettuce -->
  124. <dependency>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-starter-data-redis</artifactId>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.commons</groupId>
  130. <artifactId>commons-pool2</artifactId>
  131. </dependency>
  132. <!-- OR USE redisson -->
  133. <!-- <dependency> -->
  134. <!-- <groupId>org.redisson</groupId> -->
  135. <!-- <artifactId>redisson-spring-boot-starter</artifactId> -->
  136. <!-- <version>${redisson.version}</version> -->
  137. <!-- <exclusions> -->
  138. <!-- <exclusion> -->
  139. <!-- <groupId>org.redisson</groupId> -->
  140. <!-- <artifactId>redisson-spring-data-33</artifactId> -->
  141. <!-- </exclusion> -->
  142. <!-- <exclusion> -->
  143. <!-- <groupId>org.springframework.boot</groupId> -->
  144. <!-- <artifactId>spring-boot-starter-actuator</artifactId> -->
  145. <!-- </exclusion> -->
  146. <!-- </exclusions> -->
  147. <!-- </dependency> -->
  148. <!-- <dependency> -->
  149. <!-- <groupId>org.redisson</groupId> -->
  150. <!-- <artifactId>redisson-spring-data-27</artifactId> -->
  151. <!-- <version>${redisson.version}</version> -->
  152. <!-- </dependency> -->
  153. <!--redis end -->
  154. <!--apache-commons-->
  155. <dependency>
  156. <groupId>org.apache.commons</groupId>
  157. <artifactId>commons-collections4</artifactId>
  158. <version>4.4</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>com.google.guava</groupId>
  162. <artifactId>guava</artifactId>
  163. <version>23.0</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.mapstruct</groupId>
  167. <artifactId>mapstruct</artifactId>
  168. <version>${mapstruct.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.mapstruct</groupId>
  172. <artifactId>mapstruct-processor</artifactId>
  173. <version>${mapstruct.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>commons-codec</groupId>
  177. <artifactId>commons-codec</artifactId>
  178. </dependency>
  179. <!-- https://mvnrepository.com/artifact/xerces/xercesImpl -->
  180. <dependency>
  181. <groupId>xerces</groupId>
  182. <artifactId>xercesImpl</artifactId>
  183. <version>2.12.2</version>
  184. </dependency>
  185. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
  186. <dependency>
  187. <groupId>org.apache.poi</groupId>
  188. <artifactId>poi</artifactId>
  189. <version>5.2.0</version>
  190. </dependency>
  191. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
  192. <dependency>
  193. <groupId>org.apache.poi</groupId>
  194. <artifactId>poi-ooxml</artifactId>
  195. <version>5.2.0</version>
  196. </dependency>
  197. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  198. <dependency>
  199. <groupId>org.apache.commons</groupId>
  200. <artifactId>commons-lang3</artifactId>
  201. <version>3.12.0</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>eventpoi</groupId>
  205. <artifactId>eventpoi</artifactId>
  206. <version>0.1.3</version>
  207. <scope>system</scope>
  208. <systemPath>${project.basedir}/lib/eventpoi-0.1.3.jar</systemPath>
  209. </dependency>
  210. <dependency>
  211. <groupId>com.dragon</groupId>
  212. <artifactId>encrypt-dragon</artifactId>
  213. <version>0.1.1</version>
  214. <scope>system</scope>
  215. <systemPath>${project.basedir}/lib/encrypt_dragon.jar</systemPath>
  216. </dependency>
  217. <!-- https://mvnrepository.com/artifact/log4j/log4j -->
  218. <dependency>
  219. <groupId>log4j</groupId>
  220. <artifactId>log4j</artifactId>
  221. <version>1.2.17</version>
  222. </dependency>
  223. <!-- https://mvnrepository.com/artifact/com.lowagie/itext -->
  224. <dependency>
  225. <groupId>com.lowagie</groupId>
  226. <artifactId>itext</artifactId>
  227. <version>2.0.6</version>
  228. </dependency>
  229. </dependencies>
  230. <build>
  231. <plugins>
  232. <plugin>
  233. <groupId>org.springframework.boot</groupId>
  234. <artifactId>spring-boot-maven-plugin</artifactId>
  235. <configuration>
  236. <includeSystemScope>true</includeSystemScope>
  237. </configuration>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-compiler-plugin</artifactId>
  242. <configuration>
  243. <source>${java.version}</source>
  244. <target>${java.version}</target>
  245. <encoding>UTF-8</encoding>
  246. <annotationProcessorPaths>
  247. <!-- 此处,lombok依赖一定要放在,Mapstruct-processor依赖之前。否则,生成了maptruct的实现类,但该类只创建了对象,没有进行赋值 -->
  248. <path>
  249. <groupId>org.projectlombok</groupId>
  250. <artifactId>lombok</artifactId>
  251. <version>${lombok.version}</version>
  252. </path>
  253. <path>
  254. <groupId>org.projectlombok</groupId>
  255. <artifactId>lombok-mapstruct-binding</artifactId>
  256. <!-- 如果是0.1.0 有可能出现生成了MapStruct的实现类,但该类只创建了对象,没有进行赋值 -->
  257. <version>0.2.0</version>
  258. </path>
  259. <path>
  260. <groupId>org.mapstruct</groupId>
  261. <artifactId>mapstruct-processor</artifactId>
  262. <version>${mapstruct.version}</version>
  263. </path>
  264. </annotationProcessorPaths>
  265. </configuration>
  266. </plugin>
  267. <plugin>
  268. <groupId>org.apache.maven.plugins</groupId>
  269. <artifactId>maven-dependency-plugin</artifactId>
  270. </plugin>
  271. </plugins>
  272. </build>
  273. </project>