Created
March 13, 2017 08:09
-
-
Save JorisNienkemper/4477635a734a9873024c6efc16d59175 to your computer and use it in GitHub Desktop.
arquillian-wildfly10-parent-pom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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.infosupport.kc.demos</groupId> | |
<artifactId>demo00.parent</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>pom</packaging> | |
<properties> | |
<java.min.version>1.8</java.min.version> | |
<maven.min.version>3.0.0</maven.min.version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<wildfly.version>10.1.0.Final</wildfly.version> | |
</properties> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.jboss.arquillian</groupId> | |
<artifactId>arquillian-bom</artifactId> | |
<version>1.1.11.Final</version> | |
<scope>import</scope> | |
<type>pom</type> | |
</dependency> | |
<dependency> | |
<groupId>org.jboss.arquillian.container</groupId> | |
<artifactId>arquillian-container-test-api</artifactId> | |
<version>1.1.11.Final</version> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<dependencies> | |
<!-- The Java EE 7 API, which is the main and only API which this project is | |
providing samples for. | |
--> | |
<dependency> | |
<groupId>javax</groupId> | |
<artifactId>javaee-api</artifactId> | |
<version>7.0</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Test dependencies which can be used in sub-modules --> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.12</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.hamcrest</groupId> | |
<artifactId>hamcrest-core</artifactId> | |
<version>1.3</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.hamcrest</groupId> | |
<artifactId>hamcrest-library</artifactId> | |
<version>1.3</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.jboss.arquillian.junit</groupId> | |
<artifactId>arquillian-junit-container</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.jboss.arquillian.protocol</groupId> | |
<artifactId>arquillian-protocol-servlet</artifactId> | |
<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> | |
<version>3.5.1</version> | |
<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> | |
<version>3.0.0</version> | |
<configuration> | |
<attachClasses>true</attachClasses> | |
<failOnMissingWebXml>false</failOnMissingWebXml> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.wildfly.plugins</groupId> | |
<artifactId>wildfly-maven-plugin</artifactId> | |
<version>1.0.2.Final</version> | |
</plugin> | |
</plugins> | |
</build> | |
<profiles> | |
<profile> | |
<id>wildfly-remote-arquillian</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
</activation> | |
<dependencies> | |
<!-- Needed for websocket tests that use ContainerProvider.getWebSocketContainer() | |
to connect from a the client to the websocket server. | |
--> | |
<dependency> | |
<groupId>io.undertow</groupId> | |
<artifactId>undertow-websockets-jsr</artifactId> | |
<version>1.4.0.Final</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- Needed for jaxrs tests that use ClientBuilder to connect from a client | |
to the JAX-RS server. | |
--> | |
<dependency> | |
<groupId>org.jboss.resteasy</groupId> | |
<artifactId>resteasy-client</artifactId> | |
<version>3.0.19.Final</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- Without this exception will be thrown about missing tracef method --> | |
<dependency> | |
<groupId>org.jboss.logging</groupId> | |
<artifactId>jboss-logging</artifactId> | |
<version>3.3.0.Final</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.jboss.resteasy</groupId> | |
<artifactId>resteasy-jaxb-provider</artifactId> | |
<version>3.0.19.Final</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.jboss.resteasy</groupId> | |
<artifactId>resteasy-json-p-provider</artifactId> | |
<version>3.0.19.Final</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- The actual Arquillian container (server connector) --> | |
<dependency> | |
<groupId>org.wildfly.arquillian</groupId> | |
<artifactId>wildfly-arquillian-container-remote</artifactId> | |
<version>2.0.0.Final</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<testResources> | |
<testResource> | |
<directory>src/test/resources</directory> | |
<filtering>true</filtering> | |
</testResource> | |
<testResource> | |
<directory>src/test/resources-wildfly-remote</directory> | |
<filtering>true</filtering> | |
</testResource> | |
</testResources> | |
</build> | |
</profile> | |
</profiles> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment