| <?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. |
| --> |
| |
| <!-- $Rev$ $Date$ --> |
| |
| <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.geronimo.testsuite</groupId> |
| <artifactId>testsuite</artifactId> |
| <version>2.0-M3</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>${artifactId}</artifactId> |
| <name>Geronimo TestSuite, ${artifactId}</name> |
| <packaging>pom</packaging> |
| |
| <description> |
| Geronimo ${artifactId} testsuite created from an archetype. |
| </description> |
| |
| <dependencies> |
| <!-- |
| NOTE: The following dependencies are needed to start selenium server used for testing with a browser. |
| Uncomment the dependencies if you need browser testing. |
| |
| <dependency> |
| <groupId>org.openqa.selenium.client-drivers</groupId> |
| <artifactId>selenium-java-client-driver</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.openqa.selenium.server</groupId> |
| <artifactId>selenium-server</artifactId> |
| </dependency> |
| --> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <!-- The following goal is needed to roll up the results of the surefire tests from this project to the surefire-reports directory in it's parent --> |
| <plugin> |
| <groupId>org.apache.geronimo.plugins</groupId> |
| <artifactId>testsuite-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>generate-surefire-xml</id> |
| <phase>install</phase> |
| <goals> |
| <goal>generate-surefire-xml</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>default</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| |
| <build> |
| <plugins> |
| <!-- |
| NOTE: The following plugin starts selenium server used for testing with a browser. |
| Uncomment the plugin if you need it |
| <plugin> |
| <groupId>org.apache.geronimo.plugins</groupId> |
| <artifactId>selenium-maven-plugin</artifactId> |
| </plugin> |
| --> |
| |
| <!-- The following plugin starts and stop Geronimo server in the pre-integration-test and post-integration-test phase respectively --> |
| <plugin> |
| <groupId>org.apache.geronimo.plugins</groupId> |
| <artifactId>geronimo-maven-plugin</artifactId> |
| </plugin> |
| |
| <!-- |
| NOTE: The following plugin invokes */pom.xml in the integration-test phase. |
| Tests in junit or testng are executed in this phase by the projects defined |
| by */pom.xml |
| --> |
| <plugin> |
| <groupId>org.apache.geronimo.genesis.plugins</groupId> |
| <artifactId>maven-maven-plugin</artifactId> |
| </plugin> |
| |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <!-- */pom.xml execute in a child profile to prevent them from inheriting parent's executions. --> |
| <id>child</id> |
| </profile> |
| </profiles> |
| |
| </project> |