pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. <parent>
  5. <artifactId>product</artifactId>
  6. <groupId>com.huimv</groupId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <groupId>com.huimv</groupId>
  11. <artifactId>huimv-piglet</artifactId>
  12. <version>1.0-SNAPSHOT</version>
  13. <name>huimv-piglet</name>
  14. <description>慧牧猪仔项目</description>
  15. <packaging>jar</packaging>
  16. <!-- FIXME change it to the project's website -->
  17. <!--
  18. <url>http://www.example.com</url>
  19. <properties>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <maven.compiler.source>1.8</maven.compiler.source>
  22. <maven.compiler.target>1.8</maven.compiler.target>
  23. </properties>
  24. -->
  25. <properties>
  26. <java.version>1.8</java.version>
  27. <spring-cloud.version>Greenwich.SR5</spring-cloud.version>
  28. </properties>
  29. <dependencies>
  30. <dependency>
  31. <groupId>com.huimv</groupId>
  32. <artifactId>huimv-common</artifactId>
  33. <version>1.0-SNAPSHOT</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-amqp</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-data-jpa</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.cloud</groupId>
  49. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  50. </dependency>
  51. <!--spring boot2.x下 使用feign-->
  52. <dependency>
  53. <groupId>org.springframework.cloud</groupId>
  54. <artifactId>spring-cloud-starter-openfeign</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-data-jpa</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>mysql</groupId>
  62. <artifactId>mysql-connector-java</artifactId>
  63. <scope>runtime</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.projectlombok</groupId>
  67. <artifactId>lombok</artifactId>
  68. <optional>true</optional>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-test</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. </dependencies>
  76. <dependencyManagement>
  77. <dependencies>
  78. <dependency>
  79. <groupId>org.springframework.cloud</groupId>
  80. <artifactId>spring-cloud-dependencies</artifactId>
  81. <version>${spring-cloud.version}</version>
  82. <type>pom</type>
  83. <scope>import</scope>
  84. </dependency>
  85. </dependencies>
  86. </dependencyManagement>
  87. <build>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-maven-plugin</artifactId>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. <!--
  96. <dependencies>
  97. <dependency>
  98. <groupId>junit</groupId>
  99. <artifactId>junit</artifactId>
  100. <version>4.11</version>
  101. <scope>test</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.huimv</groupId>
  105. <artifactId>huimv-common</artifactId>
  106. <version>1.0-SNAPSHOT</version>
  107. </dependency>
  108. </dependencies>
  109. <build>
  110. <pluginManagement>
  111. <plugins>
  112. <plugin>
  113. <artifactId>maven-clean-plugin</artifactId>
  114. <version>3.1.0</version>
  115. </plugin>
  116. <plugin>
  117. <artifactId>maven-resources-plugin</artifactId>
  118. <version>3.0.2</version>
  119. </plugin>
  120. <plugin>
  121. <artifactId>maven-compiler-plugin</artifactId>
  122. <version>3.8.0</version>
  123. </plugin>
  124. <plugin>
  125. <artifactId>maven-surefire-plugin</artifactId>
  126. <version>2.22.1</version>
  127. </plugin>
  128. <plugin>
  129. <artifactId>maven-jar-plugin</artifactId>
  130. <version>3.0.2</version>
  131. </plugin>
  132. <plugin>
  133. <artifactId>maven-install-plugin</artifactId>
  134. <version>2.5.2</version>
  135. </plugin>
  136. <plugin>
  137. <artifactId>maven-deploy-plugin</artifactId>
  138. <version>2.8.2</version>
  139. </plugin>
  140. <plugin>
  141. <artifactId>maven-site-plugin</artifactId>
  142. <version>3.7.1</version>
  143. </plugin>
  144. <plugin>
  145. <artifactId>maven-project-info-reports-plugin</artifactId>
  146. <version>3.0.0</version>
  147. </plugin>
  148. </plugins>
  149. </pluginManagement>
  150. </build>
  151. -->
  152. </project>