pom.xml 9.8 KB

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