[jboss-jira] [JBoss JIRA] Commented: (JBEE-67) Please make jboss-transactions-api JAR an OSGi bundle.
luca stancapiano (JIRA)
jira-events at lists.jboss.org
Fri Apr 29 06:20:18 EDT 2011
[ https://issues.jboss.org/browse/JBEE-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598993#comment-12598993 ]
luca stancapiano commented on JBEE-67:
--------------------------------------
Yes....it's very simple. It is enough to add this code in the end of pom.xml before the </project> tag:
<build>
<plugins>
<!--
Adding OSGI metadata to the JAR without changing the packaging type.
-->
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
> Please make jboss-transactions-api JAR an OSGi bundle.
> ------------------------------------------------------
>
> Key: JBEE-67
> URL: https://issues.jboss.org/browse/JBEE-67
> Project: JBoss JavaEE APIs
> Issue Type: Task
> Components: Transaction API
> Affects Versions: 1.0.1.GA-transaction-api
> Reporter: Trustin Lee
> Assignee: Shelly McGowan
> Priority: Trivial
>
> To make Infinispan run on an OSGi container, all its required dependencies need to become an OSGi bundle. jboss-transaction-api is one of them since Infinispan's core is coupled with JTA.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list