mirror of https://github.com/longtai-cn/hippo4j
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
338 lines
14 KiB
338 lines
14 KiB
<?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>General solution for asynchronous scenarios</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/magestacks</url>
|
|
</developer>
|
|
<developer>
|
|
<name>shining-stars-lk</name>
|
|
<email>1031900093@qq.com</email>
|
|
<url>https://github.com/shining-stars-lk</url>
|
|
</developer>
|
|
</developers>
|
|
|
|
<issueManagement>
|
|
<system>GitHub Issue</system>
|
|
<url>https://github.com/opengoofy/hippo4j/issues</url>
|
|
</issueManagement>
|
|
|
|
<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>
|
|
|
|
<modules>
|
|
<module>agent</module>
|
|
<module>dependencies</module>
|
|
<module>examples</module>
|
|
<module>infra</module>
|
|
<module>kernel</module>
|
|
<module>starters</module>
|
|
<module>tests</module>
|
|
<module>threadpool</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<revision>2.0.0-SNAPSHOT</revision>
|
|
<mockito.version>3.12.4</mockito.version>
|
|
<java.version>1.8</java.version>
|
|
<lombok.version>1.18.30</lombok.version>
|
|
<skip.maven.gpg.plugin>true</skip.maven.gpg.plugin>
|
|
<skip.spotless.apply>false</skip.spotless.apply>
|
|
<skip.checkstyle.check>true</skip.checkstyle.check>
|
|
<skip.jacoco.plugin>true</skip.jacoco.plugin>
|
|
<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.9.0</maven-compiler-plugin.version>
|
|
<maven-surefire-plugin.version>3.2.5</maven-surefire-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>
|
|
<spring-boot-maven-plugin.version>2.3.2.RELEASE</spring-boot-maven-plugin.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.hippo4j</groupId>
|
|
<artifactId>hippo4j-dependencies</artifactId>
|
|
<version>${revision}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${mockito.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-inline</artifactId>
|
|
<version>${mockito.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-junit-jupiter</artifactId>
|
|
<version>${mockito.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-maven-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>
|
|
build-info
|
|
</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</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}/format/hippo4j_spotless_formatter.xml</file>
|
|
</eclipse>
|
|
<licenseHeader>
|
|
<file>${maven.multiModuleProjectDirectory}/format/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}/checkstyle/hippo4j_checkstyle.xml
|
|
</configLocation>
|
|
<suppressionsLocation>
|
|
${maven.multiModuleProjectDirectory}/checkstyle/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>
|
|
<configuration>
|
|
<skip>${skip.jacoco.plugin}</skip>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>report</id>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
<phase>test</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
<configuration>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<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>
|