pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~
  4. ~ Copyright (c) 2018-2025, lengleng All rights reserved.
  5. ~
  6. ~ Redistribution and use in source and binary forms, with or without
  7. ~ modification, are permitted provided that the following conditions are met:
  8. ~
  9. ~ Redistributions of source code must retain the above copyright notice,
  10. ~ this list of conditions and the following disclaimer.
  11. ~ Redistributions in binary form must reproduce the above copyright
  12. ~ notice, this list of conditions and the following disclaimer in the
  13. ~ documentation and/or other materials provided with the distribution.
  14. ~ Neither the name of the pig4cloud.com developer nor the names of its
  15. ~ contributors may be used to endorse or promote products derived from
  16. ~ this software without specific prior written permission.
  17. ~ Author: lengleng (wangiegie@gmail.com)
  18. ~
  19. -->
  20. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  21. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  22. <modelVersion>4.0.0</modelVersion>
  23. <groupId>com.pig4cloud</groupId>
  24. <artifactId>pigx</artifactId>
  25. <version>${pigx.version}</version>
  26. <name>pigx</name>
  27. <packaging>pom</packaging>
  28. <url>https://www.pig4cloud.com</url>
  29. <parent>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-parent</artifactId>
  32. <version>2.0.3.RELEASE</version>
  33. <relativePath/>
  34. </parent>
  35. <properties>
  36. <pigx.version>1.2.4</pigx.version>
  37. <spring-boot.version>2.0.3.RELEASE</spring-boot.version>
  38. <spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
  39. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  40. <maven.compiler.source>1.8</maven.compiler.source>
  41. <maven.compiler.target>1.8</maven.compiler.target>
  42. <lombok.version>1.16.20</lombok.version>
  43. <monitor.version>2.0.1</monitor.version>
  44. <hutool.version>4.0.4</hutool.version>
  45. <mbp.boot.version>2.3</mbp.boot.version>
  46. <fastjson.version>1.2.47</fastjson.version>
  47. <kaptcha.version>0.0.9</kaptcha.version>
  48. <swagger.version>2.9.2</swagger.version>
  49. <security.oauth.version>2.3.3.RELEASE</security.oauth.version>
  50. </properties>
  51. <dependencies>
  52. <!--eureka 客户端-->
  53. <dependency>
  54. <groupId>org.springframework.cloud</groupId>
  55. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  56. </dependency>
  57. <!--配置文件处理器-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-configuration-processor</artifactId>
  61. <optional>true</optional>
  62. </dependency>
  63. <!--监控-->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-actuator</artifactId>
  67. </dependency>
  68. <!--监控客户端-->
  69. <dependency>
  70. <groupId>de.codecentric</groupId>
  71. <artifactId>spring-boot-admin-starter-client</artifactId>
  72. <version>${monitor.version}</version>
  73. </dependency>
  74. <!--断路器依赖-->
  75. <dependency>
  76. <groupId>org.springframework.cloud</groupId>
  77. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  78. </dependency>
  79. <!--Lombok-->
  80. <dependency>
  81. <groupId>org.projectlombok</groupId>
  82. <artifactId>lombok</artifactId>
  83. <version>${lombok.version}</version>
  84. </dependency>
  85. <!--测试依赖-->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-test</artifactId>
  89. <scope>test</scope>
  90. </dependency>
  91. </dependencies>
  92. <modules>
  93. <module>pigx-eureka</module>
  94. <module>pigx-config</module>
  95. <module>pigx-gateway</module>
  96. <module>pigx-auth</module>
  97. <module>pigx-upms</module>
  98. <module>pigx-common</module>
  99. <module>pigx-monitor</module>
  100. </modules>
  101. <dependencyManagement>
  102. <dependencies>
  103. <dependency>
  104. <groupId>io.spring.platform</groupId>
  105. <artifactId>platform-bom</artifactId>
  106. <version>Cairo-SR2</version>
  107. <type>pom</type>
  108. <scope>import</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.cloud</groupId>
  112. <artifactId>spring-cloud-dependencies</artifactId>
  113. <version>${spring-cloud.version}</version>
  114. <type>pom</type>
  115. <scope>import</scope>
  116. </dependency>
  117. </dependencies>
  118. </dependencyManagement>
  119. <build>
  120. <pluginManagement>
  121. <plugins>
  122. <plugin>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-maven-plugin</artifactId>
  125. <version>${spring-boot.version}</version>
  126. <executions>
  127. <execution>
  128. <goals>
  129. <goal>build-info</goal>
  130. </goals>
  131. </execution>
  132. </executions>
  133. </plugin>
  134. <plugin>
  135. <artifactId>maven-compiler-plugin</artifactId>
  136. <configuration>
  137. <target>${java.version}</target>
  138. <source>${java.version}</source>
  139. <encoding>UTF-8</encoding>
  140. </configuration>
  141. </plugin>
  142. </plugins>
  143. </pluginManagement>
  144. <plugins>
  145. <plugin>
  146. <groupId>pl.project13.maven</groupId>
  147. <artifactId>git-commit-id-plugin</artifactId>
  148. </plugin>
  149. </plugins>
  150. </build>
  151. <!-- 使用aliyun镜像 -->
  152. <repositories>
  153. <repository>
  154. <id>spring-milestones</id>
  155. <name>Spring Milestones</name>
  156. <url>https://repo.spring.io/libs-milestone</url>
  157. </repository>
  158. <repository>
  159. <id>aliyun</id>
  160. <name>aliyun</name>
  161. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  162. </repository>
  163. </repositories>
  164. </project>