pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.7.16</version>
  10. <relativePath/>
  11. </parent>
  12. <packaging>war</packaging>
  13. <groupId>com.gyt</groupId>
  14. <artifactId>fileAdmin</artifactId>
  15. <version>0.0.1-SNAPSHOT</version>
  16. <name>GYT_FileAdm</name>
  17. <description>GYT_FileAdm</description>
  18. <properties>
  19. <java.version>1.8</java.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. <!-- <exclusions>-->
  30. <!-- <exclusion>-->
  31. <!-- <groupId>org.springframework.boot</groupId>-->
  32. <!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
  33. <!-- </exclusion>-->
  34. <!-- </exclusions>-->
  35. </dependency>
  36. <!-- <dependency>-->
  37. <!-- <groupId>org.mybatis.spring.boot</groupId>-->
  38. <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
  39. <!-- <version>2.3.1</version>-->
  40. <!-- </dependency>-->
  41. <!-- SQL Server JDBC 驱动 -->
  42. <dependency>
  43. <groupId>com.microsoft.sqlserver</groupId>
  44. <artifactId>mssql-jdbc</artifactId>
  45. <scope>runtime</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.projectlombok</groupId>
  49. <artifactId>lombok</artifactId>
  50. <optional>true</optional>
  51. </dependency>
  52. <!-- <dependency>-->
  53. <!-- <groupId>org.springframework.boot</groupId>-->
  54. <!-- <artifactId>spring-boot-starter-test</artifactId>-->
  55. <!-- <scope>test</scope>-->
  56. <!-- </dependency>-->
  57. <!-- <dependency>-->
  58. <!-- <groupId>org.mybatis.spring.boot</groupId>-->
  59. <!-- <artifactId>mybatis-spring-boot-starter-test</artifactId>-->
  60. <!-- <version>2.3.1</version>-->
  61. <!-- <scope>test</scope>-->
  62. <!-- </dependency>-->
  63. <dependency>
  64. <groupId>com.baomidou</groupId>
  65. <artifactId>mybatis-plus-boot-starter</artifactId>
  66. <version>3.5.5</version>
  67. </dependency>
  68. <!--字符串处理-->
  69. <dependency>
  70. <groupId>org.apache.commons</groupId>
  71. <artifactId>commons-lang3</artifactId>
  72. <version>3.17.0</version>
  73. </dependency>
  74. <!--MD5加密-->
  75. <dependency>
  76. <groupId>commons-codec</groupId>
  77. <artifactId>commons-codec</artifactId>
  78. <version>1.17.1</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-validation</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.webjars</groupId>
  86. <artifactId>bootstrap</artifactId>
  87. <version>5.3.3</version>
  88. </dependency>
  89. <!--前端样式-->
  90. <dependency>
  91. <groupId>org.webjars.npm</groupId>
  92. <artifactId>chart.js</artifactId>
  93. <version>4.4.4</version>
  94. </dependency>
  95. <!-- Java EE 注解 API -->
  96. <dependency>
  97. <groupId>javax.annotation</groupId>
  98. <artifactId>javax.annotation-api</artifactId>
  99. <version>1.3.2</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.alibaba</groupId>
  103. <artifactId>fastjson</artifactId>
  104. <version>1.2.83</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.squareup.okhttp3</groupId>
  108. <artifactId>okhttp</artifactId>
  109. <version>4.9.3</version>
  110. </dependency>
  111. <!-- 排除嵌入式Tomcat -->
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-starter-tomcat</artifactId>
  115. <scope>provided</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>javax.servlet</groupId>
  119. <artifactId>javax.servlet-api</artifactId>
  120. <version>4.0.1</version>
  121. <scope>provided</scope>
  122. </dependency>
  123. </dependencies>
  124. <build>
  125. <resources>
  126. <resource>
  127. <directory>src/main/resources</directory>
  128. <includes>
  129. <include>**/*.*</include>
  130. </includes>
  131. </resource>
  132. </resources>
  133. <plugins>
  134. <plugin>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-maven-plugin</artifactId>
  137. <configuration>
  138. <excludes>
  139. <exclude>
  140. <groupId>org.projectlombok</groupId>
  141. <artifactId>lombok</artifactId>
  142. </exclude>
  143. </excludes>
  144. </configuration>
  145. </plugin>
  146. <!-- 添加 maven-war-plugin 配置 -->
  147. <plugin>
  148. <groupId>org.apache.maven.plugins</groupId>
  149. <artifactId>maven-war-plugin</artifactId>
  150. <version>3.3.2</version> <!-- 可以根据需要选择版本 -->
  151. <configuration>
  152. <!-- 你可以在这里添加其他配置选项,例如 -->
  153. <failOnMissingWebXml>false</failOnMissingWebXml>
  154. </configuration>
  155. </plugin>
  156. </plugins>
  157. </build>
  158. </project>