pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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.4.2</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. <monitor.version>2.0.1</monitor.version>
  43. <hutool.version>4.1.4</hutool.version>
  44. <mbp.boot.version>2.3</mbp.boot.version>
  45. <kaptcha.version>0.0.9</kaptcha.version>
  46. <swagger.version>2.9.2</swagger.version>
  47. <elastic-job.version>2.0.0</elastic-job.version>
  48. <curator.version>2.10.0</curator.version>
  49. <velocity.version>1.7</velocity.version>
  50. <elastic-job-lite.version>2.1.5</elastic-job-lite.version>
  51. <security.oauth.version>2.3.3.RELEASE</security.oauth.version>
  52. </properties>
  53. <dependencies>
  54. <!--eureka 客户端-->
  55. <dependency>
  56. <groupId>org.springframework.cloud</groupId>
  57. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  58. </dependency>
  59. <!--配置文件处理器-->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-configuration-processor</artifactId>
  63. <optional>true</optional>
  64. </dependency>
  65. <!--监控-->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-actuator</artifactId>
  69. </dependency>
  70. <!--监控客户端-->
  71. <dependency>
  72. <groupId>de.codecentric</groupId>
  73. <artifactId>spring-boot-admin-starter-client</artifactId>
  74. <version>${monitor.version}</version>
  75. </dependency>
  76. <!--断路器依赖-->
  77. <dependency>
  78. <groupId>org.springframework.cloud</groupId>
  79. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  80. </dependency>
  81. <!--Lombok-->
  82. <dependency>
  83. <groupId>org.projectlombok</groupId>
  84. <artifactId>lombok</artifactId>
  85. </dependency>
  86. <!--测试依赖-->
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-test</artifactId>
  90. <scope>test</scope>
  91. </dependency>
  92. </dependencies>
  93. <modules>
  94. <module>pigx-eureka</module>
  95. <module>pigx-config</module>
  96. <module>pigx-gateway</module>
  97. <module>pigx-auth</module>
  98. <module>pigx-upms</module>
  99. <module>pigx-common</module>
  100. <module>pigx-visual</module>
  101. </modules>
  102. <dependencyManagement>
  103. <dependencies>
  104. <dependency>
  105. <groupId>io.spring.platform</groupId>
  106. <artifactId>platform-bom</artifactId>
  107. <version>Cairo-SR2</version>
  108. <type>pom</type>
  109. <scope>import</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.springframework.cloud</groupId>
  113. <artifactId>spring-cloud-dependencies</artifactId>
  114. <version>${spring-cloud.version}</version>
  115. <type>pom</type>
  116. <scope>import</scope>
  117. </dependency>
  118. </dependencies>
  119. </dependencyManagement>
  120. <build>
  121. <pluginManagement>
  122. <plugins>
  123. <plugin>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-maven-plugin</artifactId>
  126. <version>${spring-boot.version}</version>
  127. <executions>
  128. <execution>
  129. <goals>
  130. <goal>build-info</goal>
  131. </goals>
  132. </execution>
  133. </executions>
  134. </plugin>
  135. <plugin>
  136. <artifactId>maven-compiler-plugin</artifactId>
  137. <configuration>
  138. <target>${java.version}</target>
  139. <source>${java.version}</source>
  140. <encoding>UTF-8</encoding>
  141. </configuration>
  142. </plugin>
  143. </plugins>
  144. </pluginManagement>
  145. <plugins>
  146. <plugin>
  147. <groupId>pl.project13.maven</groupId>
  148. <artifactId>git-commit-id-plugin</artifactId>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. <!-- 使用aliyun镜像 -->
  153. <repositories>
  154. <repository>
  155. <id>spring-milestones</id>
  156. <name>Spring Milestones</name>
  157. <url>https://repo.spring.io/libs-milestone</url>
  158. </repository>
  159. <repository>
  160. <id>aliyun</id>
  161. <name>aliyun</name>
  162. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  163. </repository>
  164. </repositories>
  165. </project>