|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | + <!-- ====================================================================== --> |
| 4 | + <!-- --> |
| 5 | + <!-- JBoss, the OpenSource J2EE webOS --> |
| 6 | + <!-- --> |
| 7 | + <!-- Distributable under LGPL license. --> |
| 8 | + <!-- See terms of license at http://www.gnu.org. --> |
| 9 | + <!-- --> |
| 10 | + <!-- ====================================================================== --> |
| 11 | + |
| 12 | + <!-- $Id$ --> |
| 13 | + |
| 14 | +<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"> |
| 15 | + <modelVersion>4.0.0</modelVersion> |
| 16 | + |
| 17 | + <name>JBossOSGi Bundles - JTA</name> |
| 18 | + <description>The JBossOSGi Transaction Service</description> |
| 19 | + |
| 20 | + <groupId>org.jboss.osgi.bundles</groupId> |
| 21 | + <artifactId>jboss-osgi-jta</artifactId> |
| 22 | + <packaging>bundle</packaging> |
| 23 | + |
| 24 | + <version>1.0.1-SNAPSHOT</version> |
| 25 | + |
| 26 | + <!-- Parent --> |
| 27 | + <parent> |
| 28 | + <groupId>org.jboss.osgi</groupId> |
| 29 | + <artifactId>jboss-osgi-parent</artifactId> |
| 30 | + <version>1.0.4</version> |
| 31 | + </parent> |
| 32 | + |
| 33 | + <!-- Subversion --> |
| 34 | + <scm> |
| 35 | + <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/jboss-osgi/projects/bundles/jta/trunk</connection> |
| 36 | + <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/jboss-osgi/projects/bundles/jta/trunk</developerConnection> |
| 37 | + <url>http://fisheye.jboss.com/qsearch/JBossOSGi</url> |
| 38 | + </scm> |
| 39 | + |
| 40 | + <!-- Properties --> |
| 41 | + <properties> |
| 42 | + <version.jboss.jta.api>1.0.1.GA</version.jboss.jta.api> |
| 43 | + <version.jboss.jbossts>4.6.1.GA</version.jboss.jbossts> |
| 44 | + <version.jboss.osgi.spi>1.0.3</version.jboss.osgi.spi> |
| 45 | + <version.osgi>4.2.0</version.osgi> |
| 46 | + </properties> |
| 47 | + |
| 48 | + <!-- Dependencies --> |
| 49 | + <dependencies> |
| 50 | + <dependency> |
| 51 | + <groupId>org.jboss.osgi</groupId> |
| 52 | + <artifactId>jboss-osgi-spi</artifactId> |
| 53 | + <version>${version.jboss.osgi.spi}</version> |
| 54 | + </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>org.jboss.javaee</groupId> |
| 57 | + <artifactId>jboss-transaction-api</artifactId> |
| 58 | + <version>${version.jboss.jta.api}</version> |
| 59 | + </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>jboss.jbossts</groupId> |
| 62 | + <artifactId>jbossjts</artifactId> |
| 63 | + <version>${version.jboss.jbossts}</version> |
| 64 | + </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>jboss.jbossts</groupId> |
| 67 | + <artifactId>jbossts-common</artifactId> |
| 68 | + <version>${version.jboss.jbossts}</version> |
| 69 | + </dependency> |
| 70 | + |
| 71 | + <!-- OSGi Dependencies --> |
| 72 | + <dependency> |
| 73 | + <groupId>org.osgi</groupId> |
| 74 | + <artifactId>org.osgi.core</artifactId> |
| 75 | + <version>${version.osgi}</version> |
| 76 | + <scope>provided</scope> |
| 77 | + </dependency> |
| 78 | + <dependency> |
| 79 | + <groupId>org.osgi</groupId> |
| 80 | + <artifactId>org.osgi.compendium</artifactId> |
| 81 | + <version>${version.osgi}</version> |
| 82 | + <scope>provided</scope> |
| 83 | + </dependency> |
| 84 | + |
| 85 | + <!-- Test Dependecies --> |
| 86 | + <dependency> |
| 87 | + <groupId>junit</groupId> |
| 88 | + <artifactId>junit</artifactId> |
| 89 | + <scope>test</scope> |
| 90 | + </dependency> |
| 91 | + <dependency> |
| 92 | + <groupId>org.slf4j</groupId> |
| 93 | + <artifactId>slf4j-log4j12</artifactId> |
| 94 | + <scope>test</scope> |
| 95 | + </dependency> |
| 96 | + </dependencies> |
| 97 | + |
| 98 | + <build> |
| 99 | + <plugins> |
| 100 | + <plugin> |
| 101 | + <groupId>org.apache.felix</groupId> |
| 102 | + <artifactId>maven-bundle-plugin</artifactId> |
| 103 | + <extensions>true</extensions> |
| 104 | + <configuration> |
| 105 | + <instructions> |
| 106 | + <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName> |
| 107 | + <Bundle-Activator>org.jboss.osgi.jta.internal.TransactionServiceActivator</Bundle-Activator> |
| 108 | + <Export-Package> |
| 109 | + org.jboss.osgi.jta;version=${version} |
| 110 | + </Export-Package> |
| 111 | + <Private-Package>org.jboss.osgi.jta.internal</Private-Package> |
| 112 | + <Import-Package> |
| 113 | + javax.management, |
| 114 | + javax.naming, |
| 115 | + javax.naming.spi, |
| 116 | + javax.transaction;version="[1.0,1.1)", |
| 117 | + javax.xml.parsers, |
| 118 | + org.apache.commons.logging, |
| 119 | + org.jboss.osgi.spi.capability;version="[1.0,1.1)", |
| 120 | + org.jboss.osgi.spi.util;version="[1.0,1.1)", |
| 121 | + org.osgi.framework, |
| 122 | + org.w3c.dom, |
| 123 | + |
| 124 | + <!-- excludes --> |
| 125 | + !com.arjuna.ArjunaOTS, |
| 126 | + !com.arjuna.ats.internal*, |
| 127 | + !javax.resource.spi, |
| 128 | + !javax.resource.spi.work, |
| 129 | + !javax.sql, |
| 130 | + !javax.swing, |
| 131 | + !javax.swing.tree, |
| 132 | + !oracle.jdbc.xa, |
| 133 | + !oracle.jdbc.xa.client, |
| 134 | + !oracle.sql, |
| 135 | + !org.apache.log4j, |
| 136 | + !org.apache.xml.serialize, |
| 137 | + !org.omg.*, |
| 138 | + </Import-Package> |
| 139 | + <Embed-Transitive>true</Embed-Transitive> |
| 140 | + <Embed-Dependency> |
| 141 | + jboss-transaction-api;inline=false, |
| 142 | + jbossjts;inline=false, |
| 143 | + jbossts-common;inline=false, |
| 144 | + </Embed-Dependency> |
| 145 | + <_exportcontents> |
| 146 | + javax.transaction;version=1.0.1, |
| 147 | + </_exportcontents> |
| 148 | + </instructions> |
| 149 | + </configuration> |
| 150 | + </plugin> |
| 151 | + <plugin> |
| 152 | + <groupId>org.codehaus.mojo</groupId> |
| 153 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 154 | + <executions> |
| 155 | + <execution> |
| 156 | + <id>attach-artifacts</id> |
| 157 | + <phase>package</phase> |
| 158 | + <goals> |
| 159 | + <goal>attach-artifact</goal> |
| 160 | + </goals> |
| 161 | + <configuration> |
| 162 | + <artifacts> |
| 163 | + <artifact> |
| 164 | + <!-- For some reason the distribution javadoc module needs this --> |
| 165 | + <file>target/${artifactId}-${version}-sources.jar</file> |
| 166 | + <classifier>sources</classifier> |
| 167 | + <type>jar</type> |
| 168 | + </artifact> |
| 169 | + </artifacts> |
| 170 | + </configuration> |
| 171 | + </execution> |
| 172 | + </executions> |
| 173 | + </plugin> |
| 174 | + </plugins> |
| 175 | + </build> |
| 176 | + |
| 177 | +</project> |
0 commit comments