2016-11-18 07:01:31 -05:00
|
|
|
<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">
|
2015-07-23 09:54:23 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2016-03-06 04:49:59 -05:00
|
|
|
<groupId>com.baeldung</groupId>
|
2015-07-23 09:54:23 -04:00
|
|
|
<artifactId>spring-rest</artifactId>
|
|
|
|
<version>0.1-SNAPSHOT</version>
|
|
|
|
<name>spring-rest</name>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
<parent>
|
2017-05-14 12:01:35 -04:00
|
|
|
<artifactId>parent-boot-4</artifactId>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../parent-boot-4</relativePath>
|
2015-07-23 09:54:23 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- Spring Boot Dependencies -->
|
2016-10-11 04:38:51 -04:00
|
|
|
|
2015-07-23 09:54:23 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
2016-11-18 07:01:31 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
</dependency>
|
2017-03-27 15:28:15 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-test</artifactId>
|
|
|
|
</dependency>
|
2015-07-23 09:54:23 -04:00
|
|
|
|
|
|
|
<!-- Spring -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-oxm</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
2016-12-11 08:35:52 -05:00
|
|
|
<version>${commons-fileupload.version}</version>
|
2015-07-23 09:54:23 -04:00
|
|
|
</dependency>
|
|
|
|
<!-- web -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- marshalling -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
</dependency>
|
2016-10-11 04:38:51 -04:00
|
|
|
|
2016-09-12 06:55:46 -04:00
|
|
|
<dependency>
|
2016-11-18 07:01:31 -05:00
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
<artifactId>jackson-dataformat-xml</artifactId>
|
|
|
|
</dependency>
|
2015-07-23 09:54:23 -04:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
|
|
<artifactId>xstream</artifactId>
|
2016-12-11 08:35:52 -05:00
|
|
|
<version>${xstream.version}</version>
|
2015-07-23 09:54:23 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- util -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2016-12-11 08:35:52 -05:00
|
|
|
<version>${commons-lang3.version}</version>
|
2015-07-23 09:54:23 -04:00
|
|
|
</dependency>
|
|
|
|
|
2016-10-11 04:38:51 -04:00
|
|
|
<!-- okhttp -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
<version>${com.squareup.okhttp3.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2015-07-23 09:54:23 -04:00
|
|
|
<!-- test scoped -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2015-07-22 17:01:00 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
</dependency>
|
2016-06-30 20:07:08 -04:00
|
|
|
|
2016-11-18 07:01:31 -05:00
|
|
|
<!-- -->
|
2016-06-30 20:07:08 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
2016-12-11 08:35:52 -05:00
|
|
|
<version>${protobuf-java.version}</version>
|
2016-11-18 07:01:31 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.protobuf-java-format</groupId>
|
|
|
|
<artifactId>protobuf-java-format</artifactId>
|
2016-12-11 08:35:52 -05:00
|
|
|
<version>${protobuf-java-format.version}</version>
|
2016-06-30 20:07:08 -04:00
|
|
|
</dependency>
|
2016-10-11 04:38:51 -04:00
|
|
|
|
2016-06-30 20:07:08 -04:00
|
|
|
<dependency>
|
2016-07-11 17:00:07 -04:00
|
|
|
<groupId>com.esotericsoftware</groupId>
|
2016-06-30 20:07:08 -04:00
|
|
|
<artifactId>kryo</artifactId>
|
2016-12-11 08:35:52 -05:00
|
|
|
<version>${kryo.version}</version>
|
2016-06-30 20:07:08 -04:00
|
|
|
</dependency>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jayway.jsonpath</groupId>
|
|
|
|
<artifactId>json-path</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2015-07-23 09:54:23 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>spring-rest</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<plugins>
|
2017-05-14 12:01:35 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-07-23 09:54:23 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<version>${cargo-maven2-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<wait>true</wait>
|
|
|
|
<container>
|
2016-09-23 15:40:28 -04:00
|
|
|
<containerId>tomcat8x</containerId>
|
2015-07-23 09:54:23 -04:00
|
|
|
<type>embedded</type>
|
|
|
|
<systemProperties>
|
|
|
|
<!-- <provPersistenceTarget>cargo</provPersistenceTarget> -->
|
|
|
|
</systemProperties>
|
|
|
|
</container>
|
|
|
|
<configuration>
|
|
|
|
<properties>
|
|
|
|
<cargo.servlet.port>8082</cargo.servlet.port>
|
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
</build>
|
|
|
|
|
2016-09-23 06:26:48 -04:00
|
|
|
<profiles>
|
2016-11-18 07:01:31 -05:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>integration</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>none</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*IntegrationTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2016-09-23 06:26:48 -04:00
|
|
|
<profile>
|
|
|
|
<id>live</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start-server</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-server</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>none</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*LiveTest.java</include>
|
|
|
|
</includes>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<webTarget>cargo</webTarget>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-11-18 07:01:31 -05:00
|
|
|
|
2016-09-23 06:26:48 -04:00
|
|
|
</profiles>
|
2016-10-11 04:38:51 -04:00
|
|
|
|
2015-07-23 09:54:23 -04:00
|
|
|
<properties>
|
2016-12-11 08:35:52 -05:00
|
|
|
<commons-fileupload.version>1.3.2</commons-fileupload.version>
|
|
|
|
<kryo.version>4.0.0</kryo.version>
|
|
|
|
<protobuf-java-format.version>1.4</protobuf-java-format.version>
|
|
|
|
<protobuf-java.version>3.1.0</protobuf-java.version>
|
|
|
|
<commons-lang3.version>3.5</commons-lang3.version>
|
|
|
|
<xstream.version>1.4.9</xstream.version>
|
2016-12-28 09:35:14 -05:00
|
|
|
|
2015-07-23 09:54:23 -04:00
|
|
|
<!-- util -->
|
2016-11-18 07:01:31 -05:00
|
|
|
<guava.version>20.0</guava.version>
|
2015-07-23 09:54:23 -04:00
|
|
|
|
|
|
|
<!-- Maven plugins -->
|
2016-09-23 15:40:28 -04:00
|
|
|
<cargo-maven2-plugin.version>1.6.0</cargo-maven2-plugin.version>
|
2016-12-11 08:35:52 -05:00
|
|
|
<findbugs-maven-plugin.version>3.0.4</findbugs-maven-plugin.version>
|
2015-07-23 09:54:23 -04:00
|
|
|
|
2016-10-11 04:38:51 -04:00
|
|
|
<!-- okhttp -->
|
|
|
|
<com.squareup.okhttp3.version>3.4.1</com.squareup.okhttp3.version>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
|
|
|
<json.path.version>2.2.0</json.path.version>
|
2015-07-23 09:54:23 -04:00
|
|
|
</properties>
|
2016-11-18 07:01:31 -05:00
|
|
|
|
2016-06-30 20:07:08 -04:00
|
|
|
</project>
|