pom.xml 6.1 KB

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