pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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 http://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.1.2.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.chinaitop</groupId>
  12. <artifactId>depot-system</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <packaging>jar</packaging>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. <maven.compiler.target>1.8</maven.compiler.target>
  19. <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.cloud</groupId>
  28. <artifactId>spring-cloud-starter-config</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.mybatis.spring.boot</groupId>
  32. <artifactId>mybatis-spring-boot-starter</artifactId>
  33. <version>1.3.2</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.cloud</groupId>
  37. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  38. </dependency>
  39. <!-- 引入spring boot自带的pagehelper插件 -->
  40. <dependency>
  41. <groupId>com.github.pagehelper</groupId>
  42. <artifactId>pagehelper-spring-boot-starter</artifactId>
  43. <version>1.2.3</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.commons</groupId>
  47. <artifactId>commons-lang3</artifactId>
  48. <version>3.7</version>
  49. </dependency>
  50. <!-- https://mvnrepository.com/artifact/org.apache.directory.studio/org.apache.commons.codec -->
  51. <dependency>
  52. <groupId>org.apache.directory.studio</groupId>
  53. <artifactId>org.apache.commons.codec</artifactId>
  54. <version>1.8</version>
  55. </dependency>
  56. <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 -->
  57. <dependency>
  58. <groupId>io.springfox</groupId>
  59. <artifactId>springfox-swagger2</artifactId>
  60. <version>2.9.2</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>io.springfox</groupId>
  64. <artifactId>springfox-swagger-ui</artifactId>
  65. <version>2.9.2</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>mysql</groupId>
  69. <artifactId>mysql-connector-java</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-test</artifactId>
  74. <scope>test</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-data-redis</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.session</groupId>
  82. <artifactId>spring-session-data-redis</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-test</artifactId>
  87. <scope>test</scope>
  88. </dependency>
  89. </dependencies>
  90. <dependencyManagement>
  91. <dependencies>
  92. <dependency>
  93. <groupId>org.springframework.cloud</groupId>
  94. <artifactId>spring-cloud-dependencies</artifactId>
  95. <version>${spring-cloud.version}</version>
  96. <type>pom</type>
  97. <scope>import</scope>
  98. </dependency>
  99. </dependencies>
  100. </dependencyManagement>
  101. <build>
  102. <finalName>${project.artifactId}</finalName>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-maven-plugin</artifactId>
  107. <configuration>
  108. <classifier>exec</classifier>
  109. </configuration>
  110. </plugin>
  111. </plugins>
  112. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  113. <resources>
  114. <resource>
  115. <directory>src/main/java</directory>
  116. <includes>
  117. <include>**/*.properties</include>
  118. <include>**/*.xml</include>
  119. </includes>
  120. <filtering>false</filtering>
  121. </resource>
  122. <resource>
  123. <directory>src/main/resources</directory>
  124. </resource>
  125. </resources>
  126. </build>
  127. <repositories>
  128. <repository>
  129. <id>spring-milestones</id>
  130. <name>Spring Milestones</name>
  131. <url>https://repo.spring.io/milestone</url>
  132. </repository>
  133. </repositories>
  134. </project>