Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
184 lines (171 sloc) 5.68 KB
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.arquillian.showcase</groupId>
<artifactId>arquillian-showcase-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
<artifactId>arquillian-showcase-servlet</artifactId>
<packaging>jar</packaging>
<name>Arquillian Showcase: Servlet</name>
<description>Examples that demonstrate how to test Servlet endpoints using Arquillian</description>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-impl-javaee</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>arq-jbossas-managed-7</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-arquillian-container-managed</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-web-6.0</artifactId>
<type>pom</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<jboss.version>${version.jbossas_7}</jboss.version>
</systemProperties>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>process-test-classes</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-dist</artifactId>
<version>${version.jbossas_7}</version>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>arq-jbossas-remote-7</id>
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-arquillian-container-remote</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-web-6.0</artifactId>
<type>pom</type>
</dependency>
</dependencies>
</profile>
<profile>
<id>arq-jbossas-remote-6</id>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>container-bom-jbossas-remote-6</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>arq-glassfish-embedded</id>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>container-bom-glassfish-embedded-3.1</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<!-- FIXME annotated servlet test is not working; missing config? -->
<id>arq-jetty-embedded</id>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>container-bom-jetty-embedded-7</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-web-6.0</artifactId>
<type>pom</type>
</dependency>
</dependencies>
</profile>
<profile>
<!-- NOTE does not support annotated test case -->
<id>arq-tomcat-embedded</id>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>container-bom-tomcat-embedded-6</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-web-6.0</artifactId>
<type>pom</type>
</dependency>
</dependencies>
</profile>
<!-- resin-embedded cannot run tests sequentially (only one per run) -->
<profile>
<id>arq-resin-embedded</id>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>container-bom-resin-embedded-4</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
You can’t perform that action at this time.