pom.xml 5.7 KB

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