| <?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.genesis.config</groupId> |
| <artifactId>project-config</artifactId> |
| <version>1.5</version> |
| </parent> |
| |
| <groupId>org.apache.geronimo.components</groupId> |
| <artifactId>geronimo-txmanager-parent</artifactId> |
| <version>2.2-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>Geronimo TxManager</name> |
| |
| <description> |
| Geronimo Transaction Manager |
| </description> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/components/txmanager/trunk</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/components/txmanager/trunk</developerConnection> |
| <url>http://svn.apache.org/viewvc/geronimo/components/txmanager/trunk</url> |
| </scm> |
| |
| <properties> |
| <!-- |
| NOTE: Project version, to be used instead of ${pom.version} since that |
| value magically changes when using SNAPSHOT versions. |
| |
| This value *must* be kept in sync with the value of the <version> |
| element, and it will need to be changed manually before a release, |
| as the maven-release-plugin will not update this value. |
| --> |
| <version>2.2-SNAPSHOT</version> |
| |
| <!-- OSGi properties --> |
| <geronimo.txmanager.osgi.export>${geronimo.txmanager.osgi.export.pkg}*;version=${version}</geronimo.txmanager.osgi.export> |
| <geronimo.txmanager.osgi.export.pkg/> |
| <geronimo.txmanager.osgi.import.pkg/> |
| <geronimo.txmanager.osgi.private.pkg/> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.5.5</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>1.5.5</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jta_1.1_spec</artifactId> |
| <version>1.1.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-j2ee-connector_1.6_spec</artifactId> |
| <version>1.0-EA-SNAPSHOT</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.objectweb.howl</groupId> |
| <artifactId>howl</artifactId> |
| <version>1.0.1-1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.2</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- INTERNAL --> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.components</groupId> |
| <artifactId>geronimo-transaction</artifactId> |
| <version>${version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <modules> |
| <module>geronimo-transaction</module> |
| <module>geronimo-connector</module> |
| </modules> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <!-- Do not include META-INF/maven to avoid long file problems on windows --> |
| <addMavenDescriptor>false</addMavenDescriptor> |
| </archive> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <!-- Build *test.jar files for modules --> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>1.2.0</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>validate</phase> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <!-- Allow any Java >= 1.5 --> |
| <requireJavaVersion> |
| <version>[1.5,)</version> |
| </requireJavaVersion> |
| |
| <!-- Allow any Maven >= 2.0.9 --> |
| <requireMavenVersion> |
| <version>[2.0.9,)</version> |
| </requireMavenVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>ianal-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>verify-legal-files</goal> |
| </goals> |
| <configuration> |
| <!-- Fail the build if any artifacts are missing legal files --> |
| <strict>true</strict> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <executions> |
| <execution> |
| <goals> |
| <goal>bundle</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| <Export-Package>${geronimo.txmanager.osgi.export}</Export-Package> |
| <Import-Package>${geronimo.txmanager.osgi.import.pkg}*</Import-Package> |
| <Private-Package>${geronimo.txmanager.osgi.private.pkg}</Private-Package> |
| </instructions> |
| <unpackBundle>true</unpackBundle> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |
| |