pom.xml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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. <groupId>com.technology</groupId>
  6. <artifactId>technology-codetj</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>technology-codetj</name>
  9. <description>场所码</description>
  10. <url/>
  11. <licenses>
  12. <license/>
  13. </licenses>
  14. <developers>
  15. <developer/>
  16. </developers>
  17. <scm>
  18. <connection/>
  19. <developerConnection/>
  20. <tag/>
  21. <url/>
  22. </scm>
  23. <properties>
  24. <technology.version>0.0.1-SNAPSHOT</technology.version>
  25. <java.version>1.8</java.version>
  26. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  28. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  29. <spring-boot.version>2.5.15</spring-boot.version>
  30. <swagger.version>3.0.0</swagger.version>
  31. <pagehelper.boot.version>1.4.7</pagehelper.boot.version>
  32. <fastjson.version>2.0.53</fastjson.version>
  33. <commons.io.version>2.13.0</commons.io.version>
  34. <poi.version>4.1.2</poi.version>
  35. <jwt.version>0.9.1</jwt.version>
  36. <druid.version>1.2.23</druid.version>
  37. <!-- override dependency version -->
  38. <tomcat.version>9.0.96</tomcat.version>
  39. <logback.version>1.2.13</logback.version>
  40. <spring-framework.version>5.3.39</spring-framework.version>
  41. </properties>
  42. <modules>
  43. <module>technology-codetj-admin</module>
  44. <module>technology-codetj-common</module>
  45. </modules>
  46. <packaging>pom</packaging>
  47. <dependencyManagement>
  48. <dependencies>
  49. <!-- 覆盖SpringFramework的依赖配置-->
  50. <dependency>
  51. <groupId>org.springframework</groupId>
  52. <artifactId>spring-framework-bom</artifactId>
  53. <version>${spring-framework.version}</version>
  54. <type>pom</type>
  55. <scope>import</scope>
  56. </dependency>
  57. <!-- SpringBoot的依赖配置-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-dependencies</artifactId>
  61. <version>${spring-boot.version}</version>
  62. <type>pom</type>
  63. <scope>import</scope>
  64. </dependency>
  65. <!-- 覆盖SpringSecurity的依赖配置-->
  66. <!--<dependency>
  67. <groupId>org.springframework.security</groupId>
  68. <artifactId>spring-security-bom</artifactId>
  69. <version>${spring-security.version}</version>
  70. <type>pom</type>
  71. <scope>import</scope>
  72. </dependency>-->
  73. <!-- 覆盖logback的依赖配置-->
  74. <dependency>
  75. <groupId>ch.qos.logback</groupId>
  76. <artifactId>logback-core</artifactId>
  77. <version>${logback.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>ch.qos.logback</groupId>
  81. <artifactId>logback-classic</artifactId>
  82. <version>${logback.version}</version>
  83. </dependency>
  84. <!-- 覆盖tomcat的依赖配置-->
  85. <dependency>
  86. <groupId>org.apache.tomcat.embed</groupId>
  87. <artifactId>tomcat-embed-core</artifactId>
  88. <version>${tomcat.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.tomcat.embed</groupId>
  92. <artifactId>tomcat-embed-el</artifactId>
  93. <version>${tomcat.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.tomcat.embed</groupId>
  97. <artifactId>tomcat-embed-websocket</artifactId>
  98. <version>${tomcat.version}</version>
  99. </dependency>
  100. <!-- 阿里数据库连接池 -->
  101. <dependency>
  102. <groupId>com.alibaba</groupId>
  103. <artifactId>druid-spring-boot-starter</artifactId>
  104. <version>${druid.version}</version>
  105. </dependency>
  106. <!-- pagehelper 分页插件 -->
  107. <dependency>
  108. <groupId>com.github.pagehelper</groupId>
  109. <artifactId>pagehelper-spring-boot-starter</artifactId>
  110. <version>${pagehelper.boot.version}</version>
  111. </dependency>
  112. <!-- io常用工具类 -->
  113. <dependency>
  114. <groupId>commons-io</groupId>
  115. <artifactId>commons-io</artifactId>
  116. <version>${commons.io.version}</version>
  117. </dependency>
  118. <!-- excel工具 -->
  119. <dependency>
  120. <groupId>org.apache.poi</groupId>
  121. <artifactId>poi-ooxml</artifactId>
  122. <version>${poi.version}</version>
  123. </dependency>
  124. <!-- 阿里JSON解析器 -->
  125. <dependency>
  126. <groupId>com.alibaba.fastjson2</groupId>
  127. <artifactId>fastjson2</artifactId>
  128. <version>${fastjson.version}</version>
  129. </dependency>
  130. <!-- Token生成与解析-->
  131. <dependency>
  132. <groupId>io.jsonwebtoken</groupId>
  133. <artifactId>jjwt</artifactId>
  134. <version>${jwt.version}</version>
  135. </dependency>
  136. <!-- Swagger3依赖 -->
  137. <dependency>
  138. <groupId>io.springfox</groupId>
  139. <artifactId>springfox-boot-starter</artifactId>
  140. <version>${swagger.version}</version>
  141. <exclusions>
  142. <exclusion>
  143. <groupId>io.swagger</groupId>
  144. <artifactId>swagger-models</artifactId>
  145. </exclusion>
  146. </exclusions>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.bouncycastle</groupId>
  150. <artifactId>bcprov-jdk15on</artifactId>
  151. <version>1.70</version>
  152. </dependency>
  153. <!-- ZXing Core -->
  154. <dependency>
  155. <groupId>com.google.zxing</groupId>
  156. <artifactId>core</artifactId>
  157. <version>3.4.1</version>
  158. </dependency>
  159. <!-- QRGen -->
  160. <dependency>
  161. <groupId>net.glxn.qrgen</groupId>
  162. <artifactId>javase</artifactId>
  163. <version>2.0</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.httpcomponents</groupId>
  167. <artifactId>httpclient</artifactId>
  168. <version>4.5.13</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.springframework.data</groupId>
  172. <artifactId>spring-data-redis</artifactId>
  173. <version>2.6.5</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>io.lettuce</groupId>
  177. <artifactId>lettuce-core</artifactId>
  178. <version>6.1.5.RELEASE</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.technology</groupId>
  182. <artifactId>technology-codetj-admin</artifactId>
  183. <version>${technology.version}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.technology</groupId>
  187. <artifactId>technology-codetj-common</artifactId>
  188. <version>${technology.version}</version>
  189. </dependency>
  190. </dependencies>
  191. </dependencyManagement>
  192. <!--<build>
  193. <plugins>
  194. <plugin>
  195. <groupId>org.springframework.boot</groupId>
  196. <artifactId>spring-boot-maven-plugin</artifactId>
  197. </plugin>
  198. </plugins>
  199. </build>-->
  200. <build>
  201. <plugins>
  202. <plugin>
  203. <groupId>org.apache.maven.plugins</groupId>
  204. <artifactId>maven-compiler-plugin</artifactId>
  205. <version>3.1</version>
  206. <configuration>
  207. <source>${java.version}</source>
  208. <target>${java.version}</target>
  209. <encoding>${project.build.sourceEncoding}</encoding>
  210. </configuration>
  211. </plugin>
  212. </plugins>
  213. </build>
  214. <repositories>
  215. <repository>
  216. <id>public</id>
  217. <name>aliyun nexus</name>
  218. <url>https://maven.aliyun.com/repository/public</url>
  219. <releases>
  220. <enabled>true</enabled>
  221. </releases>
  222. </repository>
  223. </repositories>
  224. <pluginRepositories>
  225. <pluginRepository>
  226. <id>public</id>
  227. <name>aliyun nexus</name>
  228. <url>https://maven.aliyun.com/repository/public</url>
  229. <releases>
  230. <enabled>true</enabled>
  231. </releases>
  232. <snapshots>
  233. <enabled>false</enabled>
  234. </snapshots>
  235. </pluginRepository>
  236. </pluginRepositories>
  237. </project>