Hi, actually version 3 is "older" compared to version 2.4.
2.4 is there to have an easier transition phase between 2.3. and 3.0 since we changed APIs in those versions. So right now I'd go for 3.0.3 which has a good support. OSGi 5 is only because the 3.0.3 line uses Felix 4.2.1, cause at that time 4.4. hasn't been released. [1] While 2.4. (which has been released later) uses Felix 4.4.1. An upgrade to it would be a major change and therefore requires a major version bump. The next version to come is 4.0 which also has Felix 4.4.1 as dependency, so if you're are starting with a new Project you might want to work with the soon to come 4.0.0.M2 as 4.0.0 will be our next focused version. Regards, Achim [1] - http://karaf.apache.org/index/documentation/karaf-dependencies/karaf-deps-3.0.x.html [2] - http://karaf.apache.org/index/documentation/karaf-dependencies/karaf-deps-2.4.x.html 2015-02-02 10:49 GMT+01:00 Arnaud Deprez <[email protected]>: > Hello, > > My question is in the title : for a new project, which version of karaf > should we choose ? > > When I read the blog post from Christian ( > http://www.liquid-reality.de/display/liquid/2013/12/28/10+reasons+to+switch+to+Apache+Karaf+3). > I should use the version 3. > > But on the official web site, in the release schedule section : > http://karaf.apache.org/index/community/releases-schedule.html > I see that karaf 3 has only a partial support for OSGi 5 and karaf 2.4.x > has full support. > > I don't get why previous version of karaf have a better support of latest > OSGi version. > > Could someone enlighten me on ? > > Thanks, > > Arnaud Deprez > -- 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
