Skip to content

Commit

Permalink
generate osgi bundle manifest data for jar #248 (#249)
Browse files Browse the repository at this point in the history
* generate osgi bundle manifest data for jar #248
  • Loading branch information
mwiede authored Dec 6, 2022
1 parent 20763f9 commit 19bb849
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,25 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.8</version>
<configuration>
<instructions>
<Export-Package>com.jcraft.jsch</Export-Package>
</instructions>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
Expand Down Expand Up @@ -456,6 +475,7 @@
<manifestEntries>
<Multi-Release>true</Multi-Release>
</manifestEntries>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
Expand Down Expand Up @@ -619,4 +639,4 @@
</build>
</profile>
</profiles>
</project>
</project>

0 comments on commit 19bb849

Please sign in to comment.