Skip to content

Commit

Permalink
DPE-675: add fragment bundle for JSON-P Javax (Glassfish) (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
stataru8 authored Jan 29, 2025
1 parent dc3155b commit 97b8b22
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
59 changes: 59 additions & 0 deletions pax-web-fragments/pax-web-fragment-jsonp-javax-glassfish/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2021 OPS4J.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-fragments</artifactId>
<version>9.99.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-fragment-jsonp-javax-glassfish</artifactId>
<packaging>bundle</packaging>

<name>OPS4J Pax Web - JSON-P Javax (GlassFish) providing JavaJSONP capability</name>

<description>
This fragment adds SPI-FLY requirements for org.apache.johnzon/johnzon-core
</description>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Fragment-Host>org.glassfish.javax.json</Fragment-Host>
<Provide-Capability><![CDATA[
osgi.contract;osgi.contract=JavaJSONP;uses:="javax.json,javax.json.spi,javax.json.stream";
version:List<Version>="1.1,1.0"
]]></Provide-Capability>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

</project>
1 change: 1 addition & 0 deletions pax-web-fragments/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<module>pax-web-compatibility-jaxrs2</module>
<module>pax-web-compatibility-jaxb3</module>
<!-- These are other support fragments -->
<module>pax-web-fragment-jsonp-javax-glassfish</module>
<module>pax-web-fragment-myfaces-inject</module>
<module>pax-web-fragment-myfaces-spifly</module>
</modules>
Expand Down

0 comments on commit 97b8b22

Please sign in to comment.