<?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>com.codingapi</groupId>
|
<artifactId>tx-lcn</artifactId>
|
<version>4.1.0</version>
|
<packaging>pom</packaging>
|
|
<name>tx-lcn</name>
|
<url>https://github.com/codingapi/tx-lcn</url>
|
<description>tx-lcn project for LCN</description>
|
|
<modules>
|
<module>tx-client</module>
|
<module>tx-manager</module>
|
|
<module>transaction-dubbo</module>
|
<module>transaction-springcloud</module>
|
<module>transaction-motan</module>
|
|
<module>tx-plugins-db</module>
|
</modules>
|
|
<properties>
|
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<maven.compile.source>1.7</maven.compile.source>
|
<maven.compile.target>1.7</maven.compile.target>
|
<java.version>1.7</java.version>
|
<maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
|
|
<lcn.last.version>4.1.0</lcn.last.version>
|
</properties>
|
|
|
|
<licenses>
|
<license>
|
<name>The Apache License, Version 2.0</name>
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
</license>
|
</licenses>
|
<developers>
|
<developer>
|
<name>lorne</name>
|
<email>1991wangliang@gmail.com</email>
|
<roles>
|
<role>developer</role>
|
</roles>
|
<timezone>+8</timezone>
|
</developer>
|
</developers>
|
|
<scm>
|
<connection>scm:git:https://github.com/codingapi/tx-lcn.git</connection>
|
<developerConnection>scm:git:https://github.com/codingapi/tx-lcn.git</developerConnection>
|
<url>https://github.com/codingapi/tx-lcn</url>
|
<tag>v${project.version}</tag>
|
</scm>
|
|
<distributionManagement>
|
<snapshotRepository>
|
<id>ossrh</id>
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
</snapshotRepository>
|
<repository>
|
<id>ossrh</id>
|
<name>Maven Central Staging Repository</name>
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
</repository>
|
</distributionManagement>
|
|
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
<version>${maven-compiler-plugin.version}</version>
|
<configuration>
|
<source>${maven.compile.source}</source>
|
<target>${maven.compile.target}</target>
|
<encoding>${project.build.sourceEncoding}</encoding>
|
</configuration>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-source-plugin</artifactId>
|
<version>2.4</version>
|
<executions>
|
<execution>
|
<id>attach-sources</id>
|
<goals>
|
<goal>jar-no-fork</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
|
|
<plugin>
|
<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-javadoc-plugin</artifactId>
|
<version>2.10.3</version>
|
<executions>
|
<execution>
|
<id>attach-javadocs</id>
|
<goals>
|
<goal>jar</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
|
<!--手动打包时,将下面的plugin注释掉-->
|
|
<!--<plugin>-->
|
<!--<groupId>org.apache.maven.plugins</groupId>-->
|
<!--<artifactId>maven-gpg-plugin</artifactId>-->
|
<!--<version>1.6</version>-->
|
<!--<executions>-->
|
<!--<execution>-->
|
<!--<id>sign-artifacts</id>-->
|
<!--<phase>verify</phase>-->
|
<!--<goals>-->
|
<!--<goal>sign</goal>-->
|
<!--</goals>-->
|
<!--</execution>-->
|
<!--</executions>-->
|
<!--</plugin>-->
|
|
</plugins>
|
</build>
|
|
</project>
|