123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- ~
- ~ Copyright (c) 2018-2025, lengleng All rights reserved.
- ~
- ~ Redistribution and use in source and binary forms, with or without
- ~ modification, are permitted provided that the following conditions are met:
- ~
- ~ Redistributions of source code must retain the above copyright notice,
- ~ this list of conditions and the following disclaimer.
- ~ Redistributions in binary form must reproduce the above copyright
- ~ notice, this list of conditions and the following disclaimer in the
- ~ documentation and/or other materials provided with the distribution.
- ~ Neither the name of the pig4cloud.com developer nor the names of its
- ~ contributors may be used to endorse or promote products derived from
- ~ this software without specific prior written permission.
- ~ Author: lengleng (wangiegie@gmail.com)
- ~
- -->
- <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>pigx</artifactId>
- <version>2.0.0</version>
- <name>${project.artifactId}</name>
- <packaging>pom</packaging>
- <organization>
- <name>pig4cloud</name>
- <url>https://www.pig4cloud.com</url>
- </organization>
- <developers>
- <developer>
- <name>lengleng</name>
- <email>wangiegie@gmail.com</email>
- <roles>
- <role>leader</role>
- </roles>
- </developer>
- </developers>
- <properties>
- <spring-boot.version>2.0.7.RELEASE</spring-boot.version>
- <spring-cloud.version>Finchley.SR2</spring-cloud.version>
- <spring-platform.version>Cairo-SR6</spring-platform.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- <spring-boot-admin.version>2.0.4</spring-boot-admin.version>
- <hutool.version>4.3.0</hutool.version>
- <mybatis-plus.version>3.0.6</mybatis-plus.version>
- <kaptcha.version>0.0.9</kaptcha.version>
- <swagger.version>2.9.2</swagger.version>
- <curator.version>2.10.0</curator.version>
- <velocity.version>1.7</velocity.version>
- <lcn.version>4.1.0</lcn.version>
- <jasypt.version>2.1.0</jasypt.version>
- <ttl.version>2.10.1</ttl.version>
- <elastic-job-lite.version>2.1.5</elastic-job-lite.version>
- <mysql.connector.version>8.0.13</mysql.connector.version>
- <security.oauth.version>2.3.3.RELEASE</security.oauth.version>
- <jackson.modules>2.9.6</jackson.modules>
- <activiti.version>5.22.0</activiti.version>
- <docker.url>http://192.168.0.13:4243</docker.url>
- <registry.url>192.168.0.13:5000</registry.url>
- </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>
- <!--jasypt配置文件加解密-->
- <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>
- <!--断路器依赖-->
- <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>pigx-eureka</module>
- <module>pigx-config</module>
- <module>pigx-gateway</module>
- <module>pigx-auth</module>
- <module>pigx-upms</module>
- <module>pigx-common</module>
- <module>pigx-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>
- <!--jackson模块-->
- <dependency>
- <groupId>com.fasterxml.jackson.module</groupId>
- <artifactId>jackson-modules-java8</artifactId>
- <version>${jackson.modules}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <build>
- <finalName>${project.name}</finalName>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <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>
- <plugin>
- <groupId>com.spotify</groupId>
- <artifactId>docker-maven-plugin</artifactId>
- <version>0.4.12</version>
- <configuration>
- <imageName>${registry.url}/${project.name}:0.0.1</imageName>
- <dockerHost>${docker.url}</dockerHost>
- <dockerDirectory>${project.basedir}</dockerDirectory>
- <resources>
- <resource>
- <targetPath>/</targetPath>
- <directory>${project.build.directory}</directory>
- <include>${project.build.finalName}.jar</include>
- </resource>
- </resources>
- <serverId>docker-hub</serverId>
- <registryUrl>https://index.docker.io/v1/</registryUrl>
- </configuration>
- </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>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>pl.project13.maven</groupId>
- <artifactId>git-commit-id-plugin</artifactId>
- <version>2.2.5</version>
- </plugin>
- </plugins>
- </build>
- <repositories>
- <!--阿里云主仓库,代理了maven central和jcenter仓库-->
- <repository>
- <id>aliyun</id>
- <name>aliyun</name>
- <url>https://maven.aliyun.com/repository/public</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <!--阿里云代理Spring 官方仓库-->
- <repository>
- <id>spring-milestones</id>
- <name>Spring Milestones</name>
- <url>https://maven.aliyun.com/repository/spring</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <!--私服厂库-->
- <repository>
- <id>pigx</id>
- <name>pigx repository</name>
- <url>http://nexus.gitee.wang/repository/maven-public</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- </repositories>
- <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>
- </project>
|