Skip to content

Commit

Permalink
Additional OSGi headers
Browse files Browse the repository at this point in the history
Signed-off-by: jansupol <jan.supol@oracle.com>
  • Loading branch information
jansupol committed Sep 2, 2022
1 parent f0754eb commit 16eaaff
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 22 deletions.
22 changes: 13 additions & 9 deletions connectors/jetty-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,19 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<instructions>
<Import-Package>
${jetty.osgi.version},
*
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

Expand All @@ -101,15 +114,6 @@
</dependency>
</dependencies>
</profile>
<profile>
<id>testsSkipJdk6</id>
<activation>
<jdk>1.6</jdk>
</activation>
<properties>
<skip.tests>true</skip.tests>
</properties>
</profile>
</profiles>

</project>
5 changes: 5 additions & 0 deletions connectors/netty-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<inherited>true</inherited>
</plugin>
</plugins>
</build>

Expand Down
2 changes: 1 addition & 1 deletion connectors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<profile>
<id>HelidonConnector</id>
<activation>
<jdk>11</jdk>
<jdk>[11,)</jdk>
</activation>
<modules>
<module>helidon-connector</module>
Expand Down
8 changes: 8 additions & 0 deletions containers/jetty-http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<instructions>
<Import-Package>
${jetty.osgi.version},
*
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>

Expand Down
1 change: 1 addition & 0 deletions containers/jetty-servlet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
<instructions>
<Import-Package>
javax.servlet.*;version="[2.4,5.0)",
${jetty.osgi.version},
*
</Import-Package>
</instructions>
Expand Down
5 changes: 5 additions & 0 deletions incubator/declarative-linking/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<inherited>true</inherited>
</plugin>
</plugins>
</build>
</project>
16 changes: 16 additions & 0 deletions incubator/kryo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,21 @@
<directory>${project.build.directory}/legal</directory>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<instructions>
<Import-Package>
com.esotericsoftware.kryo.*;version="!",
*
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2230,6 +2230,7 @@
<jaxrs.api.spec.version>2.1</jaxrs.api.spec.version>
<jaxrs.api.impl.version>2.1.6</jaxrs.api.impl.version>
<jetty.plugin.version>6.1.26</jetty.plugin.version>
<jetty.osgi.version>org.eclipse.jetty.*;version="[9.4,11)"</jetty.osgi.version>
<jetty.version>9.4.46.v20220331</jetty.version>
<jetty.servlet.api.25.version>6.1.14</jetty.servlet.api.25.version>
<jsonb.api.version>1.0.2</jsonb.api.version>
Expand Down
12 changes: 0 additions & 12 deletions test-framework/providers/jetty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,4 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>testsSkipJdk6</id>
<activation>
<jdk>1.6</jdk>
</activation>
<properties>
<skip.tests>true</skip.tests>
</properties>
</profile>
</profiles>

</project>

0 comments on commit 16eaaff

Please sign in to comment.