<?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>farming</artifactId> | |
<name>Geronimo Plugins, Clustering :: Farming</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>j2ee-server</artifactId> | |
<version>${project.version}</version> | |
<type>car</type> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.geronimo.framework</groupId> | |
<artifactId>j2ee-security</artifactId> | |
<version>${project.version}</version> | |
<type>car</type> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.geronimo.modules</groupId> | |
<artifactId>geronimo-deploy-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> | |
<instance> | |
<plugin-artifact> | |
<copy-file relative-to="geronimo" dest-dir="farming">cluster-repository</copy-file> | |
<copy-file relative-to="geronimo" dest-dir="farming">master-repository</copy-file> | |
<config-xml-content load="false"> | |
<gbean name="NodeInfo"> | |
<attribute name="name">#{ClusterNodeName}</attribute> | |
</gbean> | |
<gbean name="ClusterInfo"> | |
<attribute name="name">#{FarmName}</attribute> | |
</gbean> | |
</config-xml-content> | |
<config-substitution key="ClusterNodeName">NODE</config-substitution> | |
<config-substitution key="FarmName">DEFAULT_FARM</config-substitution> | |
</plugin-artifact> | |
</instance> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |