Skip to content

Instantly share code, notes, and snippets.

@milenkovicm
Created March 5, 2012 15:03
Show Gist options
  • Save milenkovicm/1978653 to your computer and use it in GitHub Desktop.
Save milenkovicm/1978653 to your computer and use it in GitHub Desktop.
[mvn] pom - my multiple test profiles
<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>
<parent>
<artifactId>integration</artifactId>
<groupId>xxxx</groupId>
<version>1.0.2-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>jee</artifactId>
<name>TestSuite Integration JEE</name>
<profiles>
<profile>
<id>jboss-as7-managed</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-arquillian-container-managed</artifactId>
<version>${version.jboss.as}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencies>
</profile>
<profile>
<id>jboss-as7-remote</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>jboss-as7-remote</name>
</property>
</activation>
<dependencies>
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-arquillian-container-remote</artifactId>
<version>${version.jboss.as}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencies>
</profile>
<profile>
<id>arquillian-weld-se-embedded</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>weld-se-embedded</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-weld-se-embedded-1.1</artifactId>
<version>${version.arquillian-weld-se-embedded}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment