pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. <groupId>yike.example</groupId>
  6. <artifactId>demo</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>demo</name>
  10. <description>Demo project for Spring Boot</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>1.5.9.RELEASE</version>
  15. <relativePath/> <!-- lookup parent from repository -->
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-test</artifactId>
  30. <scope>test</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-web</artifactId>
  35. </dependency>
  36. <!-- redis -->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-data-redis</artifactId>
  40. </dependency>
  41. <!-- 数据层 -->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-jdbc</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.mybatis.spring.boot</groupId>
  48. <artifactId>mybatis-spring-boot-starter</artifactId>
  49. <version>1.0.0</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.mybatis</groupId>
  53. <artifactId>mybatis</artifactId>
  54. <version>3.2.8</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.mybatis</groupId>
  58. <artifactId>mybatis-spring</artifactId>
  59. <version>1.2.2</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.alibaba</groupId>
  63. <artifactId>druid</artifactId>
  64. <version>1.0.18</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.alibaba</groupId>
  68. <artifactId>druid-spring-boot-starter</artifactId>
  69. <version>1.1.0</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>mysql</groupId>
  73. <artifactId>mysql-connector-java</artifactId>
  74. </dependency>
  75. <!-- Swagger -->
  76. <dependency>
  77. <groupId>io.springfox</groupId>
  78. <artifactId>springfox-swagger-ui</artifactId>
  79. <version>2.6.0</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>io.springfox</groupId>
  83. <artifactId>springfox-swagger2</artifactId>
  84. <version>2.6.0</version>
  85. </dependency>
  86. <!-- amqp -->
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-amqp</artifactId>
  90. </dependency>
  91. <!-- util -->
  92. <dependency>
  93. <groupId>com.google.guava</groupId>
  94. <artifactId>guava</artifactId>
  95. <version>18.0</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.alibaba</groupId>
  99. <artifactId>fastjson</artifactId>
  100. <version>1.2.45</version>
  101. </dependency>
  102. <!-- 二方包 -->
  103. </dependencies>
  104. <build>
  105. <plugins>
  106. <plugin>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-maven-plugin</artifactId>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.codehaus.mojo</groupId>
  112. <artifactId>build-helper-maven-plugin</artifactId>
  113. <executions>
  114. <execution>
  115. <id>add-resource</id>
  116. <phase>generate-resources</phase>
  117. <goals>
  118. <goal>add-resource</goal>
  119. </goals>
  120. <configuration>
  121. <resources>
  122. <resource>
  123. <directory>src/main/java</directory>
  124. <includes>
  125. <include>yike/**/*.xml</include>
  126. </includes>
  127. </resource>
  128. </resources>
  129. </configuration>
  130. </execution>
  131. </executions>
  132. </plugin>
  133. </plugins>
  134. </build>
  135. <repositories>
  136. <repository>
  137. <id>maven-releases</id>
  138. <name>maven-releases</name>
  139. <url>http://nexus.huojutech.com/repository/maven-releases/</url>
  140. </repository>
  141. <repository>
  142. <id>maven-snapshots</id>
  143. <name>maven-snapshots</name>
  144. <url>http://nexus.huojutech.com/repository/maven-public/</url>
  145. <snapshots>
  146. <enabled>true</enabled>
  147. <updatePolicy>always</updatePolicy>
  148. <checksumPolicy>warn</checksumPolicy>
  149. </snapshots>
  150. </repository>
  151. </repositories>
  152. </project>