Skip to content

Commit

Permalink
DPE-674 Fragment bundle which adds JWS 3.0.x compatibility to jakarta…
Browse files Browse the repository at this point in the history
….xml.ws 4.0.2.
  • Loading branch information
andreasmattes committed Jan 23, 2025
1 parent dc3155b commit 58fdcc4
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
71 changes: 71 additions & 0 deletions pax-web-fragments/pax-web-compatibility-jws30/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?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-compatibility-jws30</artifactId>
<packaging>bundle</packaging>

<name>OPS4J Pax Web - JWS API 3.0 compatibility</name>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Fragment-Host>jakarta.xml.ws-api</Fragment-Host>
<Export-Package>
jakarta.jws;version="3.0.9",
jakarta.jws.soap;version="3.0.9"
</Export-Package>
<Provide-Capability><![CDATA[
osgi.contract;osgi.contract=JavaJWS;uses:="jakarta.jws,jakarta.jws.soap";
version:List<Version>="3.0"
]]></Provide-Capability>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>

<!-- JakartaEE -->

<dependency>
<groupId>jakarta.xml.ws</groupId>
<artifactId>jakarta.xml.ws-api</artifactId>
<version>4.0.2</version>
</dependency>

</dependencies>

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

0 comments on commit 58fdcc4

Please sign in to comment.