From 6c1857cb76f258a5aaa12d22627372c33007321e Mon Sep 17 00:00:00 2001 From: Jan Henrik Wiesner Date: Sun, 31 Dec 2023 19:31:35 +0100 Subject: [PATCH] added OSGi support --- pom.xml | 20 +++++++++++++++++++- sshsig-bcprov/pom.xml | 1 + sshsig-core/bnd.bnd | 1 + sshsig-i2pcrypto/pom.xml | 1 + sshsig-mina/bnd.bnd | 1 + sshsig-mina/pom.xml | 2 +- 6 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 sshsig-core/bnd.bnd create mode 100644 sshsig-mina/bnd.bnd diff --git a/pom.xml b/pom.xml index fc87eac..3c49c90 100755 --- a/pom.xml +++ b/pom.xml @@ -108,7 +108,7 @@ org.apache.sshd - sshd-core + sshd-osgi ${version.sshd} @@ -197,6 +197,11 @@ true + + biz.aQute.bnd + bnd-maven-plugin + 6.4.0 + org.apache.maven.plugins maven-source-plugin @@ -255,6 +260,19 @@ + + biz.aQute.bnd + bnd-maven-plugin + true + + + jar + + jar + + + + org.codehaus.mojo flatten-maven-plugin diff --git a/sshsig-bcprov/pom.xml b/sshsig-bcprov/pom.xml index edb4b96..12f3049 100644 --- a/sshsig-bcprov/pom.xml +++ b/sshsig-bcprov/pom.xml @@ -11,6 +11,7 @@ SSHSIG :: Tests for org.bouncycastle:bcprov + true true true true diff --git a/sshsig-core/bnd.bnd b/sshsig-core/bnd.bnd new file mode 100644 index 0000000..75c5d83 --- /dev/null +++ b/sshsig-core/bnd.bnd @@ -0,0 +1 @@ +Export-Package: de.profhenry.sshsig.core.* \ No newline at end of file diff --git a/sshsig-i2pcrypto/pom.xml b/sshsig-i2pcrypto/pom.xml index 7a72406..2bd0a82 100644 --- a/sshsig-i2pcrypto/pom.xml +++ b/sshsig-i2pcrypto/pom.xml @@ -11,6 +11,7 @@ SSHSIG :: Tests for net.i2p.crypto:eddsa + true true true true diff --git a/sshsig-mina/bnd.bnd b/sshsig-mina/bnd.bnd new file mode 100644 index 0000000..55077e6 --- /dev/null +++ b/sshsig-mina/bnd.bnd @@ -0,0 +1 @@ +Export-Package: de.profhenry.sshsig.mina.* \ No newline at end of file diff --git a/sshsig-mina/pom.xml b/sshsig-mina/pom.xml index d8b660a..769e4ab 100644 --- a/sshsig-mina/pom.xml +++ b/sshsig-mina/pom.xml @@ -17,7 +17,7 @@ org.apache.sshd - sshd-core + sshd-osgi