pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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>0.0.1-SNAPSHOT</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.mysql</groupId>
  47. <artifactId>mysql-connector-j</artifactId>
  48. <scope>runtime</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-test</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <!-- mybatis-plus依赖-->
  56. <dependency>
  57. <groupId>com.baomidou</groupId>
  58. <artifactId>mybatis-plus-boot-starter</artifactId>
  59. <version>3.5.1</version>
  60. </dependency>
  61. <!-- MP代码生成器依赖-->
  62. <dependency>
  63. <groupId>com.baomidou</groupId>
  64. <artifactId>mybatis-plus-generator</artifactId>
  65. <version>3.5.1</version>
  66. </dependency>
  67. <!-- 模板引擎依赖-->
  68. <dependency>
  69. <groupId>org.apache.velocity</groupId>
  70. <artifactId>velocity-engine-core</artifactId>
  71. <version>2.3</version>
  72. </dependency>
  73. <!-- lombok -->
  74. <dependency>
  75. <groupId>org.projectlombok</groupId>
  76. <artifactId>lombok</artifactId>
  77. <optional>true</optional>
  78. </dependency>
  79. <!--aspect-->
  80. <dependency>
  81. <groupId>org.aspectj</groupId>
  82. <artifactId>aspectjweaver</artifactId>
  83. <version>1.9.7</version>
  84. </dependency>
  85. <!--validate-->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-validation</artifactId>
  89. </dependency>
  90. <!--hutool-->
  91. <dependency>
  92. <groupId>cn.hutool</groupId>
  93. <artifactId>hutool-all</artifactId>
  94. <version>5.5.8</version>
  95. </dependency>
  96. <!--kafka-->
  97. <dependency>
  98. <groupId>org.springframework.kafka</groupId>
  99. <artifactId>spring-kafka</artifactId>
  100. </dependency>
  101. <!--fastjson-->
  102. <dependency>
  103. <groupId>com.alibaba</groupId>
  104. <artifactId>fastjson</artifactId>
  105. <version>1.2.78</version>
  106. </dependency>
  107. <!--redis start-->
  108. <dependency>
  109. <groupId>org.springframework.data</groupId>
  110. <artifactId>spring-data-redis</artifactId>
  111. </dependency>
  112. <!--缓存依赖-->
  113. <dependency>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-starter-data-redis</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.commons</groupId>
  119. <artifactId>commons-pool2</artifactId>
  120. </dependency>
  121. <!--redis end -->
  122. <!--apache-commons-->
  123. <dependency>
  124. <groupId>org.apache.commons</groupId>
  125. <artifactId>commons-collections4</artifactId>
  126. <version>4.4</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.google.guava</groupId>
  130. <artifactId>guava</artifactId>
  131. <version>23.0</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.mapstruct</groupId>
  135. <artifactId>mapstruct</artifactId>
  136. <version>${mapstruct.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.mapstruct</groupId>
  140. <artifactId>mapstruct-processor</artifactId>
  141. <version>${mapstruct.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>commons-codec</groupId>
  145. <artifactId>commons-codec</artifactId>
  146. </dependency>
  147. </dependencies>
  148. <build>
  149. <plugins>
  150. <plugin>
  151. <groupId>org.springframework.boot</groupId>
  152. <artifactId>spring-boot-maven-plugin</artifactId>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-compiler-plugin</artifactId>
  157. <configuration>
  158. <source>${java.version}</source>
  159. <target>${java.version}</target>
  160. <encoding>UTF-8</encoding>
  161. <annotationProcessorPaths>
  162. <!-- 此处,lombok依赖一定要放在,Mapstruct-processor依赖之前。否则,生成了maptruct的实现类,但该类只创建了对象,没有进行赋值 -->
  163. <path>
  164. <groupId>org.projectlombok</groupId>
  165. <artifactId>lombok</artifactId>
  166. <version>${lombok.version}</version>
  167. </path>
  168. <path>
  169. <groupId>org.projectlombok</groupId>
  170. <artifactId>lombok-mapstruct-binding</artifactId>
  171. <!-- 如果是0.1.0 有可能出现生成了MapStruct的实现类,但该类只创建了对象,没有进行赋值 -->
  172. <version>0.2.0</version>
  173. </path>
  174. <path>
  175. <groupId>org.mapstruct</groupId>
  176. <artifactId>mapstruct-processor</artifactId>
  177. <version>${mapstruct.version}</version>
  178. </path>
  179. </annotationProcessorPaths>
  180. </configuration>
  181. </plugin>
  182. </plugins>
  183. </build>
  184. </project>