Skip to content

Commit

Permalink
Patch Tyrus manifest to export org.glassfish.tyrus.client.exception
Browse files Browse the repository at this point in the history
See eclipse-ee4j/tyrus#888

Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
  • Loading branch information
arjantijms committed Jan 26, 2024
1 parent c5e7f5c commit 94ac44a
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 2 deletions.
6 changes: 5 additions & 1 deletion appserver/distributions/glassfish/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2021, 2023 Contributors to Eclipse Foundation.
Copyright (c) 2021, 2024 Contributors to Eclipse Foundation.
Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -110,6 +110,10 @@
basedir="${patches}/microprofile-rest-client-api" includes="META-INF/MANIFEST.MF"
destfile="${glassfish.modules}/microprofile-rest-client-api.jar"
/>
<jarupdate
basedir="${patches}/tyrus-client" includes="META-INF/MANIFEST.MF"
destfile="${glassfish.modules}/tyrus-client.jar"
/>
</target>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Manifest-Version: 1.0
Build-Jdk-Spec: 11
Bundle-Description: Tyrus is the reference implementation of Java API
for WebSocket (JSR-356)
Bundle-DocURL: http://www.oracle.com/
Bundle-License: https://projects.eclipse.org/license/epl-2.0, https://
projects.eclipse.org/license/secondary-gpl-2.0-cp
Bundle-ManifestVersion: 2
Bundle-Name: Tyrus Client
Bundle-SymbolicName: org.glassfish.tyrus.client
Bundle-Vendor: Oracle Corporation
Bundle-Version: 2.1.5
Created-By: Apache Maven Bundle Plugin 5.1.4
Export-Package: org.glassfish.tyrus.client;version="2.1.5";uses:="jaka
rta.websocket,javax.net.ssl,org.glassfish.tyrus.core,org.glassfish.ty
rus.spi",org.glassfish.tyrus.client.exception;version="2.1.5"
Import-Package: jakarta.websocket;version="[2.1,3)",jakarta.websocket.
server;version="[2.1,3)",javax.net.ssl,org.glassfish.tyrus.core;versi
on="[2.1,3)",org.glassfish.tyrus.core.cluster;version="[2.1,3)",org.g
lassfish.tyrus.core.collection;version="[2.1,3)",org.glassfish.tyrus.
core.extension;version="[2.1,3)",org.glassfish.tyrus.core.frame;versi
on="[2.1,3)",org.glassfish.tyrus.core.l10n;version="[2.1,3)",org.glas
sfish.tyrus.core.monitoring;version="[2.1,3)",org.glassfish.tyrus.spi
;version="[2.1,3)"
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=11))"
Tool: Bnd-5.1.1.202006162103

6 changes: 5 additions & 1 deletion appserver/distributions/web/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2022 Contributors to the Eclipse Foundation. All rights reserved.
Copyright (c) 2022, 2024 Contributors to the Eclipse Foundation.
Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -113,6 +113,10 @@
basedir="${patches}/jersey-hk2" includes="META-INF/MANIFEST.MF"
destfile="${glassfish.modules}/jersey-hk2.jar"
/>
<jarupdate
basedir="${patches}/tyrus-client" includes="META-INF/MANIFEST.MF"
destfile="${glassfish.modules}/tyrus-client.jar"
/>
</target>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Manifest-Version: 1.0
Build-Jdk-Spec: 11
Bundle-Description: Tyrus is the reference implementation of Java API
for WebSocket (JSR-356)
Bundle-DocURL: http://www.oracle.com/
Bundle-License: https://projects.eclipse.org/license/epl-2.0, https://
projects.eclipse.org/license/secondary-gpl-2.0-cp
Bundle-ManifestVersion: 2
Bundle-Name: Tyrus Client
Bundle-SymbolicName: org.glassfish.tyrus.client
Bundle-Vendor: Oracle Corporation
Bundle-Version: 2.1.5
Created-By: Apache Maven Bundle Plugin 5.1.4
Export-Package: org.glassfish.tyrus.client;version="2.1.5";uses:="jaka
rta.websocket,javax.net.ssl,org.glassfish.tyrus.core,org.glassfish.ty
rus.spi",org.glassfish.tyrus.client.exception;version="2.1.5"
Import-Package: jakarta.websocket;version="[2.1,3)",jakarta.websocket.
server;version="[2.1,3)",javax.net.ssl,org.glassfish.tyrus.core;versi
on="[2.1,3)",org.glassfish.tyrus.core.cluster;version="[2.1,3)",org.g
lassfish.tyrus.core.collection;version="[2.1,3)",org.glassfish.tyrus.
core.extension;version="[2.1,3)",org.glassfish.tyrus.core.frame;versi
on="[2.1,3)",org.glassfish.tyrus.core.l10n;version="[2.1,3)",org.glas
sfish.tyrus.core.monitoring;version="[2.1,3)",org.glassfish.tyrus.spi
;version="[2.1,3)"
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=11))"
Tool: Bnd-5.1.1.202006162103

0 comments on commit 94ac44a

Please sign in to comment.