2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-05-17 10:53:25 -04: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">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-rest-simple</artifactId>
|
|
|
|
<version>0.1-SNAPSHOT</version>
|
|
|
|
<name>spring-rest-simple</name>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2024-03-22 13:56:27 -04:00
|
|
|
<artifactId>parent-boot-3</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2024-03-22 13:56:27 -04:00
|
|
|
<relativePath>../../parent-boot-3</relativePath>
|
2019-10-31 21:43:47 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- Spring Boot Dependencies -->
|
|
|
|
<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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- 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>
|
2024-03-09 09:47:37 -05:00
|
|
|
<version>${spring-oxm.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2024-03-22 13:56:27 -04:00
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-fileupload2-jakarta</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>${commons-fileupload.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2024-03-22 13:56:27 -04:00
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-fileupload2-jakarta-servlet6</artifactId>
|
|
|
|
<version>${commons-fileupload2-jakarta-servlet6.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<!-- marshalling -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
<artifactId>jackson-dataformat-xml</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
|
|
<artifactId>xstream</artifactId>
|
|
|
|
<version>${xstream.version}</version>
|
|
|
|
</dependency>
|
2024-03-22 13:56:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
|
|
<version>${jakarta.xml.bind-api.version}</version>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
<!-- 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>
|
|
|
|
<version>${commons-lang3.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- okhttp -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
<version>${com.squareup.okhttp3.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2024-03-22 13:56:27 -04:00
|
|
|
<groupId>io.rest-assured</groupId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<artifactId>rest-assured</artifactId>
|
2024-03-22 13:56:27 -04:00
|
|
|
<version>${rest-assured.version}</version>
|
|
|
|
<scope>test</scope>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
<version>${protobuf-java.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.protobuf-java-format</groupId>
|
|
|
|
<artifactId>protobuf-java-format</artifactId>
|
|
|
|
<version>${protobuf-java-format.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.esotericsoftware</groupId>
|
|
|
|
<artifactId>kryo</artifactId>
|
|
|
|
<version>${kryo.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jayway.jsonpath</groupId>
|
|
|
|
<artifactId>json-path</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2019-12-05 09:56:52 -05:00
|
|
|
<finalName>spring-rest-simple</finalName>
|
2019-10-31 21:43:47 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<version>${cargo-maven2-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<!--<wait>true</wait> caused errors on commit -->
|
|
|
|
<container>
|
|
|
|
<containerId>tomcat8x</containerId>
|
|
|
|
<type>embedded</type>
|
|
|
|
<systemProperties>
|
|
|
|
<!-- <provPersistenceTarget>cargo</provPersistenceTarget> -->
|
|
|
|
</systemProperties>
|
|
|
|
</container>
|
|
|
|
<configuration>
|
|
|
|
<properties>
|
|
|
|
<cargo.servlet.port>8082</cargo.servlet.port>
|
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>integration</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>**/*IntegrationTest.java</include>
|
|
|
|
<include>**/*IntTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<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>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<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>
|
|
|
|
<xstream.version>1.4.9</xstream.version>
|
2024-03-09 09:47:37 -05:00
|
|
|
<spring-oxm.version>6.1.4</spring-oxm.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<!-- Maven plugins -->
|
|
|
|
<cargo-maven2-plugin.version>1.6.0</cargo-maven2-plugin.version>
|
|
|
|
<findbugs-maven-plugin.version>3.0.4</findbugs-maven-plugin.version>
|
|
|
|
<!-- okhttp -->
|
2023-11-19 13:43:50 -05:00
|
|
|
<com.squareup.okhttp3.version>4.12.0</com.squareup.okhttp3.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<json.path.version>2.2.0</json.path.version>
|
2024-03-22 13:56:27 -04:00
|
|
|
<commons-fileupload.version>2.0.0-M1</commons-fileupload.version>
|
|
|
|
<rest-assured.version>5.4.0</rest-assured.version>
|
|
|
|
<jakarta.xml.bind-api.version>2.3.2</jakarta.xml.bind-api.version>
|
|
|
|
<commons-fileupload2-jakarta-servlet6.version>2.0.0-M2</commons-fileupload2-jakarta-servlet6.version>
|
|
|
|
<httpclient5.version>5.3.1</httpclient5.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
|
|
|
|
2021-05-17 10:53:25 -04:00
|
|
|
</project>
|