| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- |
| 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.plugins</groupId> |
| <artifactId>clustering-it</artifactId> |
| <version>2.2.1</version> |
| </parent> |
| |
| <groupId>org.apache.geronimo.plugins.it</groupId> |
| <artifactId>plugin-farm-it</artifactId> |
| <name>Geronimo Plugins, Clustering :: Plugin Farm Integration Tests</name> |
| <packaging>car</packaging> |
| |
| <description> |
| Basic farming support |
| </description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>geronimo-gbean-deployer</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.configs</groupId> |
| <artifactId>plugin-farm</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.plugins.it</groupId> |
| <artifactId>clustering-test</artifactId> |
| <version>${version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.plugins.it</groupId> |
| <artifactId>customer-jetty</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| <scope>provided</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.geronimo.buildsupport</groupId> |
| <artifactId>geronimo-maven-plugin</artifactId> |
| <version>${version}</version> |
| <configuration> |
| <assemblies> |
| <assembly> |
| <id>node</id> |
| <groupId>org.apache.geronimo.assemblies</groupId> |
| <artifactId>geronimo-plugin-farm-node</artifactId> |
| <version>${version}</version> |
| <classifier>bin</classifier> |
| <type>zip</type> |
| </assembly> |
| <assembly> |
| <id>jetty</id> |
| <groupId>org.apache.geronimo.assemblies</groupId> |
| <artifactId>geronimo-jetty7-javaee5</artifactId> |
| <version>${version}</version> |
| <classifier>bin</classifier> |
| <type>zip</type> |
| </assembly> |
| |
| <assembly> |
| <id>jetty-minimal</id> |
| <groupId>org.apache.geronimo.assemblies</groupId> |
| <artifactId>geronimo-jetty7-minimal</artifactId> |
| <version>${version}</version> |
| <classifier>bin</classifier> |
| <type>zip</type> |
| </assembly> |
| |
| <assembly> |
| <id>tomcat</id> |
| <groupId>org.apache.geronimo.assemblies</groupId> |
| <artifactId>geronimo-tomcat6-javaee5</artifactId> |
| <version>${version}</version> |
| <classifier>bin</classifier> |
| <type>zip</type> |
| </assembly> |
| |
| <assembly> |
| <id>tomcat-minimal</id> |
| <groupId>org.apache.geronimo.assemblies</groupId> |
| <artifactId>geronimo-tomcat6-minimal</artifactId> |
| <version>${version}</version> |
| <classifier>bin</classifier> |
| <type>zip</type> |
| </assembly> |
| |
| <assembly> |
| <id>framework</id> |
| <groupId>org.apache.geronimo.assemblies</groupId> |
| <artifactId>geronimo-framework</artifactId> |
| <version>${version}</version> |
| <classifier>bin</classifier> |
| <type>zip</type> |
| </assembly> |
| </assemblies> |
| |
| <defaultAssemblyId>framework</defaultAssemblyId> |
| <!--<defaultAssemblyId>jetty</defaultAssemblyId>--> |
| |
| <optionSets> |
| <optionSet> |
| <id>morememory</id> |
| <options> |
| <option>-Xmx512m</option> |
| <option>-XX:MaxPermSize=128m</option> |
| </options> |
| </optionSet> |
| |
| <optionSet> |
| <id>debug</id> |
| <options> |
| <option>-Xdebug</option> |
| <option>-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</option> |
| </options> |
| </optionSet> |
| </optionSets> |
| </configuration> |
| <executions> |
| <execution> |
| <id>start</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>start-server</goal> |
| </goals> |
| <configuration> |
| <assemblyId>${it-server}</assemblyId> |
| <logOutput>true</logOutput> |
| <background>true</background> |
| <verifyTimeout>300</verifyTimeout> |
| <refresh>true</refresh> |
| <optionSets> |
| <optionSet> |
| <id>default</id> |
| <options> |
| <option>-XX:MaxPermSize=128m</option> |
| <option>-Xdebug</option> |
| <option>-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</option> |
| </options> |
| </optionSet> |
| |
| <optionSet> |
| <id>morememory</id> |
| <options> |
| <option>-Xmx512m</option> |
| <option>-XX:MaxPermSize=128m</option> |
| </options> |
| </optionSet> |
| |
| <optionSet> |
| <id>debug</id> |
| <options> |
| <option>-Xdebug</option> |
| <option>-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</option> |
| </options> |
| </optionSet> |
| </optionSets> |
| </configuration> |
| </execution> |
| <execution> |
| <id>start-farm</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>start-multi-server</goal> |
| </goals> |
| <configuration> |
| <assemblyId>node</assemblyId> |
| <logOutput>true</logOutput> |
| <background>true</background> |
| <verifyTimeout>300</verifyTimeout> |
| <refresh>true</refresh> |
| <count>2</count> |
| <optionSets> |
| <optionSet> |
| <id>default</id> |
| <options> |
| <option>-XX:MaxPermSize=128m</option> |
| </options> |
| </optionSet> |
| |
| <optionSet> |
| <id>morememory</id> |
| <options> |
| <option>-Xmx512m</option> |
| <option>-XX:MaxPermSize=128m</option> |
| </options> |
| </optionSet> |
| |
| <!--<optionSet>--> |
| <!--<id>debug</id>--> |
| <!--<options>--> |
| <!--<option>-Xdebug</option>--> |
| <!--<option>-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</option>--> |
| <!--</options>--> |
| <!--</optionSet>--> |
| </optionSets> |
| </configuration> |
| </execution> |
| <!--<execution>--> |
| <!--<id>install-plugin-farm-member-2</id>--> |
| <!--<phase>install</phase>--> |
| <!--<goals>--> |
| <!--<goal>install-plugin</goal>--> |
| <!--</goals>--> |
| <!--<configuration>--> |
| <!--<defaultGeronimoRepository>~/.m2/repository</defaultGeronimoRepository>--> |
| <!--<moduleId>org.apache.geronimo.configs/plugin-farm-member/${version}/car</moduleId>--> |
| <!--<port>1119</port>--> |
| <!--</configuration>--> |
| <!--</execution>--> |
| <execution> |
| <id>install-plugin</id> |
| <phase>install</phase> |
| <goals> |
| <goal>install-plugin</goal> |
| </goals> |
| <!--<configuration>--> |
| <!--<defaultGeronimoRepository>http://geronimo.apache.org/plugins/geronimo-${version}/</defaultGeronimoRepository>--> |
| <!--</configuration>--> |
| </execution> |
| <execution> |
| <id>stop</id> |
| <phase>install</phase> |
| <goals> |
| <goal>stop-server</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.geronimo.buildsupport</groupId> |
| <artifactId>car-maven-plugin</artifactId> |
| <configuration> |
| <category>Clustering</category> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>it</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.geronimo.buildsupport</groupId> |
| <artifactId>geronimo-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |