| <?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>openejb</artifactId> |
| <version>2.2.1</version> |
| </parent> |
| |
| <groupId>org.apache.geronimo.configs</groupId> |
| <artifactId>openejb</artifactId> |
| <name>Geronimo Plugins, OpenEJB :: OpenEJB</name> |
| <packaging>car</packaging> |
| |
| <description>Geronimo integration of the OpenEJB ejb container.</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>j2ee-server</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>server-security-config</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.configs</groupId> |
| <artifactId>transaction</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.configs</groupId> |
| <artifactId>system-database</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>openejb-core</artifactId> |
| <!--<exclusions>--> |
| <!--<exclusion>--> |
| <!--<groupId>org.apache.geronimo.framework</groupId>--> |
| <!--<artifactId>geronimo-security</artifactId>--> |
| <!--</exclusion>--> |
| <!--<exclusion>--> |
| <!--<groupId>org.apache.geronimo.framework</groupId>--> |
| <!--<artifactId>geronimo-kernel</artifactId>--> |
| <!--</exclusion>--> |
| <!--<exclusion>--> |
| <!--<groupId>org.apache.geronimo.modules</groupId>--> |
| <!--<artifactId>geronimo-connector</artifactId>--> |
| <!--</exclusion>--> |
| <!--<exclusion>--> |
| <!--<groupId>org.apache.geronimo.framework</groupId>--> |
| <!--<artifactId>geronimo-interceptor</artifactId>--> |
| <!--</exclusion>--> |
| <!--<exclusion>--> |
| <!--<groupId>org.apache.geronimo.framework</groupId>--> |
| <!--<artifactId>geronimo-naming</artifactId>--> |
| <!--</exclusion>--> |
| <!--<exclusion>--> |
| <!--<groupId>org.apache.geronimo.modules</groupId>--> |
| <!--<artifactId>geronimo-transaction</artifactId>--> |
| <!--</exclusion>--> |
| <!--<exclusion>--> |
| <!--<groupId>org.apache.geronimo.modules</groupId>--> |
| <!--<artifactId>geronimo-timer</artifactId>--> |
| <!--</exclusion>--> |
| <!--<exclusion>--> |
| <!--<groupId>org.apache.geronimo.modules</groupId>--> |
| <!--<artifactId>geronimo-webservices</artifactId>--> |
| <!--</exclusion>--> |
| <!--</exclusions>--> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.modules</groupId> |
| <artifactId>geronimo-openejb</artifactId> |
| <version>${version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.configs</groupId> |
| <artifactId>openjpa</artifactId> |
| <type>car</type> |
| <version>${version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.yoko</groupId> |
| <artifactId>yoko-spec-corba</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.configs</groupId> |
| <artifactId>webservices-common</artifactId> |
| <type>car</type> |
| <version>${version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.plugins.classloaders</groupId> |
| <artifactId>xbean-finder</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.swizzle</groupId> |
| <artifactId>swizzle-stream</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.geronimo.buildsupport</groupId> |
| <artifactId>car-maven-plugin</artifactId> |
| <configuration> |
| <category>EJB Container</category> |
| <instance> |
| <plugin-artifact> |
| <config-xml-content> |
| <gbean name="EJBNetworkService"> |
| <attribute name="port">${OpenEJBPort + PortOffset}</attribute> |
| <attribute name="host">${ServerHostname}</attribute> |
| <attribute name="discoveryHost">${DiscoveryHostname}</attribute> |
| <attribute name="multicastHost">${MulticastDiscoveryAddress}</attribute> |
| <attribute name="multicastPort">${MulticastDiscoveryPort}</attribute> |
| <attribute name="multipointHost">${MultipointHost}</attribute> |
| <attribute name="multipointPort">${MultipointPort + PortOffset}</attribute> |
| <attribute name="multipointServers">${MultipointServers}</attribute> |
| <attribute name="multicastEnabled">${MulticastEnabled}</attribute> |
| <attribute name="multipointEnabled">${MultipointEnabled}</attribute> |
| <attribute name="clusterName">${ClusterName}</attribute> |
| </gbean> |
| <gbean name="DefaultStatefulContainer"> |
| <attribute name="timeout">${StatefulTimeout}</attribute> |
| <attribute name="capacity">${StatefulCapacity}</attribute> |
| <attribute name="bulkPassivate">${StatefulBulkPassivate}</attribute> |
| </gbean> |
| <gbean name="DefaultSingletonContainer"> |
| <attribute name="accessTimeout">${SingletonAccessTimeout}</attribute> |
| </gbean> |
| <gbean name="DefaultBMPContainer"> |
| <attribute name="poolSize">${BMPPoolSize}</attribute> |
| </gbean> |
| <gbean name="DefaultStatelessContainer"> |
| <attribute name="accessTimeout">${StatelessAccessTimeout}</attribute> |
| <attribute name="closeTimeout">${StatelessCloseTimeout}</attribute> |
| <attribute name="maxSize">${StatelessPoolSize}</attribute> |
| <attribute name="minSize">${StatelessMinPoolSize}</attribute> |
| <attribute name="strictPooling">${StatelessStrictPooling}</attribute> |
| <attribute name="idleTimeout">${StatelessIdleTimeout}</attribute> |
| </gbean> |
| </config-xml-content> |
| <config-substitution key="OpenEJBPort">4201</config-substitution> |
| <config-substitution key="StatefulTimeout">20</config-substitution> |
| <config-substitution key="StatefulCapacity">1000</config-substitution> |
| <config-substitution key="StatefulBulkPassivate">100</config-substitution> |
| <config-substitution key="SingletonAccessTimeout">30</config-substitution> |
| <config-substitution key="BMPPoolSize">10</config-substitution> |
| <config-substitution key="StatelessAccessTimeout">0</config-substitution> |
| <config-substitution key="StatelessCloseTimeout">300000</config-substitution> |
| <config-substitution key="StatelessPoolSize">10</config-substitution> |
| <config-substitution key="StatelessMinPoolSize">0</config-substitution> |
| <config-substitution key="StatelessStrictPooling">true</config-substitution> |
| <config-substitution key="StatelessIdleTimeout">0</config-substitution> |
| <config-substitution key="DiscoveryHostname" /> |
| <config-substitution key="MulticastDiscoveryAddress">239.255.3.2</config-substitution> |
| <config-substitution key="MulticastDiscoveryPort">6142</config-substitution> |
| <config-substitution key="MultipointHost">0.0.0.0</config-substitution> |
| <config-substitution key="MultipointPort">4212</config-substitution> |
| <config-substitution key="MulticastEnabled">false</config-substitution> |
| <config-substitution key="MultipointEnabled">false</config-substitution> |
| <config-substitution key="MultipointServers" /> |
| <config-substitution key="ClusterName">cluster1</config-substitution> |
| <copy-file relative-to="geronimo" dest-dir="">schema</copy-file> |
| </plugin-artifact> |
| </instance> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |