Skip to content

Commit

Permalink
added OSGi support
Browse files Browse the repository at this point in the history
  • Loading branch information
profhenry committed Dec 31, 2023
1 parent 4058724 commit 6c1857c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 2 deletions.
20 changes: 19 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
</dependency>
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-core</artifactId>
<artifactId>sshd-osgi</artifactId>
<version>${version.sshd}</version>
</dependency>
<dependency>
Expand Down Expand Up @@ -197,6 +197,11 @@
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>6.4.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down Expand Up @@ -255,6 +260,19 @@
</toolchains>
</configuration>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<id>jar</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
Expand Down
1 change: 1 addition & 0 deletions sshsig-bcprov/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<name>SSHSIG :: Tests for org.bouncycastle:bcprov</name>

<properties>
<bnd.skip>true</bnd.skip>
<maven.source.skip>true</maven.source.skip>
<maven.javadoc.skip>true</maven.javadoc.skip>
<maven.install.skip>true</maven.install.skip>
Expand Down
1 change: 1 addition & 0 deletions sshsig-core/bnd.bnd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Export-Package: de.profhenry.sshsig.core.*
1 change: 1 addition & 0 deletions sshsig-i2pcrypto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<name>SSHSIG :: Tests for net.i2p.crypto:eddsa</name>

<properties>
<bnd.skip>true</bnd.skip>
<maven.source.skip>true</maven.source.skip>
<maven.javadoc.skip>true</maven.javadoc.skip>
<maven.install.skip>true</maven.install.skip>
Expand Down
1 change: 1 addition & 0 deletions sshsig-mina/bnd.bnd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Export-Package: de.profhenry.sshsig.mina.*
2 changes: 1 addition & 1 deletion sshsig-mina/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</dependency>
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-core</artifactId>
<artifactId>sshd-osgi</artifactId>
</dependency>
<!-- TESTING =============================================================================================== -->
<dependency>
Expand Down

0 comments on commit 6c1857c

Please sign in to comment.