pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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.1</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.huimv</groupId>
  12. <artifactId>admin</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>admin</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.springframework.boot</groupId>
  26. <artifactId>spring-boot-devtools</artifactId>
  27. <scope>runtime</scope>
  28. <optional>false</optional>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-test</artifactId>
  33. <scope>test</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-web</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>junit</groupId>
  41. <artifactId>junit</artifactId>
  42. <version>4.12</version>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>log4j</groupId>
  47. <artifactId>log4j</artifactId>
  48. <version>1.2.17</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>log4j</groupId>
  52. <artifactId>apache-log4j-extras</artifactId>
  53. <version>1.1</version>
  54. <scope>compile</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.junit.jupiter</groupId>
  58. <artifactId>junit-jupiter-api</artifactId>
  59. <version>RELEASE</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.cloud</groupId>
  63. <artifactId>spring-cloud-openfeign-core</artifactId>
  64. <version>2.1.5.RELEASE</version>
  65. <scope>compile</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>mysql</groupId>
  69. <artifactId>mysql-connector-java</artifactId>
  70. <scope>runtime</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.projectlombok</groupId>
  74. <artifactId>lombok</artifactId>
  75. <optional>true</optional>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-data-jpa</artifactId>
  80. </dependency>
  81. <!--redis依赖-->
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-data-redis</artifactId>
  85. </dependency>
  86. <!-- spring session 与redis应用基本环境配置,需要开启redis后才可以使用,不然启动Spring boot会报错 -->
  87. <dependency>
  88. <groupId>org.springframework.session</groupId>
  89. <artifactId>spring-session-data-redis</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.alibaba</groupId>
  93. <artifactId>fastjson</artifactId>
  94. <version>1.2.62</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.mybatis</groupId>
  98. <artifactId>mybatis-spring</artifactId>
  99. <version>2.0.6</version>
  100. <scope>compile</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.mybatis</groupId>
  104. <artifactId>mybatis</artifactId>
  105. <version>3.5.6</version>
  106. <scope>compile</scope>
  107. </dependency>
  108. </dependencies>
  109. <build>
  110. <plugins>
  111. <plugin>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-maven-plugin</artifactId>
  114. <version>1.5.7.RELEASE</version>
  115. <configuration>
  116. <includeSystemScope>true</includeSystemScope>
  117. </configuration>
  118. <executions>
  119. <execution>
  120. <goals>
  121. <goal>repackage</goal>
  122. </goals>
  123. </execution>
  124. </executions>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-compiler-plugin</artifactId>
  129. <version>3.6.1</version>
  130. <configuration>
  131. <source>1.8</source>
  132. <target>1.8</target>
  133. </configuration>
  134. </plugin>
  135. <plugin>
  136. <artifactId>maven-assembly-plugin</artifactId>
  137. <version>2.3</version>
  138. <configuration>
  139. <descriptorRefs>
  140. <descriptorRef>jar-with-dependencies</descriptorRef>
  141. </descriptorRefs>
  142. </configuration>
  143. <executions>
  144. <execution>
  145. <phase>package</phase>
  146. <goals>
  147. <goal>single</goal>
  148. </goals>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. </plugins>
  153. </build>
  154. </project>