-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert XML and YAML modules; almost working
- Loading branch information
1 parent
d89ceb7
commit 89e71e4
Showing
9 changed files
with
98 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// JAX-RS XML module-info for Main artifact | ||
module tools.jackson.jaxrs.xml | ||
{ | ||
requires tools.jackson.core; | ||
requires transitive tools.jackson.databind; | ||
requires tools.jackson.dataformat.xml; | ||
requires tools.jackson.module.jaxb; | ||
|
||
requires tools.jackson.jaxrs.base; | ||
|
||
requires java.ws.rs; | ||
|
||
exports tools.jackson.jaxrs.xml; | ||
// [jaxrs-providers#119]: CXF, RESTEasy, OpenAPI require reflective access | ||
opens tools.jackson.jaxrs.xml; | ||
|
||
provides javax.ws.rs.ext.MessageBodyReader with | ||
tools.jackson.jaxrs.xml.JacksonXMLProvider; | ||
provides javax.ws.rs.ext.MessageBodyWriter with | ||
tools.jackson.jaxrs.xml.JacksonXMLProvider; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// JAX-RS XML module-info for (unit) Tests | ||
module tools.jackson.jaxrs.xml | ||
{ | ||
// Since we are not split from Main artifact, will not | ||
// need to depend on Main artifact -- but need its dependencies | ||
|
||
requires tools.jackson.core; | ||
requires tools.jackson.databind; | ||
requires tools.jackson.dataformat.xml; | ||
requires tools.jackson.module.jaxb; | ||
|
||
requires tools.jackson.jaxrs.base; | ||
|
||
requires java.ws.rs; | ||
|
||
// Additional test lib/framework dependencies | ||
requires junit; // JUnit 4 | ||
|
||
// Further, need to open up test packages for JUnit et al | ||
|
||
opens tools.jackson.jaxrs.xml; | ||
opens tools.jackson.jaxrs.xml.dw; | ||
opens tools.jackson.jaxrs.xml.jersey; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// JAX-RS YAML module-info for Main artifact | ||
module tools.jackson.jaxrs.yaml | ||
{ | ||
requires tools.jackson.core; | ||
requires transitive tools.jackson.databind; | ||
requires tools.jackson.dataformat.yaml; | ||
requires tools.jackson.module.jaxb; | ||
|
||
requires tools.jackson.jaxrs.base; | ||
|
||
requires java.ws.rs; | ||
|
||
exports tools.jackson.jaxrs.yaml; | ||
// [jaxrs-providers#119]: CXF, RESTEasy, OpenAPI require reflective access | ||
opens tools.jackson.jaxrs.yaml; | ||
|
||
provides javax.ws.rs.ext.MessageBodyReader with | ||
tools.jackson.jaxrs.yaml.JacksonYAMLProvider; | ||
provides javax.ws.rs.ext.MessageBodyWriter with | ||
tools.jackson.jaxrs.yaml.JacksonYAMLProvider; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// JAX-RS YAML module-info for (unit) Tests | ||
module tools.jackson.jaxrs.yaml | ||
{ | ||
// Since we are not split from Main artifact, will not | ||
// need to depend on Main artifact -- but need its dependencies | ||
|
||
requires tools.jackson.core; | ||
requires tools.jackson.databind; | ||
requires tools.jackson.dataformat.yaml; | ||
requires tools.jackson.module.jaxb; | ||
|
||
requires tools.jackson.jaxrs.base; | ||
|
||
requires java.ws.rs; | ||
|
||
// Additional test lib/framework dependencies | ||
requires junit; // JUnit 4 | ||
|
||
// Other test deps: we test format-negotiation | ||
|
||
requires tools.jackson.jaxrs.json; | ||
requires tools.jackson.jaxrs.smile; | ||
|
||
// Further, need to open up test packages for JUnit et al | ||
|
||
opens tools.jackson.jaxrs.yaml; | ||
opens tools.jackson.jaxrs.yaml.dw; | ||
opens tools.jackson.jaxrs.yaml.jersey; | ||
} |