hmily/pom.xml

322 lines
12 KiB
XML
Raw Normal View History

2017-09-28 14:37:13 +08:00
<?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>
2018-11-16 16:46:18 +08:00
<groupId>org.dromara</groupId>
<artifactId>hmily</artifactId>
2017-09-28 14:37:13 +08:00
<packaging>pom</packaging>
2020-07-30 22:04:22 +08:00
<version>2.1.0-SNAPSHOT</version>
2018-11-16 16:46:18 +08:00
<name>hmily</name>
2017-09-28 14:37:13 +08:00
<modules>
2018-11-16 16:46:18 +08:00
<module>hmily-common</module>
<module>hmily-core</module>
<module>hmily-annotation</module>
<module>hmily-spring-boot-starter</module>
2020-07-23 19:51:49 +08:00
<module>hmily-spi</module>
2020-07-27 14:55:13 +08:00
<module>hmily-serializer</module>
2020-07-27 21:18:26 +08:00
<module>hmily-repository</module>
<module>hmily-config</module>
2020-07-30 22:04:22 +08:00
<module>hmily-spring</module>
<module>hmily-rpc</module>
2020-08-03 12:14:52 +08:00
<module>hmily-tcc</module>
<module>hmily-tac</module>
2020-08-04 20:57:07 +08:00
<module>hmily-metrics</module>
2020-08-18 21:32:37 +08:00
<module>hmily-bom</module>
2020-08-19 20:22:54 +08:00
<module>hmily-all</module>
2017-09-28 14:37:13 +08:00
</modules>
2019-01-16 17:16:02 +08:00
<organization>
<name>dromara</name>
2020-08-18 21:32:37 +08:00
<url>https://dromara.org</url>
2019-01-16 17:16:02 +08:00
</organization>
2017-09-28 14:37:13 +08:00
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
2019-01-16 17:16:02 +08:00
<distribution>repo</distribution>
2017-09-28 14:37:13 +08:00
</license>
</licenses>
<scm>
2020-08-10 11:44:31 +08:00
<url>https://github.com/dromara/hmily.git</url>
<connection>scm:git:https://github.com/dromara/hmily</connection>
<developerConnection>scm:git:git@github.com:dromara/hmily</developerConnection>
2019-01-16 17:16:02 +08:00
<tag>${project.version}</tag>
2017-09-28 14:37:13 +08:00
</scm>
2019-01-16 17:16:02 +08:00
<issueManagement>
<system>GitHub Issues</system>
2020-08-10 11:44:31 +08:00
<url>https://github.com/dromara/hmily/issues</url>
2019-01-16 17:16:02 +08:00
</issueManagement>
2017-09-28 14:37:13 +08:00
<developers>
<developer>
<id>xiaoyu</id>
<name>xiaoyu(Myth)</name>
<email>549477611@qq.com</email>
2019-05-31 16:49:59 +08:00
<organization>dromara.org</organization>
2017-09-28 14:37:13 +08:00
<roles>
2020-08-10 11:44:31 +08:00
<role>author</role>
2017-09-28 14:37:13 +08:00
</roles>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdk.version>1.8</jdk.version>
<cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
2020-08-18 21:32:37 +08:00
<lombok.version>1.16.20</lombok.version>
<slf4j.version>1.7.7</slf4j.version>
<junit.version>4.12</junit.version>
<hamcrest.version>1.3</hamcrest.version>
<mockito.version>2.7.21</mockito.version>
<logback.version>1.2.0</logback.version>
<powermock.version>2.0.7</powermock.version>
2017-09-28 14:37:13 +08:00
</properties>
<dependencyManagement>
<dependencies>
<dependency>
2018-11-16 16:46:18 +08:00
<groupId>org.dromara</groupId>
2020-08-18 21:32:37 +08:00
<artifactId>hmily-bom</artifactId>
2017-09-28 14:37:13 +08:00
<version>${project.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
2019-01-16 17:16:02 +08:00
2020-07-23 19:51:49 +08:00
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
2020-08-18 21:32:37 +08:00
<version>${slf4j.version}</version>
2020-07-23 19:51:49 +08:00
</dependency>
2020-08-20 17:59:07 +08:00
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12 -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
2020-07-23 19:51:49 +08:00
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
2020-08-18 21:32:37 +08:00
<version>${slf4j.version}</version>
2020-07-23 19:51:49 +08:00
</dependency>
2020-08-20 17:59:07 +08:00
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
2020-07-23 19:51:49 +08:00
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
2020-08-18 21:32:37 +08:00
<version>${lombok.version}</version>
2020-07-23 19:51:49 +08:00
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
2020-08-18 21:32:37 +08:00
<version>${junit.version}</version>
<scope>test</scope>
2020-07-23 19:51:49 +08:00
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
2020-08-18 21:32:37 +08:00
<version>${hamcrest.version}</version>
<scope>test</scope>
2020-07-23 19:51:49 +08:00
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
2020-08-18 21:32:37 +08:00
<version>${mockito.version}</version>
<scope>test</scope>
<!--<exclusions>
2020-08-18 21:32:37 +08:00
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>-->
2020-07-23 19:51:49 +08:00
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
2020-08-18 21:32:37 +08:00
<version>${mockito.version}</version>
<scope>test</scope>
2020-07-23 19:51:49 +08:00
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito2</artifactId>
<version>${powermock.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>objenesis</artifactId>
<groupId>org.objenesis</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>${powermock.version}</version>
<scope>test</scope>
</dependency>
2020-07-23 19:51:49 +08:00
<!-- <dependency>-->
<!-- <groupId>ch.qos.logback</groupId>-->
<!-- <artifactId>logback-classic</artifactId>-->
<!-- </dependency>-->
</dependencies>
2019-04-12 18:44:19 +08:00
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
2019-01-16 17:16:02 +08:00
2017-09-28 14:37:13 +08:00
<build>
<plugins>
2019-11-19 10:29:28 +08:00
<!-- <plugin>
2019-04-12 18:44:19 +08:00
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>-->
2020-08-18 21:32:37 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
2017-09-28 14:37:13 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
2019-01-16 17:16:02 +08:00
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
2017-09-29 16:37:01 +08:00
</plugin>
2017-11-15 14:01:15 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
2019-01-16 17:16:02 +08:00
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
2017-11-15 14:01:15 +08:00
<executions>
<execution>
2019-01-16 17:16:02 +08:00
<phase>package</phase>
2017-11-15 14:01:15 +08:00
<goals>
2019-01-16 17:16:02 +08:00
<goal>jar</goal>
2017-11-15 14:01:15 +08:00
</goals>
</execution>
</executions>
</plugin>
2019-01-16 17:36:01 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<tagNameFormat>v@{project.version}</tagNameFormat>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.5</version>
</plugin>
2020-07-23 20:57:35 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
2020-07-30 22:04:22 +08:00
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version>
2020-07-23 20:57:35 +08:00
<configuration>
2020-07-30 22:04:22 +08:00
<!-- 略过整个单元测试的执行,不推荐 -->
<skip>true</skip>
2020-07-23 20:57:35 +08:00
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${cobertura-maven-plugin.version}</version>
<configuration>
<check>
<branchRate>85</branchRate>
<lineRate>85</lineRate>
<haltOnFailure>true</haltOnFailure>
<totalBranchRate>85</totalBranchRate>
<totalLineRate>85</totalLineRate>
<packageLineRate>85</packageLineRate>
<packageBranchRate>85</packageBranchRate>
</check>
<aggregate>true</aggregate>
<encoding>${project.build.sourceEncoding}</encoding>
<quiet>true</quiet>
<format>xml</format>
<instrumentation>
<ignoreTrivial>true</ignoreTrivial>
<ignoreMethodAnnotations>
<ignoreMethodAnnotation>lombok.Generated</ignoreMethodAnnotation>
</ignoreMethodAnnotations>
<excludes>
<exclude>org/dromara/hmily/**/*Test.class</exclude>
</excludes>
</instrumentation>
</configuration>
</plugin>
2020-08-21 15:40:51 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<configLocation>/script/hmily_checkstyle.xml</configLocation>
<includeTestSourceDirectory>false</includeTestSourceDirectory>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
2017-09-28 14:37:13 +08:00
</plugins>
</build>
2019-01-16 17:16:02 +08:00
2017-09-28 14:37:13 +08:00
</project>