Add osgi support. Make common pool optionnal #91
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
add a osgi compatible manifest so that the embedded-jmxtrans can be use in a osgi enviroment
this create a manifest that look like that
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven Bundle Plugin
Built-By: kdeveloper
Build-Jdk: 1.8.0_40
Bnd-LastModified: 1431955631126
Bundle-Description: In process JMX metrics exporter
Bundle-License: http://www.opensource.org/licenses/mit-license.php
Bundle-ManifestVersion: 2
Bundle-Name: embedded-jmxtrans
Bundle-SymbolicName: embedded-jmxtrans
Bundle-Version: 1.0.16.SNAPSHOT
Export-Package: org.jmxtrans.embedded;uses:="javax.annotation,javax.ma
nagement";version="1.0.16",org.jmxtrans.embedded.config;uses:="com.fa
sterxml.jackson.databind,javax.annotation,javax.management,org.jmxtra
ns.embedded";version="1.0.16",org.jmxtrans.embedded.servlet;uses:="ja
vax.servlet,org.slf4j";version="1.0.16"
Import-Package: com.fasterxml.jackson.core;version="[2.4,3)",com.faste
rxml.jackson.databind;version="[2.4,3)",com.fasterxml.jackson.databin
d.node;version="[2.4,3)",javax.annotation,javax.management,javax.mana
gement.openmbean,javax.servlet;resolution:=optional,org.apache.common
s.io;version="[1.4,2)";resolution:=optional,org.apache.commons.pool2;
version="[2.3,3)";resolution:=optional,org.apache.commons.pool2.impl;
version="[2.3,3)";resolution:=optional,org.python.core;resolution:=op
tional,org.python.modules;resolution:=optional,org.slf4j;version="[1.
7,2)",org.springframework.beans.factory;version="[3.1,4)";resolution:
=optional,org.springframework.beans.factory.annotation;version="[3.1,
4)";resolution:=optional,org.springframework.beans.factory.support;ve
rsion="[3.1,4)";resolution:=optional,org.springframework.beans.factor
y.xml;version="[3.1,4)";resolution:=optional,org.springframework.core
.io;version="[3.1,4)";resolution:=optional,org.springframework.jmx.ex
port.naming;version="[3.1,4)";resolution:=optional,org.springframewor
k.util;version="[3.1,4)";resolution:=optional,org.supercsv.io;version
="[2.1,3)";resolution:=optional,org.supercsv.prefs;version="[2.1,3)";
resolution:=optional,org.w3c.dom
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.6))"
Tool: Bnd-2.4.1.201501161923