2016-01-30 11:48:56 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2016-02-08 08:00:11 -05:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2017-05-12 14:32:54 -04:00
|
|
|
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>
|
2016-02-08 08:00:11 -05:00
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>resteasy-tutorial</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<packaging>war</packaging>
|
2016-02-08 08:00:11 -05:00
|
|
|
|
2017-05-09 16:37:43 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
2017-05-12 14:32:54 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<resteasy.version>3.0.19.Final</resteasy.version>
|
|
|
|
<commons-io.version>2.5</commons-io.version>
|
|
|
|
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>RestEasyTutorial</finalName>
|
|
|
|
<plugins>
|
2016-10-25 08:11:22 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<version>${cargo-maven2-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<wait>true</wait>
|
|
|
|
<container>
|
|
|
|
<containerId>jetty8x</containerId>
|
|
|
|
<type>embedded</type>
|
|
|
|
</container>
|
|
|
|
<configuration>
|
|
|
|
<properties>
|
|
|
|
<cargo.servlet.port>8082</cargo.servlet.port>
|
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
2017-05-12 14:32:54 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-02-08 08:00:11 -05:00
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<dependencies>
|
2016-02-08 08:00:11 -05:00
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<!-- core library -->
|
2016-02-08 08:00:11 -05:00
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-servlet-initializer</artifactId>
|
|
|
|
<version>${resteasy.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2016-02-08 08:00:11 -05:00
|
|
|
|
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-client</artifactId>
|
|
|
|
<version>${resteasy.version}</version>
|
|
|
|
</dependency>
|
2016-02-08 08:00:11 -05:00
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<!-- Optional library -->
|
2016-02-08 08:00:11 -05:00
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-jaxb-provider</artifactId>
|
|
|
|
<version>${resteasy.version}</version>
|
|
|
|
</dependency>
|
2016-02-08 08:00:11 -05:00
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-jackson-provider</artifactId>
|
|
|
|
<version>${resteasy.version}</version>
|
|
|
|
</dependency>
|
2016-02-08 08:00:11 -05:00
|
|
|
|
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>${commons-io.version}</version>
|
|
|
|
</dependency>
|
2016-02-08 08:00:11 -05:00
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
</dependencies>
|
2016-02-08 08:00:11 -05:00
|
|
|
|
2016-10-25 08:11:22 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>live</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>**/*IntegrationTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*LiveTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.mime>json</test.mime>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
2017-05-12 14:32:54 -04:00
|
|
|
<version>${cargo-maven2-plugin.version}</version>
|
2016-10-25 08:11:22 -04:00
|
|
|
<configuration>
|
|
|
|
<wait>false</wait>
|
|
|
|
</configuration>
|
|
|
|
<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>
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
2016-01-30 11:48:56 -05:00
|
|
|
</project>
|