pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.ym</groupId>
  5. <artifactId>mec</artifactId>
  6. <version>1.0</version>
  7. <packaging>pom</packaging>
  8. <name>mec</name>
  9. <url>http://maven.apache.org</url>
  10. <dependencyManagement>
  11. <dependencies>
  12. <!--支持Spring Boot 2.1.X -->
  13. <dependency>
  14. <groupId>org.springframework.boot</groupId>
  15. <artifactId>spring-boot-dependencies</artifactId>
  16. <version>2.1.4.RELEASE</version>
  17. <type>pom</type>
  18. <scope>import</scope>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework.cloud</groupId>
  22. <artifactId>spring-cloud-dependencies</artifactId>
  23. <version>Greenwich.RELEASE</version>
  24. <type>pom</type>
  25. <scope>import</scope>
  26. </dependency>
  27. </dependencies>
  28. </dependencyManagement>
  29. <repositories>
  30. <repository>
  31. <id>spring-milestones</id>
  32. <name>Spring Milestones</name>
  33. <url>https://repo.spring.io/libs-milestone</url>
  34. <snapshots>
  35. <enabled>false</enabled>
  36. </snapshots>
  37. </repository>
  38. <repository>
  39. <id>sonatype-nexus-snapshots</id>
  40. <name>Sonatype Nexus Snapshots</name>
  41. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  42. <snapshots>
  43. <enabled>true</enabled>
  44. </snapshots>
  45. <releases>
  46. <enabled>false</enabled>
  47. </releases>
  48. </repository>
  49. </repositories>
  50. <pluginRepositories>
  51. <pluginRepository>
  52. <id>repository.spring.release</id>
  53. <name>Spring GA Repository</name>
  54. <url>https://repo.spring.io/plugins-release/</url>
  55. </pluginRepository>
  56. <pluginRepository>
  57. <id>jcenter-snapshots</id>
  58. <name>jcenter</name>
  59. <url>http://oss.jfrog.org/artifactory/oss-snapshot-local/</url>
  60. </pluginRepository>
  61. <pluginRepository>
  62. <id>jcenter-releases</id>
  63. <name>jcenter</name>
  64. <url>http://jcenter.bintray.com</url>
  65. <snapshots>
  66. <enabled>false</enabled>
  67. </snapshots>
  68. </pluginRepository>
  69. </pluginRepositories>
  70. <properties>
  71. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  72. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  73. <maven.compiler.source>1.8</maven.compiler.source>
  74. <maven.compiler.target>1.8</maven.compiler.target>
  75. </properties>
  76. <dependencies>
  77. <!-- SpringBoot整合Web组件 -->
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-web</artifactId>
  81. </dependency>
  82. <!--自省和监控的集成功能 -->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-actuator</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-test</artifactId>
  90. <scope>test</scope>
  91. </dependency>
  92. <!-- SpringBoot整合config组件 -->
  93. <!-- <dependency>
  94. <groupId>org.springframework.cloud</groupId>
  95. <artifactId>spring-cloud-starter-config</artifactId>
  96. </dependency> -->
  97. <!--注册中心 -->
  98. <!-- <dependency>
  99. <groupId>org.springframework.cloud</groupId>
  100. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  101. </dependency> -->
  102. <!--断路器 -->
  103. <dependency>
  104. <groupId>org.springframework.cloud</groupId>
  105. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-starter-security</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.commons</groupId>
  113. <artifactId>commons-lang3</artifactId>
  114. </dependency>
  115. <!--集群监控消息队列 -->
  116. <!-- <dependency>
  117. <groupId>org.springframework.cloud</groupId>
  118. <artifactId>spring-cloud-netflix-hystrix-stream</artifactId>
  119. </dependency> -->
  120. <!--日志跟踪 -->
  121. <!-- <dependency>
  122. <groupId>org.springframework.cloud</groupId>
  123. <artifactId>spring-cloud-starter-zipkin</artifactId>
  124. </dependency> -->
  125. <!--消息总线 -->
  126. <!-- <dependency>
  127. <groupId>org.springframework.cloud</groupId>
  128. <artifactId>spring-cloud-starter-bus-amqp</artifactId>
  129. </dependency> -->
  130. <!--使用 lombok 简化 Java 代码 -->
  131. <dependency>
  132. <groupId>org.projectlombok</groupId>
  133. <artifactId>lombok</artifactId>
  134. <scope>compile</scope>
  135. </dependency>
  136. <!--热加载 -->
  137. <!-- <dependency>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-devtools</artifactId>
  140. <scope>runtime</scope>
  141. <optional>true</optional>
  142. </dependency> -->
  143. <!--测试框架 -->
  144. <!-- <dependency>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-starter-test</artifactId>
  147. <scope>test</scope>
  148. </dependency> -->
  149. </dependencies>
  150. <build>
  151. <plugins>
  152. <plugin>
  153. <groupId>org.springframework.boot</groupId>
  154. <artifactId>spring-boot-maven-plugin</artifactId>
  155. <version>2.1.4.RELEASE</version>
  156. <executions>
  157. <execution>
  158. <goals>
  159. <goal>build-info</goal>
  160. <goal>repackage</goal>
  161. </goals>
  162. </execution>
  163. </executions>
  164. </plugin>
  165. </plugins>
  166. </build>
  167. <modules>
  168. <module>mec-eureka</module>
  169. <module>mec-config</module>
  170. <module>mec-monitor</module>
  171. <module>mec-zipkin</module>
  172. <module>mec-gateway</module>
  173. <module>mec-auth</module>
  174. <module>mec-common</module>
  175. <module>mec-util</module>
  176. <module>mec-task</module>
  177. <module>codegen</module>
  178. </modules>
  179. </project>