|
|
|
<?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>
|
|
|
|
<url>https://github.com/opengoofy/hippo4j</url>
|
|
|
|
<description>Dynamic observable thread pool framework</description>
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>The Apache Software License, Version 2.0</name>
|
|
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<name>chen.ma</name>
|
|
|
|
<email>machen@apache.org</email>
|
|
|
|
<url>https://github.com/itmachen</url>
|
|
|
|
<organization>OpenGoofy</organization>
|
|
|
|
<organizationUrl>https://github.com/opengoofy</organizationUrl>
|
|
|
|
<roles>
|
|
|
|
<role>Project lead</role>
|
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<name>shining-stars-lk</name>
|
|
|
|
<email>1031900093@qq.com</email>
|
|
|
|
<url>https://github.com/shining-stars-lk</url>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
<module>hippo4j-adapter</module>
|
|
|
|
<module>hippo4j-common</module>
|
|
|
|
<module>hippo4j-core</module>
|
|
|
|
<module>hippo4j-example</module>
|
|
|
|
<module>hippo4j-message</module>
|
|
|
|
<module>hippo4j-monitor</module>
|
|
|
|
<module>hippo4j-server</module>
|
|
|
|
<module>hippo4j-spring-boot</module>
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<revision>1.4.3-SNAPSHOT</revision>
|
|
|
|
<!-- Tool -->
|
|
|
|
<dozer.version>6.5.0</dozer.version>
|
|
|
|
<caffeine.version>2.9.3</caffeine.version>
|
|
|
|
<hibernate-validator.version>6.1.5.Final</hibernate-validator.version>
|
|
|
|
<transmittable-thread-local.version>2.12.1</transmittable-thread-local.version>
|
|
|
|
<jjwt.version>0.9.0</jjwt.version>
|
|
|
|
<jackson-bom.version>2.11.1</jackson-bom.version>
|
|
|
|
<dingtalk-sdk.version>2.0.0</dingtalk-sdk.version>
|
|
|
|
<!-- Framework -->
|
|
|
|
<slf4j-api.version>1.7.7</slf4j-api.version>
|
|
|
|
<logback.version>1.2.9</logback.version>
|
|
|
|
<micrometer-core.version>1.8.4</micrometer-core.version>
|
|
|
|
<nacos-client.version>2.0.4</nacos-client.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>
|
|
|
|
<jetcd.version>0.7.3</jetcd.version>
|
|
|
|
<polaris.version>1.7.2</polaris.version>
|
|
|
|
<rocketmq.version>2.2.2</rocketmq.version>
|
|
|
|
<netty.version>4.1.56.Final</netty.version>
|
|
|
|
<tomcat-embed-core.version>9.0.55</tomcat-embed-core.version>
|
|
|
|
<curator-framework.version>5.1.0</curator-framework.version>
|
|
|
|
<spring-cloud-starter-stream-rocketmq.version>2.2.6.RELEASE</spring-cloud-starter-stream-rocketmq.version>
|
|
|
|
<spring-cloud-starter-stream-rabbitmq.version>3.1.0</spring-cloud-starter-stream-rabbitmq.version>
|
|
|
|
<spring-cloud-starter-netflix-hystrix.version>2.2.9.RELEASE</spring-cloud-starter-netflix-hystrix.version>
|
|
|
|
<spring-cloud-starter-alibaba-nacos-config.version>2.2.5.RELEASE</spring-cloud-starter-alibaba-nacos-config.version>
|
|
|
|
<!-- Maven & Build -->
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<skip.maven.gpg.plugin>true</skip.maven.gpg.plugin>
|
|
|
|
<skip.spotless.apply>false</skip.spotless.apply>
|
|
|
|
<skip.checkstyle.check>true</skip.checkstyle.check>
|
|
|
|
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
|
|
|
|
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
|
|
|
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<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>
|
|
|
|
<flatten-maven-plugin.version>1.1.0</flatten-maven-plugin.version>
|
|
|
|
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
|
|
|
|
<maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version>
|
|
|
|
<maven-source-plugin.version>2.4</maven-source-plugin.version>
|
|
|
|
<license-maven-plugin.version>3.0</license-maven-plugin.version>
|
|
|
|
<spotless-maven-plugin.version>2.22.1</spotless-maven-plugin.version>
|
|
|
|
<maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-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>cn.hippo4j</groupId>
|
|
|
|
<artifactId>hippo4j-message</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>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.github.ben-manes.caffeine</groupId>
|
|
|
|
<artifactId>caffeine</artifactId>
|
|
|
|
<version>${caffeine.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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
<version>${netty.version}</version>
|
|
|
|
</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>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
|
|
|
<Implementation-Title>${project.artifactId}</Implementation-Title>
|
|
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
|
|
<Build-Time>${maven.build.timestamp}</Build-Time>
|
|
|
|
<Built-By>chen.ma</Built-By>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
|
|
<version>${flatten-maven-plugin.version}</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>${maven-gpg-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skip.maven.gpg.plugin}</skip>
|
|
|
|
</configuration>
|
|
|
|
<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>${maven-javadoc-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<additionalparam>${javadoc.opts}</additionalparam>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>${maven-source-plugin.version}</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>
|
|
|
|
<applySkip>${skip.spotless.apply}</applySkip>
|
|
|
|
<java>
|
|
|
|
<eclipse>
|
|
|
|
<file>${maven.multiModuleProjectDirectory}/dev-support/hippo4j_spotless_formatter.xml</file>
|
|
|
|
</eclipse>
|
|
|
|
<licenseHeader>
|
|
|
|
<file>${maven.multiModuleProjectDirectory}/dev-support/license-header</file>
|
|
|
|
</licenseHeader>
|
|
|
|
</java>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>apply</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>compile</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<version>${maven-checkstyle-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<configLocation>${maven.multiModuleProjectDirectory}/dev-support/hippo4j_checkstyle.xml</configLocation>
|
|
|
|
<suppressionsLocation>${maven.multiModuleProjectDirectory}/dev-support/hippo4j_checkstyle_suppression.xml</suppressionsLocation>
|
|
|
|
<!-- Do not scan the test directory for now -->
|
|
|
|
<includeTestSourceDirectory>false</includeTestSourceDirectory>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<skip>${skip.checkstyle.check}</skip>
|
|
|
|
<violationSeverity>error</violationSeverity>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>validate</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>checkstyle</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<version>${jacoco-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>report</id>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>test</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git@github.com:opengoofy/hippo4j</connection>
|
|
|
|
<developerConnection>scm:git@github.com:opengoofy/hippo4j.git</developerConnection>
|
|
|
|
<url>git@github.com:opengoofy/hippo4j.git</url>
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
<issueManagement>
|
|
|
|
<system>Github Issue</system>
|
|
|
|
<url>https://github.com/opengoofy/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>
|