pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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.juxin</groupId>
  6. <artifactId>client</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>client</name>
  9. <description>client</description>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring-boot.version>2.6.13</spring-boot.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-websocket</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-test</artifactId>
  24. <scope>test</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>cn.hutool</groupId>
  28. <artifactId>hutool-all</artifactId>
  29. <version>5.8.32</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.apache.commons</groupId>
  33. <artifactId>commons-lang3</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.google.code.gson</groupId>
  37. <artifactId>gson</artifactId>
  38. <version>2.7</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.bouncycastle</groupId>
  42. <artifactId>bcprov-jdk15on</artifactId>
  43. <version>1.69</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.mybatis.spring.boot</groupId>
  47. <artifactId>mybatis-spring-boot-starter</artifactId>
  48. <version>2.1.0</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.slf4j</groupId>
  52. <artifactId>slf4j-log4j12</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.junit.jupiter</groupId>
  56. <artifactId>junit-jupiter</artifactId>
  57. <version>5.8.1</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>mysql</groupId>
  61. <artifactId>mysql-connector-java</artifactId>
  62. </dependency>
  63. <!-- 阿里数据库连接池 -->
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>druid-spring-boot-starter</artifactId>
  67. <version>1.2.11</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>junit</groupId>
  71. <artifactId>junit</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>junit</groupId>
  76. <artifactId>junit</artifactId>
  77. <version>4.13.2</version>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.projectlombok</groupId>
  82. <artifactId>lombok</artifactId>
  83. <optional>true</optional>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-devtools</artifactId>
  88. </dependency>
  89. </dependencies>
  90. <dependencyManagement>
  91. <dependencies>
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-dependencies</artifactId>
  95. <version>${spring-boot.version}</version>
  96. <type>pom</type>
  97. <scope>import</scope>
  98. </dependency>
  99. </dependencies>
  100. </dependencyManagement>
  101. <build>
  102. <plugins>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-compiler-plugin</artifactId>
  106. <version>3.8.1</version>
  107. <configuration>
  108. <source>1.8</source>
  109. <target>1.8</target>
  110. <encoding>UTF-8</encoding>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-maven-plugin</artifactId>
  116. <version>${spring-boot.version}</version>
  117. <configuration>
  118. <mainClass>com.juxin.client.ClientApplication</mainClass>
  119. <skip>true</skip>
  120. </configuration>
  121. <executions>
  122. <execution>
  123. <id>repackage</id>
  124. <goals>
  125. <goal>repackage</goal>
  126. </goals>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-maven-plugin</artifactId>
  133. <version>2.6.13</version><!-- 自己的SpingBoot版本 -->
  134. <configuration>
  135. <!-- 自己的启动类地址 -->
  136. <mainClass>com.juxin.client.ClientApplication</mainClass>
  137. </configuration>
  138. <executions>
  139. <execution>
  140. <id>repackage</id>
  141. <goals>
  142. <goal>repackage</goal>
  143. </goals>
  144. </execution>
  145. </executions>
  146. </plugin>
  147. </plugins>
  148. </build>
  149. </project>