Hi, in that case plz. open a Jira Issue so we make sure the version in the jre.properties is corrected to 1.0.
If a newer version is needed it's usually best to provide that bundle with the "custome" code/bundles. regards, Achim 2014-10-21 22:15 GMT+02:00 Christoph Gritschenberger < [email protected]>: > I recently discovered an "oddity", with javax.annotation. > > The problem afaics is that Java 6/7/8 SE all only contain the 1.0-specs > of javax.annotation whereas Java EE contains 1.1/1.2 (don't know exactly > which versions contain what). > > I'm not sure Java EE should be the reference for package-versions in > jre.properties > > kind regards > Christoph > > On 21/10/14 21:25, jsnharris wrote: > > Although the javax.annotation version is fixed in Karaf 3.0.1, the new > > annotations in 1.2.0 (e.g. javax.annotation.Priority) are still not > > available to Karaf out of the box. Is the solution really a case of > > commenting out the javax.annotation entry in the jre 7 part of > > etc/jre.properties and then including the 1.2 javax.annotation bundle as > a > > feature or should the latest bundle be included as part of the karaf > > distribution? > > > > > > > > -- > > View this message in context: > http://karaf.922171.n3.nabble.com/javax-annotation-1-2-0-and-KARAF-2660-tp4036056.html > > Sent from the Karaf - Dev mailing list archive at Nabble.com. > > > > > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
