2016-06-08 16:05:48 -04: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.baeldung</groupId>
|
|
|
|
<artifactId>jee7schedule</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<description>JavaEE 7 Arquillian Archetype Sample</description>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java.min.version>1.7</java.min.version>
|
|
|
|
<maven.min.version>3.0.0</maven.min.version>
|
|
|
|
|
2016-12-11 17:27:31 -05:00
|
|
|
<junit.version>4.12</junit.version>
|
|
|
|
<javaee_api.version>7.0</javaee_api.version>
|
|
|
|
<arquillian_core.version>1.1.11.Final</arquillian_core.version>
|
|
|
|
<wildfly.version>8.2.1.Final</wildfly.version>
|
|
|
|
<awaitility.version>1.7.0</awaitility.version>
|
|
|
|
<undertow-websockets-jsr.version>1.4.6.Final</undertow-websockets-jsr.version>
|
|
|
|
<resteasy.version>3.0.19.Final</resteasy.version>
|
|
|
|
<glassfish-embedded-all.version>4.1.1</glassfish-embedded-all.version>
|
|
|
|
<javax.json.version>1.0.4</javax.json.version>
|
|
|
|
<tyrus.version>1.13</tyrus.version>
|
|
|
|
<jersey.version>2.25</jersey.version>
|
|
|
|
<arquillian-glassfish.version>1.0.0.Final</arquillian-glassfish.version>
|
|
|
|
|
|
|
|
<maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
|
|
|
|
<maven-war-plugin.version>2.6</maven-war-plugin.version>
|
2016-06-08 16:05:48 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<prerequisites>
|
|
|
|
<maven>${maven.min.version}</maven>
|
|
|
|
</prerequisites>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian</groupId>
|
|
|
|
<artifactId>arquillian-bom</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${arquillian_core.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>import</scope>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax</groupId>
|
|
|
|
<artifactId>javaee-api</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${javaee_api.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${junit.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.junit</groupId>
|
|
|
|
<artifactId>arquillian-junit-container</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jayway.awaitility</groupId>
|
|
|
|
<artifactId>awaitility</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${awaitility.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.shrinkwrap.resolver</groupId>
|
|
|
|
<artifactId>shrinkwrap-resolver-impl-maven</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>jar</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.shrinkwrap.resolver</groupId>
|
|
|
|
<artifactId>shrinkwrap-resolver-impl-maven-archive</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<configuration>
|
|
|
|
<source>${java.min.version}</source>
|
|
|
|
<target>${java.min.version}</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${maven-war-plugin.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<configuration>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>wildfly-managed-arquillian</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<serverProfile>standalone-full.xml</serverProfile>
|
|
|
|
<serverRoot>${project.build.directory}/wildfly-${version.wildfly}</serverRoot>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.undertow</groupId>
|
|
|
|
<artifactId>undertow-websockets-jsr</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${undertow-websockets-jsr.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-client</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${resteasy.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-jaxb-provider</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${resteasy.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-json-p-provider</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${resteasy.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${wildfly.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>2.8</version>
|
|
|
|
<configuration>
|
|
|
|
<skip>${maven.test.skip}</skip>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack</id>
|
|
|
|
<phase>process-test-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-dist</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${wildfly.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>false</overWrite>
|
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.17</version>
|
|
|
|
<configuration>
|
|
|
|
<environmentVariables>
|
2016-12-11 17:27:31 -05:00
|
|
|
<JBOSS_HOME>${project.build.directory}/wildfly-${wildfly.version}</JBOSS_HOME>
|
2016-06-08 16:05:48 -04:00
|
|
|
</environmentVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>wildfly-remote-arquillian</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.undertow</groupId>
|
|
|
|
<artifactId>undertow-websockets-jsr</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${undertow-websockets-jsr.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-client</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${resteasy.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-jaxb-provider</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${resteasy.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-json-p-provider</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${resteasy.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-arquillian-container-remote</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${wildfly.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>glassfish-embedded-arquillian</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.main.extras</groupId>
|
|
|
|
<artifactId>glassfish-embedded-all</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${glassfish-embedded-all.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish</groupId>
|
|
|
|
<artifactId>javax.json</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${javax.json.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.tyrus</groupId>
|
|
|
|
<artifactId>tyrus-client</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${tyrus.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.tyrus</groupId>
|
|
|
|
<artifactId>tyrus-container-grizzly-client</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${tyrus.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
|
|
|
<artifactId>jersey-client</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${jersey.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
|
|
<artifactId>arquillian-glassfish-embedded-3.1</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${arquillian-glassfish.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>glassfish-remote-arquillian</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish</groupId>
|
|
|
|
<artifactId>javax.json</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${javax.json.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.tyrus</groupId>
|
|
|
|
<artifactId>tyrus-client</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${tyrus.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.tyrus</groupId>
|
|
|
|
<artifactId>tyrus-container-grizzly-client</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${tyrus.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
|
|
|
<artifactId>jersey-client</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${jersey.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
|
|
<artifactId>jersey-media-json-jackson</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${jersey.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
|
|
<artifactId>jersey-media-json-processing</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${jersey.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
|
|
<artifactId>arquillian-glassfish-remote-3.1</artifactId>
|
2016-12-11 17:27:31 -05:00
|
|
|
<version>${arquillian-glassfish.version}</version>
|
2016-06-08 16:05:48 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|