mirror of
https://github.com/chillzhuang/blade-tool
synced 2024-12-12 20:29:27 +08:00
434 lines
17 KiB
XML
434 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
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>org.springblade</groupId>
|
|
<artifactId>blade-tool</artifactId>
|
|
<version>${revision}</version>
|
|
<packaging>pom</packaging>
|
|
<name>blade-tool</name>
|
|
<description>
|
|
blade-tool is a powerful toolbox for SpringBlade
|
|
</description>
|
|
<url>https://github.com/chillzhuang/blade-tool</url>
|
|
<developers>
|
|
<developer>
|
|
<id>smallchill</id>
|
|
<name>庄骞</name>
|
|
<email>smallchill@163.com</email>
|
|
<roles>
|
|
<role>Java Development Engineer</role>
|
|
</roles>
|
|
<timezone>2018-12-28 23:33:33</timezone>
|
|
</developer>
|
|
</developers>
|
|
<licenses>
|
|
<license>
|
|
<name>GNU LESSER GENERAL PUBLIC LICENSE</name>
|
|
<url>http://www.gnu.org/licenses/lgpl.html</url>
|
|
</license>
|
|
</licenses>
|
|
<scm>
|
|
<connection>https://github.com/chillzhuang/blade-tool.git</connection>
|
|
<developerConnection>https://github.com/chillzhuang</developerConnection>
|
|
<url>https://github.com/chillzhuang/blade-tool.git</url>
|
|
</scm>
|
|
|
|
<properties>
|
|
<!-- Blade-Tool Version -->
|
|
<revision>3.7.2.1</revision>
|
|
<!-- jdk Version -->
|
|
<java.version>1.8</java.version>
|
|
<maven.plugin.version>3.8.1</maven.plugin.version>
|
|
<maven-flatten.version>1.3.0</maven-flatten.version>
|
|
<knife4j.version>4.3.0</knife4j.version>
|
|
<mybatis.version>3.5.13</mybatis.version>
|
|
<mybatis.spring.version>2.1.1</mybatis.spring.version>
|
|
<mybatis.plus.version>3.5.4.1</mybatis.plus.version>
|
|
<mybatis.plus.generator.version>3.5.4.1</mybatis.plus.generator.version>
|
|
<protostuff.version>1.6.0</protostuff.version>
|
|
<disruptor.version>3.4.2</disruptor.version>
|
|
<guava.version>31.1-jre</guava.version>
|
|
<mica.auto.version>2.3.2</mica.auto.version>
|
|
|
|
<alibaba.cloud.version>2021.0.5.0</alibaba.cloud.version>
|
|
<alibaba.nacos.version>2.1.2</alibaba.nacos.version>
|
|
|
|
<spring.version>5.3.31</spring.version>
|
|
<spring.boot.version>2.7.18</spring.boot.version>
|
|
<spring.boot.admin.version>2.7.14</spring.boot.admin.version>
|
|
<spring.cloud.version>2021.0.8</spring.cloud.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
|
</properties>
|
|
|
|
<modules>
|
|
<module>blade-core-bom</module>
|
|
<module>blade-core-boot</module>
|
|
<module>blade-core-cloud</module>
|
|
<module>blade-core-develop</module>
|
|
<module>blade-core-launch</module>
|
|
<module>blade-core-loadbalancer</module>
|
|
<module>blade-core-log</module>
|
|
<module>blade-core-mybatis</module>
|
|
<module>blade-core-secure</module>
|
|
<module>blade-core-social</module>
|
|
<module>blade-core-swagger</module>
|
|
<module>blade-core-test</module>
|
|
<module>blade-core-tool</module>
|
|
<module>blade-core-oss</module>
|
|
<module>blade-core-transaction</module>
|
|
<module>blade-core-report</module>
|
|
<module>blade-core-datascope</module>
|
|
<module>blade-core-crypto</module>
|
|
</modules>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-framework-bom</artifactId>
|
|
<version>${spring.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<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>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>${spring.cloud.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
<version>${alibaba.cloud.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<artifactId>knife4j-dependencies</artifactId>
|
|
<version>${knife4j.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.dreamlu</groupId>
|
|
<artifactId>mica-auto</artifactId>
|
|
<version>${mica.auto.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- blade tool -->
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-launch</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-boot</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-cloud</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-tool</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-develop</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-secure</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-social</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-log</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-test</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-swagger</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-mybatis</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-oss</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-transaction</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-loadbalancer</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-report</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-datascope</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-crypto</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.retry</groupId>
|
|
<artifactId>spring-retry</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate.validator</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
<version>6.2.0.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.dreamlu</groupId>
|
|
<artifactId>mica-auto</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${project.name}</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/java</directory>
|
|
<includes>
|
|
<include>**/*.xml</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven.plugin.version}</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
<encoding>UTF-8</encoding>
|
|
<compilerArgs>
|
|
<arg>-parameters</arg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
<version>${maven-flatten.version}</version>
|
|
<configuration>
|
|
<updatePomFile>true</updatePomFile>
|
|
<flattenMode>oss</flattenMode>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>flatten</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>flatten</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>flatten.clean</id>
|
|
<phase>clean</phase>
|
|
<goals>
|
|
<goal>clean</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.9.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.18.1</version>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>aliyun-repos</id>
|
|
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>aliyun-plugin</id>
|
|
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>oss</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>oss</id>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<!-- Source -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- Javadoc -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.10.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- GPG -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.6</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- Nexus -->
|
|
<!--<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>1.6.8</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>oss</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>-->
|
|
</plugins>
|
|
</build>
|
|
<distributionManagement>
|
|
<!-- 这里的id oss需要和setting.xml里面server节点配置的id一致-->
|
|
<snapshotRepository>
|
|
<id>oss</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>oss</id>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|