Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

1500 lines (1448 sloc) 71.033 kb
<?xml version="1.0" encoding="UTF-8"?>
<!-- JBoss, Home of Professional Open Source Copyright 2010-2014, Red Hat, Inc. and individual contributors by the @authors tag.
See the copyright.txt in the distribution for a full listing of individual contributors. This is free software; you can redistribute
it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this
software; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the
FSF site: http://www.fsf.org. -->
<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>org.richfaces.tests</groupId>
<artifactId>richfaces-qa-parent</artifactId>
<version>4.5.4-SNAPSHOT</version>
<packaging>pom</packaging>
<name>RichFaces QA Parent</name>
<description>The parent for all RichFaces qa sub-projects. It specifies build and project meta-data</description>
<prerequisites>
<maven>3.0</maven>
</prerequisites>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
<version.richfaces>4.5.4-SNAPSHOT</version.richfaces>
<richfaces.checkstyle.version>5</richfaces.checkstyle.version>
<!-- version of JBoss containers to use and download -->
<version.wildfly8-0>8.0.0.Final</version.wildfly8-0>
<version.wildfly8-1>8.1.0.Final</version.wildfly8-1>
<version.wildfly8-2>8.2.0.Final</version.wildfly8-2>
<version.wildfly9-0>9.0.0.Alpha1</version.wildfly9-0>
<eap61Zip>path/to/your/eap/distribution/zip</eap61Zip>
<!-- version of Tomcat containers to use-->
<version.tomcat7>7.0.59</version.tomcat7>
<version.tomcat8>8.0.20</version.tomcat8>
<!-- versions of TomEE containers to use and download -->
<version.tomee1-7>1.7.1</version.tomee1-7>
<!-- arquillian versions -->
<arquillian.bom.version>1.1.7.Final</arquillian.bom.version>
<arquillian.wildfly.container>1.0.0.Alpha2</arquillian.wildfly.container>
<arquillian.tomcat.version>1.0.0.CR7</arquillian.tomcat.version>
<arquillian.drone.version>2.0.0.Alpha4</arquillian.drone.version>
<arquillian.graphene.version>2.1.0.Alpha2</arquillian.graphene.version>
<screenshooter.version>${arquillian.graphene.version}</screenshooter.version>
<arquillian.openshift-express>1.0.0.Beta1</arquillian.openshift-express>
<shrinkwrap.descriptors.version>2.0.0-alpha-6</shrinkwrap.descriptors.version>
<jboss.javaee6.spec.version>3.0.2.Final</jboss.javaee6.spec.version>
<version.selenium>2.45.0</version.selenium>
<version.testng>6.8.21</version.testng>
<!-- these are set as Environmental variables to let Arquillian know where distribution of managed containers are -->
<tomcat7.home>${project.build.directory}/apache-tomcat-${version.tomcat7}</tomcat7.home>
<tomcat8.home>${project.build.directory}/apache-tomcat-${version.tomcat8}</tomcat8.home>
<jbossEAP61Home>${project.build.directory}/jboss-eap-6.1</jbossEAP61Home>
<jbossEAP62Home>${project.build.directory}/jboss-eap-6.2</jbossEAP62Home>
<jbossEAP63Home>${project.build.directory}/jboss-eap-6.3</jbossEAP63Home>
<wildfly8-1Home>${project.build.directory}/wildfly-${version.wildfly8-1}</wildfly8-1Home>
<wildfly8-2Home>${project.build.directory}/wildfly-${version.wildfly8-2}</wildfly8-2Home>
<wildfly9-0Home>${project.build.directory}/wildfly-${version.wildfly9-0}</wildfly9-0Home>
<metamer.classifier>jbas71</metamer.classifier>
<openshift.password />
<openshift.namespace>richfacesqa</openshift.namespace>
<openshift.application>ftest</openshift.application>
<openshift.ssh.user>54abf287bcf646319d0b1c8d35f15546</openshift.ssh.user>
<openshift.identity.file />
<jodatime.version>2.4</jodatime.version>
<commons-lang.version>2.6</commons-lang.version>
<apache-commons-io.version>2.4</apache-commons-io.version>
<google.json.version>1.1</google.json.version>
<version.mockito>1.8.5</version.mockito>
</properties>
<modules>
<module>archetypes</module>
<module>metamer</module>
<module>testng-listeners</module>
<module>common</module>
<module>qa-maven-plugin</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.12.1</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.3.1</version>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.3</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.1</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.4</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.1</version>
</plugin>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>maven-replacer-plugin</artifactId>
<version>1.4.1</version>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.26</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.3</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>checkstyle</id>
<phase>process-sources</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.richfaces</groupId>
<artifactId>richfaces-build-checkstyle</artifactId>
<version>${richfaces.checkstyle.version}</version>
</dependency>
</dependencies>
<configuration>
<configLocation>richfaces-checkstyle/richfaces-checkstyle.xml</configLocation>
<logViolationsToConsole>true</logViolationsToConsole>
<violationSeverity>error</violationSeverity>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<preparationGoals>clean verify -Prelease -DskipTests=true</preparationGoals>
<goals>clean deploy -Prelease -DskipTests=true</goals>
</configuration>
</plugin>
</plugins>
</build>
<licenses>
<license>
<name>GNU Lesser General Public License, Version 2.1</name>
<distribution>repo</distribution>
<url>http://www.gnu.org/licenses/lgpl-2.1.txt</url>
</license>
</licenses>
<distributionManagement>
<snapshotRepository>
<id>jboss-qa-snapshots</id>
<name>JBoss QA snapshot repository</name>
<url>http://repository.engineering.redhat.com/nexus/content/repositories/jboss-qa-snapshots/</url>
</snapshotRepository>
<repository>
<id>jboss-qa-releases</id>
<name>JBoss QA selease repository</name>
<url>http://repository.engineering.redhat.com/nexus/content/repositories/jboss-qa-releases</url>
</repository>
</distributionManagement>
<issueManagement>
<system>jira</system>
<url>https://jira.jboss.org/jira/browse/RFPL</url>
</issueManagement>
<developers>
<developer>
<name>Pavol Pitonak</name>
<email>ppitonak @ redhat.com</email>
</developer>
<developer>
<name>Lukas Fryc</name>
<email>lfryc @ redhat.com</email>
</developer>
<developer>
<name>Jan Jamrich</name>
<email>jjamrich @ redhat.com</email>
</developer>
<developer>
<name>Juraj Huska</name>
<email>jhuska @ redhat.com</email>
</developer>
<developer>
<name>Jan Papousek</name>
<email>jpapouse @ redhat.com</email>
</developer>
</developers>
<repositories>
<repository>
<id>jboss-qa-releases</id>
<url>http://repository.engineering.redhat.com/nexus/content/repositories/jboss-qa-releases</url>
<releases>
<updatePolicy>never</updatePolicy>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>jboss-qa-snapshots-repository</id>
<url>http://repository.engineering.redhat.com/nexus/content/repositories/jboss-qa-snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<updatePolicy>daily</updatePolicy>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public</url>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
<repository>
<id>redhat-repository-earlyaccess-all</id>
<name>Red Hat Maven Repository Early Access</name>
<url>http://maven.repository.redhat.com/earlyaccess/all</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-qa-releases</id>
<url>http://repository.engineering.redhat.com/nexus/content/repositories/jboss-qa-releases</url>
<releases>
<updatePolicy>never</updatePolicy>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>jboss-qa-snapshots-repository</id>
<url>http://repository.engineering.redhat.com/nexus/content/repositories/jboss-qa-snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<updatePolicy>daily</updatePolicy>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public</url>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<updatePolicy>daily</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
<!-- SCM and distribution management -->
<scm>
<connection>scm:git:git://github.com/richfaces/qa.git</connection>
<developerConnection>scm:git:git@github.com:richfaces/qa.git</developerConnection>
<url>https://github.com/richfaces/qa</url>
<tag>HEAD</tag>
</scm>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${version.testng}</version>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.graphene</groupId>
<artifactId>arquillian-graphene</artifactId>
<version>${arquillian.graphene.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.graphene</groupId>
<artifactId>arquillian-browser-screenshooter</artifactId>
<version>${screenshooter.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.selenium</groupId>
<artifactId>selenium-bom</artifactId>
<version>${version.selenium}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>${arquillian.bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.extension</groupId>
<artifactId>arquillian-drone-bom</artifactId>
<version>${arquillian.drone.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-api</artifactId>
<version>${shrinkwrap.descriptors.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-impl</artifactId>
<version>${shrinkwrap.descriptors.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-api-jboss</artifactId>
<version>${shrinkwrap.descriptors.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-impl-jboss</artifactId>
<version>${shrinkwrap.descriptors.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-api-javaee</artifactId>
<version>${shrinkwrap.descriptors.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-impl-javaee</artifactId>
<version>${shrinkwrap.descriptors.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-api-base</artifactId>
<version>${shrinkwrap.descriptors.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-impl-base</artifactId>
<version>${shrinkwrap.descriptors.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-gen</artifactId>
<version>${shrinkwrap.descriptors.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-spi</artifactId>
<version>${shrinkwrap.descriptors.version}</version>
</dependency>
<!-- Selenium Server -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>${version.selenium}</version>
</dependency>
<!-- Selenium dependecies -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-api</artifactId>
<version>${version.selenium}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>${version.selenium}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-support</artifactId>
<version>${version.selenium}</version>
</dependency>
<!-- Drivers -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>${version.selenium}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-firefox-driver</artifactId>
<version>${version.selenium}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-htmlunit-driver</artifactId>
<version>${version.selenium}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-ie-driver</artifactId>
<version>${version.selenium}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId>
<version>${version.selenium}</version>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.graphene</groupId>
<artifactId>graphene-webdriver</artifactId>
<version>${arquillian.graphene.version}</version>
<type>pom</type>
</dependency>
<!-- Page Fragments dependencies -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${jodatime.version}</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${commons-lang.version}</version>
</dependency>
<dependency>
<groupId>org.richfaces</groupId>
<artifactId>richfaces-cache-bom</artifactId>
<version>${version.richfaces}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-all-6.0</artifactId>
<version>${jboss.javaee6.spec.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${apache-commons-io.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>${google.json.version}</version>
</dependency>
<!-- needs to be defined explicitly because version provided by Selenium is overriden -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.3</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>${version.mockito}</version>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<profile>
<id>tomee-remote-1-7</id>
<properties>
<metamer.classifier>tomee15</metamer.classifier>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>arquillian-tomee-remote</artifactId>
<version>${version.tomee1-7}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<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.apache.openejb</groupId>
<artifactId>apache-tomee</artifactId>
<version>${version.tomee1-7}</version>
<classifier>webprofile</classifier>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>tomee-remote-1-7</arquillian.launch>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jbosseap-managed-6-1</id>
<properties>
<metamer.classifier>jbas71</metamer.classifier>
<version.eap>6.1.3</version.eap>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-controller-client</artifactId>
<version>7.2.0.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-arquillian-container-managed</artifactId>
<version>7.2.0.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.protocol</groupId>
<artifactId>arquillian-protocol-servlet</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>jbosseap-managed-6-1</arquillian.launch>
</systemProperties>
<environmentVariables>
<JBOSS_HOME>${jbossEAP61Home}</JBOSS_HOME>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jbosseap-managed-6-2</id>
<properties>
<metamer.classifier>jbas71</metamer.classifier>
<version.eap>6.2.4</version.eap>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-controller-client</artifactId>
<version>7.2.0.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-arquillian-container-managed</artifactId>
<version>7.2.0.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.protocol</groupId>
<artifactId>arquillian-protocol-servlet</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>jbosseap-managed-6-2</arquillian.launch>
</systemProperties>
<environmentVariables>
<JBOSS_HOME>${jbossEAP62Home}</JBOSS_HOME>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jbosseap-managed-6-3</id>
<properties>
<metamer.classifier>jbas71</metamer.classifier>
<version.eap>6.3.3</version.eap>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-controller-client</artifactId>
<version>7.2.0.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-arquillian-container-managed</artifactId>
<version>7.2.0.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.protocol</groupId>
<artifactId>arquillian-protocol-servlet</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>jbosseap-managed-6-3</arquillian.launch>
</systemProperties>
<environmentVariables>
<JBOSS_HOME>${jbossEAP63Home}</JBOSS_HOME>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>wildfly-managed-8-1</id>
<properties>
<metamer.classifier>jbas71</metamer.classifier>
</properties>
<dependencies>
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
<version>${version.wildfly8-1}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<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.wildfly</groupId>
<artifactId>wildfly-dist</artifactId>
<version>${version.wildfly8-1}</version>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>wildfly-managed-8-1</arquillian.launch>
</systemProperties>
<environmentVariables>
<JBOSS_HOME>${wildfly8-1Home}</JBOSS_HOME>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>wildfly-managed-8-2</id>
<properties>
<metamer.classifier>jbas71</metamer.classifier>
</properties>
<dependencies>
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
<version>${version.wildfly8-2}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<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.wildfly</groupId>
<artifactId>wildfly-dist</artifactId>
<version>${version.wildfly8-2}</version>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>wildfly-managed-8-2</arquillian.launch>
</systemProperties>
<environmentVariables>
<JBOSS_HOME>${wildfly8-2Home}</JBOSS_HOME>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>wildfly-managed-8-1-https</id>
<properties>
<metamer.classifier>jbas71</metamer.classifier>
</properties>
<dependencies>
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
<version>${version.wildfly8-1}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<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.wildfly</groupId>
<artifactId>wildfly-dist</artifactId>
<version>${version.wildfly8-1}</version>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/src/test/resources</outputDirectory>
<overwrite>true</overwrite>
<resources>
<resource>
<directory>${basedir}/src/test/resources/https/arquillianConf</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy WildFly configuration</id>
<phase>process-test-classes</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${wildfly8-1Home}/standalone/configuration</outputDirectory>
<overwrite>true</overwrite>
<resources>
<resource>
<directory>${basedir}/src/test/resources/https/containerConf/wildfly81</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>wildfly-managed-8-1-https</arquillian.launch>
</systemProperties>
<environmentVariables>
<HTTPStesting>true</HTTPStesting>
<JBOSS_HOME>${wildfly8-1Home}</JBOSS_HOME>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>wildfly-managed-9-0</id>
<properties>
<metamer.classifier>jbas71</metamer.classifier>
</properties>
<dependencies>
<dependency>
<groupId>org.wildfly.arquillian</groupId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
<version>${arquillian.wildfly.container}</version>
<scope>test</scope>
<!--<exclusions>
<exclusion>
<groupId>org.jboss.slf4j</groupId>
<artifactId>slf4j-jboss-logmanager</artifactId>
</exclusion>
</exclusions>-->
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<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.wildfly</groupId>
<artifactId>wildfly-dist</artifactId>
<version>${version.wildfly9-0}</version>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>wildfly-managed-9-0</arquillian.launch>
</systemProperties>
<environmentVariables>
<JBOSS_HOME>${wildfly9-0Home}</JBOSS_HOME>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>wildfly-remote-8-1</id>
<properties>
<metamer.classifier>jbas71</metamer.classifier>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>${jboss.javaee6.spec.version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-arquillian-container-remote</artifactId>
<version>${version.wildfly8-1}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>wildfly-remote-8-1</arquillian.launch>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>wildfly-remote-8-2</id>
<properties>
<metamer.classifier>jbas71</metamer.classifier>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>${jboss.javaee6.spec.version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-arquillian-container-remote</artifactId>
<version>${version.wildfly8-2}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>wildfly-remote-8-1</arquillian.launch>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>wildfly-remote-9-0</id>
<properties>
<metamer.classifier>jbas71</metamer.classifier>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>${jboss.javaee6.spec.version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.wildfly.arquillian</groupId>
<artifactId>wildfly-arquillian-container-remote</artifactId>
<version>${arquillian.wildfly.container}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>wildfly-remote-8-1</arquillian.launch>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>tomcat-managed-7</id>
<properties>
<metamer.classifier>tomcat7-mojarra</metamer.classifier>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-tomcat-managed-7</artifactId>
<version>${arquillian.tomcat.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<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.apache.tomcat</groupId>
<artifactId>tomcat</artifactId>
<version>${version.tomcat7}</version>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>process-test-classes</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${tomcat7.home}/conf</outputDirectory>
<overwrite>true</overwrite>
<resources>
<resource>
<directory>${basedir}/src/test/resources/tomcat7</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>tomcat-managed-7</arquillian.launch>
</systemProperties>
<environmentVariables>
<CATALINA_HOME>${tomcat7.home}</CATALINA_HOME>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>tomcat-remote-7</id>
<properties>
<metamer.classifier>tomcat7-mojarra</metamer.classifier>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-tomcat-remote-7</artifactId>
<version>${arquillian.tomcat.version}</version> <!-- 1.0.0.Final-SNAPSHOT -->
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>tomcat-remote-7</arquillian.launch>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>tomcat-managed-8</id>
<properties>
<metamer.classifier>tomcat7-mojarra</metamer.classifier>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-tomcat-managed-7</artifactId>
<version>${arquillian.tomcat.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<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.apache.tomcat</groupId>
<artifactId>tomcat</artifactId>
<version>${version.tomcat8}</version>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>process-test-classes</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${tomcat8.home}/conf</outputDirectory>
<overwrite>true</overwrite>
<resources>
<resource>
<directory>${basedir}/src/test/resources/tomcat7</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>tomcat-managed-7</arquillian.launch>
</systemProperties>
<environmentVariables>
<CATALINA_HOME>${tomcat8.home}</CATALINA_HOME>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>openshift-express</id>
<properties>
<metamer.classifier>jbas71</metamer.classifier>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-openshift-express</artifactId>
<version>${arquillian.openshift-express}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<arquillian.launch>openshift</arquillian.launch>
<openshift.identity.file>${openshift.identity.file}</openshift.identity.file>
</systemProperties>
<systemPropertyVariables>
<openshift.password>${openshift.password}</openshift.password>
<openshift.application>${openshift.application}</openshift.application>
<openshift.namespace>${openshift.namespace}</openshift.namespace>
<openshift.ssh.user>${openshift.ssh.user}</openshift.ssh.user>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>take-screenshots</id>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.graphene</groupId>
<artifactId>arquillian-browser-screenshooter</artifactId>
<version>${screenshooter.version}</version>
</dependency>
</dependencies>
</profile>
<!--
Tasks:
* kill containers (GlassFish, Tomcat, AS) and Drivers (IEDriver, ChromeDriver) processes before running tests
* download + unpack drivers (only locally to ${user.home}/selenium/driver)
* download + unpack EAP if some EAP profile activated (locally to ${user.home}/selenium/eap)
* download + unpack Firefox binary if Firefox version specified (only locally, to ${user.home}/selenium/browser)
* set paths to EAP, drivers (IEDriver, ChromeDriver), browser binaries (Firefox)
* fail the build before testing when misconfigured (e.g. when path does not exist)
* on jenkins use specified version of Firefox (version is specified in configuration of the RichFaces QA Maven Plugin)
Activate by setting property 'browser' to (case insensitive options):
a) for firefox: *firefox* or *ff*
b) for chrome: *chrome*, *cr*
c) for ie: *ie*, *explorer*, *internetExplorer*
e.g.: -Dbrowser=FF, -Dbrowser=cr, -Dbrowser=internetExplorer, -Dbrowser=ff30
All properties begging with prefix 'qa.' (e.g. 'qa.eap.home' ) are returned from the qa-maven-plugin.
-->
<profile>
<id>browser</id>
<activation>
<property>
<name>browser</name>
</property>
</activation>
<properties>
<jbossEAP61Home>${qa.eap.home}</jbossEAP61Home>
<jbossEAP62Home>${qa.eap.home}</jbossEAP62Home>
<jbossEAP63Home>${qa.eap.home}</jbossEAP63Home>
<!-- all following properties are used by the qa-maven-plugin -->
<eapVersion>${version.eap}</eapVersion>
<jenkinsFirefoxVersionMinimal>24esr</jenkinsFirefoxVersionMinimal>
<jenkinsFirefoxVersionOptimal>31esr</jenkinsFirefoxVersionOptimal>
<chromeDriverVersion>2.13</chromeDriverVersion>
<seleniumVersion>${version.selenium}</seleniumVersion>
<!-- following properties can disable some parts of the plugin -->
<!--
download and extract needed drivers and browser and set path to them using properties
qa.firefox.bin, qa.chrome.driver.bin, qa.ie.driver.bin. The chosen browser used for ARQ Drone is stored in
qa.webdriver.browser.
-->
<ensure.browser>true</ensure.browser>
<!-- download and extract EAP to project build directory -->
<ensure.eap>true</ensure.eap>
<!-- tasks cleanup, should kill containers' processes before running the tests -->
<ensure.cleanup>true</ensure.cleanup>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.richfaces.tests</groupId>
<artifactId>richfaces-qa-maven-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
<phase>process-test-classes</phase>
<goals>
<goal>process</goal>
</goals>
<configuration>
<!-- when firefox version is not specified, use one of the following configurations -->
<!--
The osName/version/arch values are case insensitive and the detected system has to
contain them to use the configuration. When a configuration is not present, e.g. when
osVersion is missing, then it does not depend on this value (see configuration for Windows
or Mac). The firefoxBin or firefoxVersion is mandatory.
-->
<jenkinsFirefoxConfigurations>
<!-- SOLARIS 10 SPARC -->
<jenkinsFirefoxConfiguration>
<osName>sunos</osName>
<osVersion>10</osVersion>
<osArch>sparc</osArch>
<firefoxBin>/qa/tools/opt/solaris10_sparc/firefox-24esr/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- SOLARIS 10 64bit -->
<jenkinsFirefoxConfiguration>
<osName>sunos</osName>
<osVersion>10</osVersion>
<osArch>64</osArch>
<firefoxBin>/qa/tools/opt/solaris10_x86_64/firefox-24esr/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- SOLARIS 10 else -->
<jenkinsFirefoxConfiguration>
<osName>sunos</osName>
<osVersion>10</osVersion>
<firefoxBin>/qa/tools/opt/solaris10_x86/firefox-24esr/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- SOLARIS 11 SPARC -->
<jenkinsFirefoxConfiguration>
<osName>sunos</osName>
<osVersion>11</osVersion>
<osArch>sparc</osArch>
<firefoxBin>/qa/tools/opt/solaris11_sparc/firefox-24esr/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- SOLARIS 11 64bit -->
<jenkinsFirefoxConfiguration>
<osName>sunos</osName>
<osVersion>11</osVersion>
<osArch>64</osArch>
<firefoxBin>/qa/tools/opt/solaris11_x86_64/firefox-24esr/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- SOLARIS 11 else -->
<jenkinsFirefoxConfiguration>
<osName>sunos</osName>
<osVersion>11</osVersion>
<firefoxBin>/qa/tools/opt/solaris11_x86/firefox-24esr/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- RHEL5 64bit -->
<jenkinsFirefoxConfiguration>
<osVersion>el5</osVersion>
<osArch>amd64</osArch>
<firefoxBin>/qa/tools/opt/x86_64/firefox-17esr/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- RHEL5 else -->
<jenkinsFirefoxConfiguration>
<osVersion>el5</osVersion>
<firefoxBin>/qa/tools/opt/firefox-17esr/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- RHEL6 ppc64 -->
<jenkinsFirefoxConfiguration>
<osVersion>el6</osVersion>
<osArch>ppc64</osArch>
<firefoxBin>/qa/tools/opt/ppc64/firefox-17.0.1-RHEL6/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- RHEL6 64bit -->
<jenkinsFirefoxConfiguration>
<osVersion>el6</osVersion>
<osArch>amd64</osArch>
<firefoxBin>/qa/tools/opt/x86_64/firefox-31esr/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- RHEL6 else -->
<jenkinsFirefoxConfiguration>
<osVersion>el6</osVersion>
<firefoxBin>/qa/tools/opt/firefox-31esr/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- RHEL7 ppc64 -->
<jenkinsFirefoxConfiguration>
<osVersion>el7</osVersion>
<osArch>ppc64</osArch>
<firefoxBin>/qa/tools/opt/ppc64/firefox-24.0-RHEL7/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- RHEL7 else -->
<jenkinsFirefoxConfiguration>
<osVersion>el7</osVersion>
<firefoxBin>/usr/bin/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- WINDOWS all -->
<jenkinsFirefoxConfiguration>
<osName>win</osName>
<firefoxBin>t:/opt/windows/firefox-31esr/firefox.exe</firefoxBin>
</jenkinsFirefoxConfiguration>
<!-- MAC all -->
<jenkinsFirefoxConfiguration>
<osName>mac</osName>
<firefoxBin>/qa/tools/opt/osx/firefox-31esr/Contents/MacOS/firefox</firefoxBin>
</jenkinsFirefoxConfiguration>
</jenkinsFirefoxConfigurations>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<webdriver.firefox.bin>${qa.firefox.bin}</webdriver.firefox.bin>
<webdriver.chrome.driver>${qa.chrome.driver.bin}</webdriver.chrome.driver>
<webdriver.ie.driver>${qa.ie.driver.bin}</webdriver.ie.driver>
<arq.extension.webdriver.browser>${qa.webdriver.browser}</arq.extension.webdriver.browser>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Jump to Line
Something went wrong with that request. Please try again.