pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.om</groupId>
  7. <artifactId>OperationSystem</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.4.10</version>
  13. </parent>
  14. <properties>
  15. <maven.compiler.source>8</maven.compiler.source>
  16. <maven.compiler.target>8</maven.compiler.target>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <mybatis-plus.version>3.5.3.1</mybatis-plus.version>
  19. <mysql.version>8.0.33</mysql.version>
  20. <knife4j.version>3.0.3</knife4j.version>
  21. <jwt.version>0.9.1</jwt.version>
  22. <fastjson.version>2.0.21</fastjson.version>
  23. <httpclient.version>4.5.10</httpclient.version>
  24. <commons-lang3.version>3.4</commons-lang3.version>
  25. <knife4j.version>3.0.3</knife4j.version>
  26. <hutool.version>5.8.21</hutool.version>
  27. <hibernate-validator.version>6.1.5.Final</hibernate-validator.version>
  28. </properties>
  29. <dependencies>
  30. <!--springboot中web启动器-->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. <exclusions>
  35. <exclusion>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-tomcat</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-undertow</artifactId>
  44. <exclusions>
  45. <!-- 排除 undertow-websockets-jsr 依赖 -->
  46. <exclusion>
  47. <groupId>io.undertow</groupId>
  48. <artifactId>undertow-websockets-jsr</artifactId>
  49. </exclusion>
  50. </exclusions>
  51. </dependency>
  52. <!--springboot中test启动-->
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-test</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. <!--mybatis-plus 持久层-->
  59. <dependency>
  60. <groupId>com.baomidou</groupId>
  61. <artifactId>mybatis-plus-boot-starter</artifactId>
  62. <version>${mybatis-plus.version}</version>
  63. </dependency>
  64. <!--mybatis-plus逆向工程-->
  65. <dependency>
  66. <groupId>com.baomidou</groupId>
  67. <artifactId>mybatis-plus-generator</artifactId>
  68. <version>${mybatis-plus.version}</version>
  69. </dependency>
  70. <!--mysql-->
  71. <dependency>
  72. <groupId>mysql</groupId>
  73. <artifactId>mysql-connector-java</artifactId>
  74. <version>${mysql.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.projectlombok</groupId>
  78. <artifactId>lombok</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-data-redis</artifactId>
  83. </dependency>
  84. <!--http客户端依赖-->
  85. <dependency>
  86. <groupId>org.apache.httpcomponents</groupId>
  87. <artifactId>httpclient</artifactId>
  88. <version>${httpclient.version}</version>
  89. </dependency>
  90. <!--common-lang工具包-->
  91. <dependency>
  92. <groupId>org.apache.commons</groupId>
  93. <artifactId>commons-lang3</artifactId>
  94. <version>${commons-lang3.version}</version>
  95. </dependency>
  96. <!--springboot整合knife4j依赖-->
  97. <dependency>
  98. <groupId>com.github.xiaoymin</groupId>
  99. <artifactId>knife4j-spring-boot-starter</artifactId>
  100. <version>${knife4j.version}</version>
  101. </dependency>
  102. <!--hutool工具包-->
  103. <dependency>
  104. <groupId>cn.hutool</groupId>
  105. <artifactId>hutool-all</artifactId>
  106. <version>${hutool.version}</version>
  107. </dependency>
  108. <!--jjwt-->
  109. <dependency>
  110. <groupId>io.jsonwebtoken</groupId>
  111. <artifactId>jjwt</artifactId>
  112. <version>${jwt.version}</version>
  113. </dependency>
  114. <!--fastjson-->
  115. <dependency>
  116. <groupId>com.alibaba</groupId>
  117. <artifactId>fastjson</artifactId>
  118. <version>${fastjson.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-starter-web</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.hibernate.validator</groupId>
  126. <artifactId>hibernate-validator</artifactId>
  127. <version>${hibernate-validator.version}</version>
  128. </dependency>
  129. <!--导出-->
  130. <dependency>
  131. <groupId>cn.afterturn</groupId>
  132. <artifactId>easypoi-spring-boot-starter</artifactId>
  133. <version>4.4.0</version>
  134. </dependency>
  135. <!--jwt-->
  136. <dependency>
  137. <groupId>com.auth0</groupId>
  138. <artifactId>java-jwt</artifactId>
  139. <version>3.18.3</version>
  140. </dependency>
  141. <!--Velocity引擎模板-->
  142. <dependency>
  143. <groupId>org.apache.velocity</groupId>
  144. <artifactId>velocity</artifactId>
  145. <version>1.7</version>
  146. </dependency>
  147. </dependencies>
  148. <build>
  149. <!--项目名称-->
  150. <finalName>operation-system</finalName>
  151. <plugins>
  152. <!-- 设置maven生命周期-->
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-surefire-plugin</artifactId>
  156. <configuration>
  157. <!--test失败后忽略-->
  158. <skipTests>true</skipTests>
  159. </configuration>
  160. </plugin>
  161. <!--项目打包时,把需要的各种依赖包都打到jar包中,jar包可以独立运行,使用“java -jar”可以直接运-->
  162. <plugin>
  163. <groupId>org.springframework.boot</groupId>
  164. <artifactId>spring-boot-maven-plugin</artifactId>
  165. </plugin>
  166. </plugins>
  167. </build>
  168. </project>