Skip to content

Commit 545e56a

Browse files
committed
Merge pull request #15 from jawi/make-osgi-bundle
Create proper OSGi bundle as artifact.
2 parents cfb216a + 7dccf2e commit 545e56a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<artifactId>eddsa</artifactId>
66
<version>0.0.1-SNAPSHOT</version>
77
<name>ed25519-java</name>
8+
<packaging>bundle</packaging>
89
<description>Implementation of EdDSA in Java</description>
910
<url>https://github.com/str4d/ed25519-java</url>
1011
<licenses>
@@ -56,6 +57,27 @@
5657
<skipTests>true</skipTests>
5758
</configuration>
5859
</plugin>
60+
<plugin>
61+
<groupId>org.apache.felix</groupId>
62+
<artifactId>maven-bundle-plugin</artifactId>
63+
<version>3.0.1</version>
64+
<extensions>true</extensions>
65+
<configuration>
66+
<instructions>
67+
<Bundle-Name>ed25519-java</Bundle-Name>
68+
<Bundle-Description>
69+
${project.description}
70+
</Bundle-Description>
71+
<Export-Package>
72+
net.i2p.crypto.eddsa,
73+
net.i2p.crypto.eddsa.spec
74+
</Export-Package>
75+
<Private-Package>
76+
net.i2p.crypto.eddsa.math.*
77+
</Private-Package>
78+
</instructions>
79+
</configuration>
80+
</plugin>
5981
</plugins>
6082
</build>
6183
<dependencies>

0 commit comments

Comments
 (0)