|
|
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-all</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>${project.artifactId}</name>
|
|
|
|
<description>Dynamic observable thread pool framework</description>
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
<module>hippo4j-adapter</module>
|
|
|
|
<module>hippo4j-auth</module>
|
|
|
|
<module>hippo4j-common</module>
|
|
|
|
<module>hippo4j-config</module>
|
|
|
|
<module>hippo4j-console</module>
|
|
|
|
<module>hippo4j-core</module>
|
|
|
|
<module>hippo4j-discovery</module>
|
|
|
|
<module>hippo4j-example</module>
|
|
|
|
<module>hippo4j-server</module>
|
|
|
|
<module>hippo4j-spring-boot</module>
|
|
|
|
<module>hippo4j-tool</module>
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<revision>1.3.0-alpha.2</revision>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
|
|
|
<dozer.version>6.5.0</dozer.version>
|
|
|
|
<guava.version>30.0-jre</guava.version>
|
|
|
|
<okhttp3.version>3.12.0</okhttp3.version>
|
|
|
|
<hutool-all.version>5.4.7</hutool-all.version>
|
|
|
|
<fastjson.version>1.2.75</fastjson.version>
|
|
|
|
<commons-lang3.version>3.12.0</commons-lang3.version>
|
|
|
|
<hibernate-validator.version>6.1.5.Final</hibernate-validator.version>
|
|
|
|
<transmittable-thread-local.version>2.12.1</transmittable-thread-local.version>
|
|
|
|
<forest.version>1.5.11</forest.version>
|
|
|
|
<jjwt.version>0.9.0</jjwt.version>
|
|
|
|
<jackson-bom.version>2.11.1</jackson-bom.version>
|
|
|
|
|
|
|
|
<dingtalk-sdk.version>1.0.1</dingtalk-sdk.version>
|
|
|
|
|
|
|
|
<slf4j-api.version>1.7.7</slf4j-api.version>
|
|
|
|
<logback.version>1.2.3</logback.version>
|
|
|
|
<mybatis-plus.version>3.4.2</mybatis-plus.version>
|
|
|
|
<spring-boot.version>2.3.2.RELEASE</spring-boot.version>
|
|
|
|
<apollo.version>1.9.1</apollo.version>
|
|
|
|
<rocketmq.version>2.2.2</rocketmq.version>
|
|
|
|
<spring-cloud-starter-stream-rocketmq.version>2.2.6.RELEASE</spring-cloud-starter-stream-rocketmq.version>
|
|
|
|
|
|
|
|
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
|
|
|
|
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
|
|
|
|
<!-- Maven -->
|
|
|
|
<maven.compiler.plugin.version>3.6.1</maven.compiler.plugin.version>
|
|
|
|
<maven.javadoc.plugin.version>3.0.0</maven.javadoc.plugin.version>
|
|
|
|
<maven.source.plugin.version>3.0.1</maven.source.plugin.version>
|
|
|
|
<maven.jar.plugin.version>3.0.2</maven.jar.plugin.version>
|
|
|
|
<license-maven-plugin.version>3.0</license-maven-plugin.version>
|
|
|
|
<spotless-maven-plugin.version>2.22.1</spotless-maven-plugin.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<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>com.squareup.okhttp3</groupId>
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
<version>${okhttp3.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
<version>${hutool-all.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>${commons-lang3.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-common</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-config</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-console</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-discovery</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>log-record-tool</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-auth</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-core</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-adapter-base</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-adapter-spring-cloud-stream-rocketmq</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-adapter-rocketmq</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-adapter-dubbo</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-adapter-kafka</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-adapter-rabbitmq</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-adapter-spring-cloud-stream-kafka</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.dozermapper</groupId>
|
|
|
|
<artifactId>dozer-core</artifactId>
|
|
|
|
<version>${dozer.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
<artifactId>alibaba-dingtalk-service-sdk</artifactId>
|
|
|
|
<version>${dingtalk-sdk.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>transmittable-thread-local</artifactId>
|
|
|
|
<version>${transmittable-thread-local.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate.validator</groupId>
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
<version>${hibernate-validator.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>${slf4j-api.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-core</artifactId>
|
|
|
|
<version>${logback.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>${logback.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-json</artifactId>
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven.compiler.plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
<compilerArgument>-Xlint:unchecked</compilerArgument>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>${maven.jar.plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
|
|
|
<Built-By>chen.ma</Built-By>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
|
|
<version>1.1.0</version>
|
|
|
|
<configuration>
|
|
|
|
<updatePomFile>true</updatePomFile>
|
|
|
|
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>flatten</id>
|
|
|
|
<goals>
|
|
|
|
<goal>flatten</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>flatten.clean</id>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>clean</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
<version>1.6</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>verify</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>3.0.0-M1</version>
|
|
|
|
<configuration>
|
|
|
|
<additionalparam>${javadoc.opts}</additionalparam>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<configuration>
|
|
|
|
<attach>true</attach>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.diffplug.spotless</groupId>
|
|
|
|
<artifactId>spotless-maven-plugin</artifactId>
|
|
|
|
<version>${spotless-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<java>
|
|
|
|
<eclipse>
|
|
|
|
<file>${maven.multiModuleProjectDirectory}/dev-support/hippo4j_spotless_formatter.xml</file>
|
|
|
|
</eclipse>
|
|
|
|
<licenseHeader>
|
|
|
|
<file>${maven.multiModuleProjectDirectory}/dev-support/license-header</file>
|
|
|
|
</licenseHeader>
|
|
|
|
</java>
|
|
|
|
<pom>
|
|
|
|
<sortPom>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<nrOfIndentSpace>4</nrOfIndentSpace>
|
|
|
|
<keepBlankLines>true</keepBlankLines>
|
|
|
|
<indentBlankLines>false</indentBlankLines>
|
|
|
|
<indentSchemaLocation>true</indentSchemaLocation>
|
|
|
|
<spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement>
|
|
|
|
<sortModules>false</sortModules>
|
|
|
|
<sortExecutions>false</sortExecutions>
|
|
|
|
<predefinedSortOrder>custom_1</predefinedSortOrder>
|
|
|
|
<expandEmptyElements>false</expandEmptyElements>
|
|
|
|
<sortProperties>false</sortProperties>
|
|
|
|
</sortPom>
|
|
|
|
</pom>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>apply</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>compile</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<url>https://github.com/longtai-cn/hippo4j</url>
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>The Apache Software License, Version 2.0</name>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<id>mabaiwan</id>
|
|
|
|
<name>chen.ma</name>
|
|
|
|
<email>m7798432@163.com</email>
|
|
|
|
<url>https://github.com/longtai-cn</url>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git@github.com:longtai-cn/hippo4j</connection>
|
|
|
|
<developerConnection>scm:git@github.com:longtai-cn/hippo4j.git</developerConnection>
|
|
|
|
<url>git@github.com:ma-bai-wan/hippo4j.git</url>
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
<issueManagement>
|
|
|
|
<system>Github Issue</system>
|
|
|
|
<url>https://github.com/longtai-cn/hippo4j/issues</url>
|
|
|
|
</issueManagement>
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>ossrh</id>
|
|
|
|
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>ossrh</id>
|
|
|
|
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>disable-javadoc-doclint</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>[1.8,)</jdk>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<javadoc.opts>-Xdoclint:none</javadoc.opts>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|