| <?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"> |
| <parent> |
| <artifactId>openejb</artifactId> |
| <groupId>org.apache.openejb</groupId> |
| <version>4.5.1</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>tomee</artifactId> |
| <version>1.5.1</version> |
| <packaging>pom</packaging> |
| <name>OpenEJB :: TomEE</name> |
| |
| <modules> |
| <module>tomee-loader</module> |
| <module>tomee-catalina</module> |
| <module>tomee-common</module> |
| <module>tomee-myfaces</module> |
| <module>tomee-mojarra</module> |
| <module>tomee-jdbc</module> |
| <module>tomee-webapp</module> |
| <module>tomee-plus-webapp</module> |
| <module>tomee-webservices</module> |
| <module>tomee-embedded</module> |
| <module>tomee-jaxrs</module> |
| <module>tomee-jaxrs-webapp</module> |
| <module>apache-tomcat</module> |
| <module>apache-tomee</module> |
| <module>tomee-util</module> |
| </modules> |
| |
| <repositories> |
| <repository> |
| <id>tomcat-private-repository</id> |
| <name>Tomcat Private Repository</name> |
| <url>http://tomcat.apache.org/dev/dist/m2-repository</url> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| |
| <!-- just set the good JPA provider. As openejb-core is needed in all modules it is easier to do it here --> |
| <profiles> |
| <profile> |
| <id>openjpa</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>openejb-core</artifactId> |
| <version>${openejb.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>javaee-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-ra</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.geronimo.components</groupId> |
| <artifactId>geronimo-connector</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-j2ee-connector_1.6_spec</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>hibernate</id> |
| <activation> |
| <property> |
| <name>hibernate</name> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> <!-- to avoid to force exclusions everywhere --> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>openejb-core</artifactId> |
| <version>${openejb.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.openjpa</groupId> |
| <artifactId>openjpa</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.bval</groupId> |
| <artifactId>bval-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.bval</groupId> |
| <artifactId>bval-jsr303</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>javaee-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-ra</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.geronimo.components</groupId> |
| <artifactId>geronimo-connector</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-j2ee-connector_1.6_spec</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>openejb-core-hibernate</artifactId> |
| <type>pom</type> |
| <version>${openejb.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>javaee-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-ra</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.geronimo.components</groupId> |
| <artifactId>geronimo-connector</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-j2ee-connector_1.6_spec</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| |
| <properties> |
| <openejb.version>4.5.1</openejb.version> |
| </properties> |
| </project> |
| |