Skip to content

Commit

Permalink
Merge pull request #116 from GedMarc/2.10
Browse files Browse the repository at this point in the history
Fix #114: change JAX-RS module dep to static
  • Loading branch information
cowtowncoder committed Oct 6, 2019
2 parents e204d37 + f3cd3b6 commit 00a2819
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -77,6 +77,16 @@ In addition there are format-specific annotations that may be used:
* JSON has:
* `com.fasterxml.jackson.jaxrs.json.annotation.JSONP` to define `JSONP` wrapping for serialized result


## Module Considerations
* The JSON/JAX-RS module has multiple names depending on the version in use. To enable modular usage, add the requires statement that pertains directly to the implementation you are using.
```
requires javax.ws.rs.api; //Older libraries
requires java.ws.rs; //Newer libraries
requires jakarta.ws.rs.api; //Reserved name for Jakarta Impl
```


## Other

For documentation, downloads links, check out [Wiki](../../wiki)
5 changes: 4 additions & 1 deletion json/src/moditect/module-info.java
Expand Up @@ -6,7 +6,10 @@
requires com.fasterxml.jackson.module.jaxb;

requires com.fasterxml.jackson.jaxrs.base;
requires javax.ws.rs.api;

requires static javax.ws.rs.api;
requires static java.ws.rs;
requires static jakarta.ws.rs.api;

exports com.fasterxml.jackson.jaxrs.json;
exports com.fasterxml.jackson.jaxrs.json.annotation;
Expand Down

0 comments on commit 00a2819

Please sign in to comment.