pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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.4.3</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.td</groupId>
  12. <artifactId>boss</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>boss</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.projectlombok</groupId>
  26. <artifactId>lombok</artifactId>
  27. <optional>true</optional>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-test</artifactId>
  32. <scope>test</scope>
  33. </dependency>
  34. <!--热部署工具dev-tools-->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-devtools</artifactId>
  38. <optional>true</optional>
  39. <scope>runtime</scope>
  40. </dependency>
  41. <!-- security安全校验 -->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-security</artifactId>
  45. </dependency>
  46. <!--jwt-->
  47. <dependency>
  48. <groupId>io.jsonwebtoken</groupId>
  49. <artifactId>jjwt</artifactId>
  50. <version>0.9.1</version>
  51. </dependency>
  52. <!-- thymeleaf模板 -->
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  56. </dependency>
  57. <!--添加springdata-jpa依赖 -->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-data-jpa</artifactId>
  61. </dependency>
  62. <!--添加MySQL驱动依赖 -->
  63. <dependency>
  64. <groupId>mysql</groupId>
  65. <artifactId>mysql-connector-java</artifactId>
  66. <version>8.0.13</version>
  67. </dependency>
  68. <!-- CopyUtil需要用到 -->
  69. <dependency>
  70. <groupId>commons-beanutils</groupId>
  71. <artifactId>commons-beanutils</artifactId>
  72. <version>1.8.0</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>commons-collections</groupId>
  76. <artifactId>commons-collections</artifactId>
  77. <version>3.2.2</version>
  78. </dependency>
  79. <!-- springboot websocket -->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-websocket</artifactId>
  83. </dependency>
  84. <!-- Base64编码需要 -->
  85. <dependency>
  86. <groupId>org.apache.directory.studio</groupId>
  87. <artifactId>org.apache.commons.codec</artifactId>
  88. <version>1.8</version>
  89. </dependency>
  90. <!--提供更多的加密、填充方式-->
  91. <dependency>
  92. <groupId>org.bouncycastle</groupId>
  93. <artifactId>bcprov-jdk16</artifactId>
  94. <version>1.46</version>
  95. </dependency>
  96. <!--aop 面向切面-->
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-aop</artifactId>
  100. </dependency>
  101. <!--https://github.com/oshi/oshi。-->
  102. <dependency>
  103. <groupId>com.github.oshi</groupId>
  104. <artifactId>oshi-json</artifactId>
  105. <version>3.6.1</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.alibaba</groupId>
  109. <artifactId>fastjson</artifactId>
  110. <version>1.2.60</version>
  111. </dependency>
  112. </dependencies>
  113. <build>
  114. <finalName>TDBoss</finalName>
  115. <plugins>
  116. <plugin>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-maven-plugin</artifactId>
  119. <configuration>
  120. <excludes>
  121. <exclude>
  122. <groupId>org.projectlombok</groupId>
  123. <artifactId>lombok</artifactId>
  124. </exclude>
  125. </excludes>
  126. </configuration>
  127. </plugin>
  128. <!-- 跳过启动测试 -->
  129. <plugin>
  130. <groupId>org.apache.maven.plugins</groupId>
  131. <artifactId>maven-surefire-plugin</artifactId>
  132. <configuration>
  133. <skipTests>true</skipTests>
  134. </configuration>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. </project>