|
@@ -0,0 +1,185 @@
|
|
|
+<?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.sagacloud</groupId>
|
|
|
+ <artifactId>venders-dp</artifactId>
|
|
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
+ <packaging>war</packaging>
|
|
|
+ <name>venders-dp</name>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <finalName>venders-dp</finalName>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>2.5.1</version>
|
|
|
+ <inherited>true</inherited>
|
|
|
+ <configuration>
|
|
|
+ <source>1.8</source>
|
|
|
+ <target>1.8</target>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-maven-plugin</artifactId>
|
|
|
+ <version>9.4.0.RC3</version>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <excludes>
|
|
|
+ <exclude>test/*</exclude>
|
|
|
+ <exclude>prod/*</exclude>
|
|
|
+ </excludes>
|
|
|
+ </resource>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources/${profile.name}</directory>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ </build>
|
|
|
+
|
|
|
+ <repositories>
|
|
|
+
|
|
|
+ <repository>
|
|
|
+ <id>SagaCloud</id>
|
|
|
+ <name>SagaCloud</name>
|
|
|
+ <url>http://47.93.33.207:8082/repository/SagaCloud/</url>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </snapshots>
|
|
|
+ <releases>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </releases>
|
|
|
+ </repository>
|
|
|
+ <repository>
|
|
|
+ <id>mvnrepository</id>
|
|
|
+ <url>https://mvnrepository.com/</url>
|
|
|
+ </repository>
|
|
|
+ <repository>
|
|
|
+ <id>sonatype-nexus-snapshots</id>
|
|
|
+ <name>Sonatype Nexus Snapshots</name>
|
|
|
+ <url>http://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
+ </repository>
|
|
|
+ <repository>
|
|
|
+ <id>alimaven</id>
|
|
|
+ <name>aliyun maven</name>
|
|
|
+ <url>http://maven.aliyun.com/nexus/content/groups/public</url>
|
|
|
+ </repository>
|
|
|
+
|
|
|
+ </repositories>
|
|
|
+
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.glassfish.jersey</groupId>
|
|
|
+ <artifactId>jersey-bom</artifactId>
|
|
|
+ <version>${jersey.version}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.glassfish.jersey.containers</groupId>
|
|
|
+ <artifactId>jersey-container-servlet-core</artifactId>
|
|
|
+
|
|
|
+ <!-- artifactId>jersey-container-servlet</artifactId -->
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>com.google.guava</groupId>
|
|
|
+ <artifactId>guava</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <!-- uncomment this to get JSON support
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.glassfish.jersey.media</groupId>
|
|
|
+ <artifactId>jersey-media-moxy</artifactId>
|
|
|
+ </dependency>
|
|
|
+ -->
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.doctusoft</groupId>
|
|
|
+ <artifactId>json-schema-java7</artifactId>
|
|
|
+ <version>1.4.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.camel</groupId>
|
|
|
+ <artifactId>camel-core</artifactId>
|
|
|
+ <version>2.19.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.camel</groupId>
|
|
|
+ <artifactId>camel-http</artifactId>
|
|
|
+ <version>2.19.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.camel</groupId>
|
|
|
+ <artifactId>camel-servlet</artifactId>
|
|
|
+ <version>2.19.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.rjeschke</groupId>
|
|
|
+ <artifactId>txtmark</artifactId>
|
|
|
+ <version>0.13</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-io</groupId>
|
|
|
+ <artifactId>commons-io</artifactId>
|
|
|
+ <version>2.4</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- https://mvnrepository.com/artifact/org.json/json -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.json</groupId>
|
|
|
+ <artifactId>json</artifactId>
|
|
|
+ <version>20180130</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>slf4j-api</artifactId>
|
|
|
+ <version>1.7.5</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>slf4j-log4j12</artifactId>
|
|
|
+ <version>1.7.5</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-databind</artifactId>
|
|
|
+ <version>2.9.5</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ </dependencies>
|
|
|
+ <properties>
|
|
|
+ <jersey.version>2.25.1</jersey.version>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ </properties>
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <id>prod</id>
|
|
|
+ <properties>
|
|
|
+ <profile.name>prod</profile.name>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <id>test</id>
|
|
|
+ <properties>
|
|
|
+ <profile.name>test</profile.name>
|
|
|
+ </properties>
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+</project>
|