Add only some lines in the pom.xml to set gettext-commons be OSGi compliant.
By patching the pom.xml, your component can be attached to an existing
framework during execution.
The official maven bundle plugin will create a good manifest in your Jar like
this :
"
Manifest-Version: 1.0
Bnd-LastModified: 1359024878959
Build-Jdk: 1.7.0_09
Built-By: maven
Bundle-Description: A library that supports gettext-based internationali
zation (i18n) of Java applications.
Bundle-ManifestVersion: 2
Bundle-Name: Gettext Commons
Bundle-SymbolicName: gettext-commons
Bundle-Version: 0.9.6
Created-By: Apache Maven Bundle Plugin
Export-Package: org.xnap.commons.i18n;version="0.9.6"
Tool: Bnd-1.50.0
"
We (https://github.com/irstv/orbisgis) are using gettext-commons and OSGi.
Thank you
Original issue reported on code.google.com by fnicola...@gmail.com on 24 Jan 2013 at 11:00
Original issue reported on code.google.com by
fnicola...@gmail.com
on 24 Jan 2013 at 11:00Attachments: