Skip to content

Commit

Permalink
Package jansi / jna extensions as OSGi fragments to cross the Service…
Browse files Browse the repository at this point in the history
…Loader classloader boundary
  • Loading branch information
gnodet committed Dec 21, 2016
1 parent aecbf19 commit e5dbf83
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions terminal-jansi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,19 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>*;-noimport:=true</Export-Package>
<Fragment-Host>org.jline.terminal</Fragment-Host>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

</project>
15 changes: 15 additions & 0 deletions terminal-jna/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,19 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>*;-noimport:=true</Export-Package>
<Fragment-Host>org.jline.terminal</Fragment-Host>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

</project>

0 comments on commit e5dbf83

Please sign in to comment.