Hi Tim,

you can use directly the javax.annotation bundle:

mvn:javax.annotation/javax.annotation-api/1.2

I can introduce a standard feature providing it, however, as the bundle is atomic, I don't think it makes sense.

Regards
JB

It's not a feature, it's a bundle.

On 01/03/2015 07:09 PM, Timothy Vogel wrote:
I need to have the 1.2 implementation of javax.transaction available in
Karaf (3.0.2).  The repositories below that ship enabled only have
javax.transaction 1.1.0 (see below)

Is there a karaf repository that has a feature including the 1.2 or
greater version of javax.transaction?

Thanks!

karaf@root()> repo-list

Repository              | URL

-------------------------------------------------------------------------------------

org.ops4j.pax.web-3.1.2 |
mvn:org.ops4j.pax.web/pax-web-features/3.1.2/xml/features

enterprise-3.0.2        |
mvn:org.apache.karaf.features/enterprise/3.0.2/xml/features

spring-3.0.2            |
mvn:org.apache.karaf.features/spring/3.0.2/xml/features

standard-3.0.2          |
mvn:org.apache.karaf.features/standard/3.0.2/xml/features

org.ops4j.pax.cdi-0.8.0 |
mvn:org.ops4j.pax.cdi/pax-cdi-features/0.8.0/xml/features

karaf@root()> feature:install transaction

karaf@root()> feature:list -i

Name        | Version | Installed | Repository       | Description

---------------------------------------------------------------------------------------------------------

transaction | 1.1.0   | x         | enterprise-3.0.2 | OSGi Transaction
Manager

standard    | 3.0.2   | x         | standard-3.0.2   | Karaf standard
feature

config      | 3.0.2   | x         | standard-3.0.2   | Provide OSGi
ConfigAdmin support

region      | 3.0.2   | x         | standard-3.0.2   | Provide Region
Support

package     | 3.0.2   | x         | standard-3.0.2   | Package commands
and mbeans

kar         | 3.0.2   | x         | standard-3.0.2   | Provide KAR
(KARaf archive) support

ssh         | 3.0.2   | x         | standard-3.0.2   | Provide a SSHd
server on Karaf

management  | 3.0.2   | x         | standard-3.0.2   | Provide a JMX
MBeanServer and a set of MBeans in K

karaf@root()> exports | grep -i javax.transaction

javax.transaction.xa                           | 0.0.0   | 0  |
org.apache.felix.framework

javax.transaction.xa                           | 1.1.0   | 64 |
org.apache.geronimo.specs.geronimo-jta_1.1_spec

javax.transaction.xa                           | 1.1.0   | 66 |
org.apache.aries.transaction.manager

javax.transaction                              | 0.0.0   | 0  |
org.apache.felix.framework

javax.transaction                              | 1.1.0   | 64 |
org.apache.geronimo.specs.geronimo-jta_1.1_spec

javax.transaction                              | 1.1.0   | 66 |
org.apache.aries.transaction.manager


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to