fge / uri-template

A fully functional Java implementation of URI templates (RFC 6570): create URIs for your REST API without room for errors
Other
54 stars 17 forks source link

Fix for issue 1 #2

Closed mattbishop closed 11 years ago

mattbishop commented 11 years ago

https://github.com/fge/uri-template/issues/1

mattbishop commented 11 years ago

This patch does two things:

  1. Adds the Apache Felix Bundle plugin to the pom file which will generate the appropriate OSGi headers.
  2. Change the packaging type from 'jar' to 'bundle' to enable the bundle plugin to join the build. 'bundle' is the same process as 'jar' with the extra step of scanning the classes and generating the OSGi headers into META-INF/MANIFEST.MF.

The only difference between 'bundle' and 'jar' are the extra headers in the manifest.

fge commented 11 years ago

Committed upstream as dde51c2