<?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-manager</artifactId>
|
<version>4.1.0</version>
|
<packaging>jar</packaging>
|
|
<name>tx-manager</name>
|
<description>tx-manager</description>
|
|
<parent>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
<version>1.5.2.RELEASE</version>
|
<relativePath/> <!-- lookup parent from repository -->
|
</parent>
|
|
<properties>
|
<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.8</java.version>
|
<guava.version>19.0</guava.version>
|
<spring-cloud.version>Dalston.SR2</spring-cloud.version>
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-security</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>com.changhong.cloud.cosmos</groupId>
|
<artifactId>cosmos-config-client</artifactId>
|
<version>1.0.3</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.github.1991wangliang</groupId>
|
<artifactId>lorne_core</artifactId>
|
<version>1.0.0</version>
|
<exclusions>
|
<exclusion>
|
<groupId>org.slf4j</groupId>
|
<artifactId>*</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<dependency>
|
<groupId>com.ctrip.framework.apollo</groupId>
|
<artifactId>apollo-client</artifactId>
|
<version>1.1.1</version>
|
</dependency>
|
|
<dependency>
|
<groupId>io.netty</groupId>
|
<artifactId>netty-all</artifactId>
|
<version>4.1.12.Final</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.cloud</groupId>
|
<artifactId>spring-cloud-starter-eureka-server</artifactId>
|
<exclusions>
|
<exclusion>
|
<groupId>com.google.guava</groupId>
|
<artifactId>guava</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.cloud</groupId>
|
<artifactId>spring-cloud-starter-hystrix</artifactId>
|
</dependency>
|
|
<!--<dependency>-->
|
<!--<groupId>org.springframework.cloud</groupId>-->
|
<!--<artifactId>spring-cloud-starter-zookeeper-discovery</artifactId>-->
|
<!--</dependency>-->
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-aop</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-redis</artifactId>
|
<version>1.3.8.RELEASE</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
<!--<scope>provided</scope>-->
|
</dependency>
|
|
<dependency>
|
<groupId>com.google.guava</groupId>
|
<artifactId>guava</artifactId>
|
<version>${guava.version}</version>
|
</dependency>
|
|
</dependencies>
|
|
|
<dependencyManagement>
|
<dependencies>
|
<dependency>
|
<groupId>org.springframework.cloud</groupId>
|
<artifactId>spring-cloud-dependencies</artifactId>
|
<version>${spring-cloud.version}</version>
|
<type>pom</type>
|
<scope>import</scope>
|
</dependency>
|
</dependencies>
|
</dependencyManagement>
|
|
<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-deploy-plugin</artifactId>
|
<version>2.8.2</version>
|
<configuration>
|
<skip>true</skip>
|
</configuration>
|
</plugin>
|
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-jar-plugin</artifactId>
|
<version>2.6</version>
|
<configuration>
|
<archive>
|
<manifest>
|
<mainClass>com.codingapi.tm.TxManagerApplication</mainClass>
|
<addClasspath>true</addClasspath>
|
<classpathPrefix>lib/</classpathPrefix>
|
</manifest>
|
<manifestEntries>
|
<Class-Path>./</Class-Path>
|
</manifestEntries>
|
</archive>
|
<excludes>
|
<exclude>config/**</exclude>
|
</excludes>
|
</configuration>
|
</plugin>
|
|
<plugin>
|
<artifactId>maven-assembly-plugin</artifactId>
|
<configuration>
|
<appendAssemblyId>false</appendAssemblyId>
|
<descriptors>
|
<descriptor>src/main/build/package.xml</descriptor>
|
</descriptors>
|
</configuration>
|
<executions>
|
<execution>
|
<id>make-assembly</id>
|
<phase>package</phase>
|
<goals>
|
<goal>single</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
|
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
</plugin>
|
|
</plugins>
|
</build>
|
|
<repositories>
|
<repository>
|
<id>maven-public</id>
|
<name>maven-public</name>
|
<url>https://maven.changhong.io/nexus/content/groups/public/</url>
|
<releases>
|
<enabled>true</enabled>
|
</releases>
|
<snapshots>
|
<enabled>true</enabled>
|
</snapshots>
|
</repository>
|
</repositories>
|
|
</project>
|