| <?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: 613667 $ $Date: 2008-01-20 12:18:37 -0800 (Sun, 20 Jan 2008) $ --> | |
| <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</artifactId> | |
| <version>4.0.0-SNAPSHOT</version> | |
| </parent> | |
| <groupId>org.apache.geronimo.configs</groupId> | |
| <artifactId>plugin-farm</artifactId> | |
| <name>Geronimo Plugins, Clustering :: Plugin Farm</name> | |
| <packaging>car</packaging> | |
| <description> | |
| Basic farming support | |
| </description> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.karaf.features</groupId> | |
| <artifactId>framework</artifactId> | |
| <type>kar</type> | |
| <version>3.0.0-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.karaf.features</groupId> | |
| <artifactId>standard</artifactId> | |
| <classifier>features</classifier> | |
| <type>xml</type> | |
| <scope>runtime</scope> | |
| <version>3.0.0-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.karaf.features</groupId> | |
| <artifactId>enterprise</artifactId> | |
| <classifier>features</classifier> | |
| <type>xml</type> | |
| <scope>runtime</scope> | |
| <version>3.0.0-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.geronimo.framework.features</groupId> | |
| <artifactId>framework</artifactId> | |
| <version>${project.version}</version> | |
| <type>kar</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.geronimo.framework</groupId> | |
| <artifactId>plugin</artifactId> | |
| <version>${project.version}</version> | |
| <type>car</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.geronimo.configs</groupId> | |
| <artifactId>plugin-farm-datasource</artifactId> | |
| <version>${project.version}</version> | |
| <type>car</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.geronimo.modules</groupId> | |
| <artifactId>geronimo-plugin-farm</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.geronimo.buildsupport</groupId> | |
| <artifactId>car-maven-plugin</artifactId> | |
| <configuration> | |
| <category>Clustering</category> | |
| <dependencies> | |
| <!--<dependency>--> | |
| <!--<groupId>org.apache.geronimo.framework</groupId>--> | |
| <!--<artifactId>geronimo-gbean-deployer</artifactId>--> | |
| <!--<type>car</type>--> | |
| <!--<import>classes</import>--> | |
| <!--</dependency>--> | |
| </dependencies> | |
| <instance> | |
| <plugin-artifact> | |
| <config-xml-content> | |
| <gbean name="FarmDiscoveryListener"> | |
| <attribute name="defaultClusterName">${DefaultClusterName}</attribute> | |
| <attribute name="userName">system</attribute> | |
| <attribute name="password">manager</attribute> | |
| </gbean> | |
| <gbean name="MulticastLocation"> | |
| <attribute name="host">${MulticastDiscoveryAddress}</attribute> | |
| <attribute name="port">${MulticastDiscoveryPort}</attribute> | |
| </gbean> | |
| <gbean name="PluginFarm"> | |
| <attribute name="defaultPluginRepository">${DefaultPluginRepository}</attribute> | |
| </gbean> | |
| </config-xml-content> | |
| <config-substitution key="DefaultPluginRepository">~/.m2/repository</config-substitution> | |
| <config-substitution key="DefaultClusterName">cluster1</config-substitution> | |
| <config-substitution key="MulticastDiscoveryAddress">239.255.3.2</config-substitution> | |
| <config-substitution key="MulticastDiscoveryPort">6142</config-substitution> | |
| </plugin-artifact> | |
| </instance> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |