Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

(Java) Make the jar a bundle to support execution in OSGi containers. #221

Merged
merged 1 commit into from
Sep 16, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>io.cucumber</groupId>
<artifactId>gherkin</artifactId>
<version>4.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<packaging>bundle</packaging>
<name>Gherkin</name>
<description>Gherkin parser</description>
<url>https://github.com/cucumber/gherkin-java</url>
Expand Down Expand Up @@ -88,6 +88,17 @@
<tagNameFormat>v@{project.version}</tagNameFormat>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.6</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>gherkin.*</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

Expand Down