Skip to content

Commit

Permalink
Complete #128 by adding CBOR, Smile, XML and YAML backend module-info…
Browse files Browse the repository at this point in the history
… changes too
  • Loading branch information
cowtowncoder committed Nov 10, 2020
1 parent d4f31e4 commit 18511b0
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 0 deletions.
7 changes: 7 additions & 0 deletions base/src/moditect/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@
requires com.fasterxml.jackson.databind;

//Allow multiple implementations of ws.rs
//oracle location
requires static javax.ws.rs.api;
//oracle location
requires static java.ws.rs;
//jakarta initial location - 2.x
requires static javax.ws.rs;
//jakarta 3.x final location - https://github.com/jboss/jboss-jakarta-jaxrs-api_spec
requires static jakarta.ws.rs;
//jakarta 3.x final location - https://github.com/eclipse-ee4j/jaxrs-api
requires static jakarta.ws.rs.api;
}
8 changes: 8 additions & 0 deletions cbor/src/moditect/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@

requires com.fasterxml.jackson.jaxrs.base;

//Allow multiple implementations of ws.rs
//oracle location
requires static javax.ws.rs.api;
//oracle location
requires static java.ws.rs;
//jakarta initial location - 2.x
requires static javax.ws.rs;
//jakarta 3.x final location - https://github.com/jboss/jboss-jakarta-jaxrs-api_spec
requires static jakarta.ws.rs;
//jakarta 3.x final location - https://github.com/eclipse-ee4j/jaxrs-api
requires static jakarta.ws.rs.api;

provides javax.ws.rs.ext.MessageBodyReader with
Expand Down
8 changes: 8 additions & 0 deletions datatypes/src/moditect/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@
requires com.fasterxml.jackson.core;
requires com.fasterxml.jackson.databind;

//Allow multiple implementations of ws.rs
//oracle location
requires static javax.ws.rs.api;
//oracle location
requires static java.ws.rs;
//jakarta initial location - 2.x
requires static javax.ws.rs;
//jakarta 3.x final location - https://github.com/jboss/jboss-jakarta-jaxrs-api_spec
requires static jakarta.ws.rs;
//jakarta 3.x final location - https://github.com/eclipse-ee4j/jaxrs-api
requires static jakarta.ws.rs.api;

provides com.fasterxml.jackson.databind.Module with
Expand Down
2 changes: 2 additions & 0 deletions release-notes/CREDITS-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Marc Magon (GedMarc@github)

* Contributed #119: CXF, RESTEasy, and OpenAPI require reflective access to the package
(2.10.2)
* Contributed #128: Module-Info Enhancements - JAX-RS updates for Jakarta Release version
(2.12.0)

James R. Perkins (jamezp@github)

Expand Down
2 changes: 2 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Sub-modules:

#127: Allow multiple implementations of JAX-RS for all providers
(requested by fenixcitizen@github)
#128: Module-Info Enhancements - JAX-RS updates for Jakarta Release version
(contributed by Marc M)
- Add Gradle Module Metadata (https://blog.gradle.org/alignment-with-gradle-module-metadata)
- Upgrade Woodstox dependency to 6.2.3

Expand Down
8 changes: 8 additions & 0 deletions smile/src/moditect/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@

requires com.fasterxml.jackson.jaxrs.base;

//Allow multiple implementations of ws.rs
//oracle location
requires static javax.ws.rs.api;
//oracle location
requires static java.ws.rs;
//jakarta initial location - 2.x
requires static javax.ws.rs;
//jakarta 3.x final location - https://github.com/jboss/jboss-jakarta-jaxrs-api_spec
requires static jakarta.ws.rs;
//jakarta 3.x final location - https://github.com/eclipse-ee4j/jaxrs-api
requires static jakarta.ws.rs.api;

provides javax.ws.rs.ext.MessageBodyReader with
Expand Down
8 changes: 8 additions & 0 deletions xml/src/moditect/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@

requires com.fasterxml.jackson.jaxrs.base;

//Allow multiple implementations of ws.rs
//oracle location
requires static javax.ws.rs.api;
//oracle location
requires static java.ws.rs;
//jakarta initial location - 2.x
requires static javax.ws.rs;
//jakarta 3.x final location - https://github.com/jboss/jboss-jakarta-jaxrs-api_spec
requires static jakarta.ws.rs;
//jakarta 3.x final location - https://github.com/eclipse-ee4j/jaxrs-api
requires static jakarta.ws.rs.api;

provides javax.ws.rs.ext.MessageBodyReader with
Expand Down
8 changes: 8 additions & 0 deletions yaml/src/moditect/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@

requires com.fasterxml.jackson.jaxrs.base;

//Allow multiple implementations of ws.rs
//oracle location
requires static javax.ws.rs.api;
//oracle location
requires static java.ws.rs;
//jakarta initial location - 2.x
requires static javax.ws.rs;
//jakarta 3.x final location - https://github.com/jboss/jboss-jakarta-jaxrs-api_spec
requires static jakarta.ws.rs;
//jakarta 3.x final location - https://github.com/eclipse-ee4j/jaxrs-api
requires static jakarta.ws.rs.api;

provides javax.ws.rs.ext.MessageBodyReader with
Expand Down

0 comments on commit 18511b0

Please sign in to comment.