Skip to content

Commit 085d96c

Browse files
[maven-release-plugin] prepare for next development iteration
git-svn-id: https://anonsvn.jboss.org/repos/jbossas/projects/jboss-osgi/projects/bundles/jta/trunk@97397 84be2c1e-ba19-0410-b317-a758671a6fc1
0 parents  commit 085d96c

11 files changed

+591
-0
lines changed

.classpath

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
4+
<classpathentry kind="src" path="src/test/java"/>
5+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
6+
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
7+
<classpathentry kind="output" path="target/classes"/>
8+
</classpath>

.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>jboss-osgi-jmx</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.maven.ide.eclipse.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.maven.ide.eclipse.maven2Nature</nature>
21+
<nature>org.eclipse.jdt.core.javanature</nature>
22+
</natures>
23+
</projectDescription>

.settings/org.eclipse.jdt.core.prefs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#Tue Apr 14 17:48:49 CEST 2009
2+
eclipse.preferences.version=1
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
4+
org.eclipse.jdt.core.compiler.compliance=1.5
5+
org.eclipse.jdt.core.compiler.source=1.5

.settings/org.maven.ide.eclipse.prefs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#Tue Apr 14 17:48:48 CEST 2009
2+
activeProfiles=
3+
eclipse.preferences.version=1
4+
fullBuildGoals=process-test-resources
5+
includeModules=false
6+
resolveWorkspaceProjects=true
7+
resourceFilterGoals=process-resources resources\:testResources
8+
skipCompilerPlugin=true
9+
version=1

pom.xml

Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
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>
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
/*
2+
* JBoss, Home of Professional Open Source
3+
* Copyright 2005, JBoss Inc., and individual contributors as indicated
4+
* by the @authors tag. See the copyright.txt in the distribution for a
5+
* full listing of individual contributors.
6+
*
7+
* This is free software; you can redistribute it and/or modify it
8+
* under the terms of the GNU Lesser General Public License as
9+
* published by the Free Software Foundation; either version 2.1 of
10+
* the License, or (at your option) any later version.
11+
*
12+
* This software is distributed in the hope that it will be useful,
13+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
* Lesser General Public License for more details.
16+
*
17+
* You should have received a copy of the GNU Lesser General Public
18+
* License along with this software; if not, write to the Free
19+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21+
*/
22+
package org.jboss.osgi.jta;
23+
24+
//$Id$
25+
26+
import java.io.File;
27+
28+
import javax.transaction.TransactionManager;
29+
30+
import org.jboss.osgi.spi.capability.Capability;
31+
32+
import com.arjuna.ats.arjuna.common.Environment;
33+
34+
/**
35+
* Adds the Transaction capability to the {@link OSGiRuntime}
36+
* under test.
37+
*
38+
* It is ignored if the {@link TransactionManager} service is already registered.
39+
*
40+
* Installed bundles: jboss-osgi-jta.jar
41+
*
42+
43+
* @since 27-Oct-2009
44+
*/
45+
public class TransactionCapability extends Capability
46+
{
47+
public TransactionCapability()
48+
{
49+
super(TransactionCapabilityMarker.class.getName());
50+
51+
if (new File("target").exists())
52+
addSystemProperty(Environment.OBJECTSTORE_DIR, "target/ObjectStore");
53+
54+
addBundle("bundles/jboss-osgi-jta.jar");
55+
}
56+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* JBoss, Home of Professional Open Source
3+
* Copyright 2005, JBoss Inc., and individual contributors as indicated
4+
* by the @authors tag. See the copyright.txt in the distribution for a
5+
* full listing of individual contributors.
6+
*
7+
* This is free software; you can redistribute it and/or modify it
8+
* under the terms of the GNU Lesser General Public License as
9+
* published by the Free Software Foundation; either version 2.1 of
10+
* the License, or (at your option) any later version.
11+
*
12+
* This software is distributed in the hope that it will be useful,
13+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
* Lesser General Public License for more details.
16+
*
17+
* You should have received a copy of the GNU Lesser General Public
18+
* License along with this software; if not, write to the Free
19+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21+
*/
22+
package org.jboss.osgi.jta;
23+
24+
//$Id$
25+
26+
27+
/**
28+
* A marker service for the jboss-osgi-jta bundle.
29+
*
30+
31+
* @since 27-Oct-2009
32+
*/
33+
public interface TransactionCapabilityMarker
34+
{
35+
}

0 commit comments

Comments
 (0)