pom.xml 5.4 KB

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