| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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.apache.continuum</groupId> |
| <artifactId>continuum</artifactId> |
| <version>1.3.2-SNAPSHOT</version> |
| </parent> |
| <artifactId>continuum-webapp-test</artifactId> |
| <name>Continuum Webapp Test</name> |
| <packaging>pom</packaging> |
| |
| <description>Selenium tests for Continuum Webapp using JUnit TestSetup class</description> |
| |
| <build> |
| <testSourceDirectory>src/test/pom2</testSourceDirectory> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.5</source> |
| <target>1.5</target> |
| <verbose>true</verbose> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>testCompile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>testResources</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>selenium-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>start-server</goal> |
| </goals> |
| <configuration> |
| <background>true</background> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>integration-tests</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <systemProperties> |
| <property> |
| <name>url</name> |
| <value>http://localhost:8080/continuum-webapp-${project.version}</value> |
| </property> |
| <property> |
| <name>cargo.container.home</name> |
| <value>${cargo.container.home}</value> |
| </property> |
| <property> |
| <name>cargo.container.output</name> |
| <value>${basedir}/target/container.output</value> |
| </property> |
| <property> |
| <name>cargo.container.log</name> |
| <value>${basedir}/target/container.log</value> |
| </property> |
| <property> |
| <name>cargo.deployable</name> |
| <value>${basedir}/../continuum-webapp/target/continuum-webapp-1.3.2-SNAPSHOT.war</value> |
| <!--value>${settings.localRepository}/org/apache/continuum/continuum-webapp/1.3.2-SNAPSHOT/continuum-webapp-1.3.2-SNAPSHOT.war</value--> |
| </property> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.openqa.selenium.client-drivers</groupId> |
| <artifactId>selenium-java-client-driver</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.openqa.selenium.client-drivers</groupId> |
| <artifactId>selenium-java-client-driver</artifactId> |
| <version>0.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.continuum</groupId> |
| <artifactId>continuum-webapp</artifactId> |
| <version>${project.version}</version> |
| <type>war</type> |
| </dependency> |
| <dependency> |
| <groupId>org.openqa.selenium.server</groupId> |
| <artifactId>selenium-server</artifactId> |
| <version>0.8.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.cargo</groupId> |
| <artifactId>cargo-core-uberjar</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.cargo</groupId> |
| <artifactId>cargo-ant</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <optional>true</optional> |
| </dependency> |
| </dependencies> |
| </project> |