pom.xml revision 660a40ad15749d74efa0dd4ef12cb8781c570e22
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
~
~ Copyright (c) 2011-2012 ForgeRock AS. All Rights Reserved
~
~ The contents of this file are subject to the terms
~ of the Common Development and Distribution License
~ (the License). You may not use this file except in
~ compliance with the License.
~
~ You can obtain a copy of the License at
~ See the License for the specific language governing
~ permission and limitations under the License.
~
~ When distributing Covered Code, include this CDDL
~ Header Notice in each file and include the License file
~ If applicable, add the following below the CDDL Header,
~ with the fields enclosed by brackets [] replaced by
~ your own identifying information:
~ "Portions Copyrighted [year] [name of copyright owner]"
-->
<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>openidm-project</artifactId>
<version>2.1.0-SNAPSHOT</version>
</parent>
<artifactId>openidm-integration-test</artifactId>
<name>OpenIDM automated integration tests</name>
<packaging>jar</packaging>
<properties>
</properties>
<dependencies>
<dependency>
<artifactId>fest-assert</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>guice</artifactId>
<version>3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>rest-assured</artifactId>
<version>1.7</version>
<scope>test</scope>
</dependency>
<!--dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>2.25.0</version>
<exclude>
httpclient 412
</dependency-->
<dependency>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>launcher</artifactId>
<version>1.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<!-- OSGi R4 frameworks -->
<dependency>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<excludes>**</excludes>
</excludes>
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.12.4</version>
<executions>
<execution>
<id>integration-test-default</id>
<goals>
<goal>integration-test</goal>
</goals>
<configuration>
<reportNameSuffix>default</reportNameSuffix>
<groups>common,default</groups>
<skipITs>false</skipITs>
<systemPropertyVariables>
${project.build.directory}/openidm
${project.build.directory}/openidm
</systemPropertyVariables>
<!--debugForkedProcess>true</debugForkedProcess-->
</configuration>
</execution>
<execution>
<id>integration-test-sample1</id>
<goals>
<goal>integration-test</goal>
</goals>
<configuration>
<reportNameSuffix>sample1</reportNameSuffix>
<groups>common,sample1</groups>
<skipITs>false</skipITs>
<systemPropertyVariables>
${project.build.directory}/openidm
</systemPropertyVariables>
</configuration>
</execution>
<execution>
<id>integration-test-sample2</id>
<goals>
<goal>integration-test</goal>
</goals>
<configuration>
<reportNameSuffix>sample2</reportNameSuffix>
<groups>common,sample2</groups>
<skipITs>false</skipITs>
<systemPropertyVariables>
${project.build.directory}/openidm
</systemPropertyVariables>
</configuration>
</execution>
<execution>
<id>verify</id>
<goals>
<goal>verify</goal>
</goals>
<configuration>
<summaryFiles>
<!--summaryFile>target/failsafe-reports/failsafe-summary-sample1.xml</summaryFile>
<summaryFile>target/failsafe-reports/failsafe-summary-sample2.xml</summaryFile-->
</summaryFiles>
</configuration>
</execution>
</executions>
<configuration>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>pre-integration-test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<artifactId>openidm-zip</artifactId>
<type>zip</type>
</artifactItem>
</artifactItems>
<includes>
openidm/connectors/**,
</includes>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
<execution>
<id>copy-mysql</id>
<phase>pre-integration-test</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.21</version>
<type>jar</type>
</artifactItem>
</artifactItems>
<outputDirectory>
</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.12.3</version>
<reportSets>
<reportSet>
<id>integration-tests</id>
<reports>
<report>failsafe-report-only</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>