[commons-io] 26/47: Add OSGi metadata to jar manifest

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Apr 26 10:54:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository commons-io.

commit a7a4d5d96837025ec0a53fbf4e8e1e91ca5c5ce8
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Fri Oct 28 17:18:34 2011 +0000

    Add OSGi metadata to jar manifest
---
 debian/changelog                       |  6 ++++++
 debian/patches/add-osgi-metadata.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 3 files changed, 33 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 09e53b0..3931b49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+commons-io (1.4-4) UNRELEASED; urgency=low
+
+  * Add OSGi metadata to jar manifest
+
+ -- Jakub Adam <jakub.adam at ktknet.cz>  Sun, 16 Oct 2011 22:58:29 +0200
+
 commons-io (1.4-3) unstable; urgency=low
 
   * Team upload
diff --git a/debian/patches/add-osgi-metadata.patch b/debian/patches/add-osgi-metadata.patch
new file mode 100644
index 0000000..b7b5ad8
--- /dev/null
+++ b/debian/patches/add-osgi-metadata.patch
@@ -0,0 +1,26 @@
+From: Jakub Adam <jakub.adam at ktknet.cz>
+Date: Sun, 16 Oct 2011 22:55:56 +0200
+Subject: add-osgi-metadata
+
+---
+ build.xml |    6 ++++++
+ 1 files changed, 6 insertions(+), 0 deletions(-)
+
+diff --git a/build.xml b/build.xml
+index 6be7244..0f2ebeb 100644
+--- a/build.xml
++++ b/build.xml
+@@ -340,6 +340,12 @@
+         <attribute name="Implementation-Vendor-Id" value="org.apache"/>
+         <attribute name="X-Compile-Source-JDK"     value="${maven.compile.source}"/>
+         <attribute name="X-Compile-Target-JDK"     value="${maven.compile.target}"/>
++        <attribute name="Bundle-ManifestVersion"   value="2"/>
++        <attribute name="Bundle-Name"              value="Apache Commons-IO"/>
++        <attribute name="Bundle-Vendor"            value="Apache Software Foundation"/>
++        <attribute name="Bundle-SymbolicName"      value="org.apache.commons.io"/>
++        <attribute name="Bundle-Version"           value="${component.version}"/>
++        <attribute name="Export-Package"           value="org.apache.commons.io,org.apache.commons.io.comparator,org.apache.commons.io.filefilter,org.apache.commons.io.input,org.apache.commons.io.output"/>
+     </manifest>
+ 
+     <jar jarfile="${build.home}/${final.name}.jar"
+-- 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..aa38e5d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+add-osgi-metadata.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/commons-io.git



More information about the pkg-java-commits mailing list