2019-02-01 21:06:59 +08:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
~ Copyright (c) 2019-2020, 冷冷 (wangiegie@gmail.com).
|
|
|
|
|
~ <p>
|
|
|
|
|
~ Licensed under the GNU Lesser General Public License 3.0 (the "License");
|
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
|
~ <p>
|
|
|
|
|
~ https://www.gnu.org/licenses/lgpl.html
|
|
|
|
|
~ <p>
|
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
|
~ limitations under the License.
|
|
|
|
|
-->
|
|
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig</artifactId>
|
2019-10-05 06:33:05 +08:00
|
|
|
|
<version>2.4.3</version>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
<name>${project.artifactId}</name>
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
<url>https://www.pig4cloud.com</url>
|
|
|
|
|
|
|
|
|
|
<properties>
|
2019-10-05 06:33:05 +08:00
|
|
|
|
<spring-boot.version>2.1.9.RELEASE</spring-boot.version>
|
2019-09-17 09:48:59 +08:00
|
|
|
|
<spring-cloud.version>Greenwich.SR3</spring-cloud.version>
|
2019-06-25 12:06:07 +08:00
|
|
|
|
<spring-platform.version>Cairo-SR8</spring-platform.version>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
2019-07-09 10:53:56 +08:00
|
|
|
|
<spring-boot-admin.version>2.1.6</spring-boot-admin.version>
|
2019-10-05 06:33:05 +08:00
|
|
|
|
<hutool.version>4.6.8</hutool.version>
|
2019-09-17 09:48:59 +08:00
|
|
|
|
<mybatis-plus.version>3.2.0</mybatis-plus.version>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
<kaptcha.version>0.0.9</kaptcha.version>
|
|
|
|
|
<velocity.version>1.7</velocity.version>
|
|
|
|
|
<jasypt.version>2.1.0</jasypt.version>
|
2019-06-25 12:06:07 +08:00
|
|
|
|
<security.oauth.version>2.3.6.RELEASE</security.oauth.version>
|
2019-02-23 21:59:12 +08:00
|
|
|
|
<!--zipkin2.12.x需要此版本jooq-->
|
2019-07-09 10:53:56 +08:00
|
|
|
|
<jooq.version>3.11.11</jooq.version>
|
2019-02-23 21:59:12 +08:00
|
|
|
|
<zipkin.version>2.12.2</zipkin.version>
|
|
|
|
|
<zipkin-storage-mysql.version>2.8.4</zipkin-storage-mysql.version>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!--eureka 客户端-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--配置文件处理器-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.ulisesbocchio</groupId>
|
|
|
|
|
<artifactId>jasypt-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${jasypt.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--监控-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--监控客户端-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>de.codecentric</groupId>
|
|
|
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
|
|
|
<version>${spring-boot-admin.version}</version>
|
|
|
|
|
</dependency>
|
2019-02-23 21:59:12 +08:00
|
|
|
|
<!--服务链路追踪-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-sleuth</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-sleuth-zipkin</artifactId>
|
|
|
|
|
</dependency>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
<!--断路器依赖-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--Lombok-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--测试依赖-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
|
<module>pig-eureka</module>
|
|
|
|
|
<module>pig-config</module>
|
|
|
|
|
<module>pig-gateway</module>
|
|
|
|
|
<module>pig-auth</module>
|
|
|
|
|
<module>pig-upms</module>
|
|
|
|
|
<module>pig-common</module>
|
|
|
|
|
<module>pig-visual</module>
|
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.spring.platform</groupId>
|
|
|
|
|
<artifactId>platform-bom</artifactId>
|
|
|
|
|
<version>${spring-platform.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
|
<version>${spring-cloud.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
2019-04-02 21:44:49 +08:00
|
|
|
|
<!--稳定版本,替代spring security bom内置-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.security.oauth</groupId>
|
|
|
|
|
<artifactId>spring-security-oauth2</artifactId>
|
|
|
|
|
<version>${security.oauth.version}</version>
|
|
|
|
|
</dependency>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<finalName>${project.name}</finalName>
|
2019-06-25 12:06:07 +08:00
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
<pluginManagement>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<finalName>${project.build.finalName}</finalName>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</pluginManagement>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<version>3.8.0</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<target>${maven.compiler.target}</target>
|
|
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>pl.project13.maven</groupId>
|
|
|
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
|
|
|
<version>2.2.5</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
<repositories>
|
2019-03-05 23:12:20 +08:00
|
|
|
|
<!--阿里云主仓库,代理了maven central和jcenter仓库-->
|
2019-02-01 21:06:59 +08:00
|
|
|
|
<repository>
|
|
|
|
|
<id>aliyun</id>
|
|
|
|
|
<name>aliyun</name>
|
2019-03-05 23:12:20 +08:00
|
|
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</snapshots>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
</repository>
|
2019-03-05 23:12:20 +08:00
|
|
|
|
<!--阿里云代理Spring 官方仓库-->
|
2019-02-01 21:06:59 +08:00
|
|
|
|
<repository>
|
|
|
|
|
<id>spring-milestones</id>
|
|
|
|
|
<name>Spring Milestones</name>
|
2019-03-05 23:12:20 +08:00
|
|
|
|
<url>https://maven.aliyun.com/repository/spring</url>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</snapshots>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
</repository>
|
|
|
|
|
</repositories>
|
2019-03-05 23:12:20 +08:00
|
|
|
|
<pluginRepositories>
|
|
|
|
|
<!--阿里云代理Spring 插件仓库-->
|
|
|
|
|
<pluginRepository>
|
|
|
|
|
<id>spring-plugin</id>
|
|
|
|
|
<name>spring-plugin</name>
|
|
|
|
|
<url>https://maven.aliyun.com/repository/spring-plugin</url>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</pluginRepository>
|
|
|
|
|
</pluginRepositories>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
</project>
|