2018-04-03 10:39:10 +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>
|
|
|
|
|
|
|
|
<groupId>com.educoder</groupId>
|
|
|
|
<artifactId>bridge</artifactId>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<swagger2.version>2.6.1</swagger2.version>
|
|
|
|
<spring.version>4.3.6.RELEASE</spring.version>
|
|
|
|
<javax.version>7.0</javax.version>
|
|
|
|
<commons-lang.version>2.6</commons-lang.version>
|
|
|
|
<commons-io.version>2.4</commons-io.version>
|
|
|
|
<slf4j.version>1.7.21</slf4j.version>
|
|
|
|
<fastjson.version>1.2.20</fastjson.version>
|
|
|
|
<codec.version>1.10</codec.version>
|
|
|
|
<jackson.version>2.8.6</jackson.version>
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<freemarker.version>2.3.25-incubating</freemarker.version>
|
|
|
|
<jsch.version>0.1.54</jsch.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
<artifactId>jedis</artifactId>
|
|
|
|
<version>2.9.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
|
<version>2.4.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.freemarker</groupId>
|
|
|
|
<artifactId>freemarker</artifactId>
|
|
|
|
<version>${freemarker.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.jcraft/jsch -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jcraft</groupId>
|
|
|
|
<artifactId>jsch</artifactId>
|
|
|
|
<version>${jsch.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
|
|
<version>${swagger2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
|
|
<version>${swagger2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-websocket</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax</groupId>
|
|
|
|
<artifactId>javaee-api</artifactId>
|
|
|
|
<version>${javax.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<version>${commons-lang.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>${commons-io.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
<version>${codec.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.12</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aop</artifactId>
|
|
|
|
<version>4.3.6.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
<artifactId>aspectjrt</artifactId>
|
|
|
|
<version>1.8.10</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aspects</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- logback -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>1.2.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.logback-extensions</groupId>
|
|
|
|
<artifactId>logback-ext-spring</artifactId>
|
|
|
|
<version>0.1.4</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>21.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.fabric8</groupId>
|
|
|
|
<artifactId>kubernetes-client</artifactId>
|
|
|
|
<version>2.6.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
<artifactId>docker-client</artifactId>
|
|
|
|
<version>8.9.0</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
2018-06-26 15:40:31 +08:00
|
|
|
<!-- quartz -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
|
|
<artifactId>quartz</artifactId>
|
|
|
|
<version>2.2.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
|
|
<artifactId>quartz-jobs</artifactId>
|
|
|
|
<version>2.2.2</version>
|
|
|
|
</dependency>
|
2019-04-10 09:03:18 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpasyncclient</artifactId>
|
|
|
|
<version>4.1.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore-nio</artifactId>
|
|
|
|
<version>4.4.9</version>
|
|
|
|
</dependency>
|
2018-06-26 15:40:31 +08:00
|
|
|
|
2018-04-03 10:39:10 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.18.1</version>
|
|
|
|
<configuration>
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!--<plugin>-->
|
|
|
|
<!--<groupId>org.apache.maven.plugins</groupId>-->
|
|
|
|
<!--<artifactId>maven-shade-plugin</artifactId>-->
|
|
|
|
<!--<version>3.0.0</version>-->
|
|
|
|
<!--<configuration>-->
|
|
|
|
<!--<createDependencyReducedPom>false</createDependencyReducedPom>-->
|
|
|
|
<!--</configuration>-->
|
|
|
|
<!--<executions>-->
|
|
|
|
<!--<execution>-->
|
|
|
|
<!--<phase>package</phase>-->
|
|
|
|
<!--<goals>-->
|
|
|
|
<!--<goal>shade</goal>-->
|
|
|
|
<!--</goals>-->
|
|
|
|
<!--<configuration>-->
|
|
|
|
<!--<transformers>-->
|
|
|
|
<!--<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">-->
|
|
|
|
<!--<resource>META-INF/spring.handlers</resource>-->
|
|
|
|
<!--</transformer>-->
|
|
|
|
<!--<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">-->
|
|
|
|
<!--<resource>META-INF/spring.schemas</resource>-->
|
|
|
|
<!--</transformer>-->
|
|
|
|
<!--</transformers>-->
|
|
|
|
<!--<filters>-->
|
|
|
|
<!--<filter>-->
|
|
|
|
<!--<artifact>*:*</artifact>-->
|
|
|
|
<!--<excludes>-->
|
|
|
|
<!--<exclude>META-INF/*.SF</exclude>-->
|
|
|
|
<!--<exclude>META-INF/*.DSA</exclude>-->
|
|
|
|
<!--<exclude>META-INF/*.RSA</exclude>-->
|
|
|
|
<!--</excludes>-->
|
|
|
|
<!--</filter>-->
|
|
|
|
<!--</filters>-->
|
|
|
|
<!--</configuration>-->
|
|
|
|
<!--</execution>-->
|
|
|
|
<!--</executions>-->
|
|
|
|
<!--</plugin>-->
|
|
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<configuration>
|
|
|
|
<address>0.0.0.0</address>
|
|
|
|
<port>9001</port>
|
|
|
|
<path>/</path>
|
|
|
|
<uriEncoding>UTF-8</uriEncoding>
|
|
|
|
<finalName>bridge</finalName>
|
|
|
|
<server>tomcat7</server>
|
2018-11-08 10:07:58 +08:00
|
|
|
<!--<systemProperties>-->
|
|
|
|
<!--<spring.profiles.active>local</spring.profiles.active>-->
|
|
|
|
<!--</systemProperties>-->
|
2018-04-03 10:39:10 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>compile</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>testCompile</id>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|