An apache karaf feature repository containing a feature that will load the Jersey JAX-RS implementation

Steinar Bang 76bda100bf [maven-release-plugin] prepare release jersey-karaf-feature-1.9.4 1 ano atrás
hk2-karaf-feature 757d2ccf76 [maven-release-plugin] prepare release jersey-karaf-feature-1.9.4 1 ano atrás
jackson-java-time-module 757d2ccf76 [maven-release-plugin] prepare release jersey-karaf-feature-1.9.4 1 ano atrás
jersey 757d2ccf76 [maven-release-plugin] prepare release jersey-karaf-feature-1.9.4 1 ano atrás
jersey-feature-bom 757d2ccf76 [maven-release-plugin] prepare release jersey-karaf-feature-1.9.4 1 ano atrás
jersey-hk2 757d2ccf76 [maven-release-plugin] prepare release jersey-karaf-feature-1.9.4 1 ano atrás
jersey.tests 757d2ccf76 [maven-release-plugin] prepare release jersey-karaf-feature-1.9.4 1 ano atrás
.editorconfig f0cfa9f9f8 Initial commit 5 anos atrás
.gitignore 248d08cba3 Ignore eclipse workspace .metadata directory in the top directory 2 anos atrás
.travis.yml b96ee0a71d Add travis-ci continous integration build 4 anos atrás
LICENSE f0cfa9f9f8 Initial commit 5 anos atrás
README.org eabc4a3cc1 Add version 1.9.3 to the release history of the README and use version 1.9.3 in example in the README 2 anos atrás
pom.xml 757d2ccf76 [maven-release-plugin] prepare release jersey-karaf-feature-1.9.4 1 ano atrás

README.org

Jersey karaf feature

This is a maven pom that generates an apache karaf feature repository with a feature loading the jersey JAX-RS implementation.

file:https://travis-ci.org/steinarb/jersey-karaf-feature.svg?branch=master file:https://maven-badges.herokuapp.com/maven-central/no.priv.bang.karaf/jersey-karaf-feature/badge.svg

Installing the feature in karaf

Give the following commands from the karaf console:


  feature:repo-add mvn:no.priv.bang.karaf/jersey/LATEST/xml/features
  feature:install jersey-karaf-feature

Use the feature in a maven project

    If you have a maven project building an OSGi bundle with a karaf feature repository attached, using the [[https://svn.apache.org/repos/asf/karaf/site/production/manual/latest/karaf-maven-plugin.html#_using_the_karaf_maven_plugin][karaf-maven-plugin]], then you can add a runtime dependency to this feature by adding the following to the maven dependencies of your project:
  1. Import the BoM (Bill of Materials) in your project's dependencyManagement
  2. #+BEGIN_SRC xml no.priv.bang.karaf jersey 1.9.3 pom import #+END_SRC
  3. Add a dependency to the karaf feature repository of the feature (/note/: no version, because that is supplied by the BoM import)
  4. #+BEGIN_SRC xml no.priv.bang.karaf jersey xml features #+END_SRC

Release history

It might simplify things if I'm able give the feature the same version number as the karaf version the feature pulls in and starts. But for the moment the version numbers are different.

Date Release Jersey version Comment
<2022-11-28 Mon 20:13> 1.9.3 2.37 Use jersey 2.37. Also use jackson 2.14.1 to fix CVE-2022-42003 and CVE-2022-42004
<2022-08-09 Tue 22:21> 1.9.2 2.36 Use jersey 2.36
<2022-05-30 Mon 20:18> 1.9.1 2.35 Use jackson 2.13.3
<2022-05-28 Sat 23:10> 1.9.0 2.35 Use karaf 4.4.0 and OSGi 8
<2022-02-19 Sat 21:59> 1.8.5 2.35 jersey 2.35 and jackson 2.13.1
<2021-06-15 Tue 19:23> 1.8.4 2.34 jersey 2.34 and jackson 2.12.3
<2021-05-02 Sun 17:09> 1.8.3 2.33 Split repository feature into multiple files, add jackson java.time module feature
<2021-04-17 Sat 17:17> 1.8.2 2.33 Add a Bill of Materials (BoM) POM
<2021-01-24 Sun 21:00> 1.8.1 2.33 Use jersey 2.33 and jackson 2.12.1
<2021-01-23 Sat 13:28> 1.8.0 2.30.1 Changed the maven coordinates of the feature to allow for integration test
<2020-09-11 Fri 19:35> 1.7.1 2.30.1 Don't load servicemix javax.inject at runtime (might conflict with the HK2 javax.inject bundle)
<2020-04-09 Thu 20:29> 1.7.0 2.30.1 Use jackson 2.10.3 and HK2 2.6.1
<2020-03-04 Wed 23:49> 1.6.0 2.30 Use jackson-databind 2.9.10.3
<2020-02-07 Fri 21:55> 1.5.0 2.30 Use jersey 2.30 and jackson-databind 2.9.10.2 (Note! jersey 2.28 doesn't work on OSGi with JDK8)
<2019-11-05 Tue 22:22> 1.4.0 2.28 Use jackson-databind 2.9.10.1
<2019-06-08 Sat 22:22> 1.3.0 2.28 Use jackson 2.9.10
<2019-08-01 Thu 09:33> 1.2.0 2.28 Use security mini-patch 2.9.9.2 of jackson-databind
<2019-06-10 Mon 20:46> 1.1.0 2.27 Split HK2 into separate feature that is loaded first
<2019-06-09 Sun 22:22> 1.0.0 2.27

License

The license of this karaf feature, is Apache Public License v 2.0

See the LICENSE file for details.