https://github.com/phax/ph-jaxb-pom
A simple POM wrapper to consistently include JAXB 2.2 and 2.3
https://github.com/phax/ph-jaxb-pom
Last synced: 7 months ago
JSON representation
A simple POM wrapper to consistently include JAXB 2.2 and 2.3
- Host: GitHub
- URL: https://github.com/phax/ph-jaxb-pom
- Owner: phax
- License: apache-2.0
- Created: 2018-11-20T09:17:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-21T10:11:31.000Z (over 1 year ago)
- Last Synced: 2025-01-31T23:05:48.172Z (over 1 year ago)
- Language: CSS
- Size: 77.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Archived
Since the take over through Jakarta, the Maven artifacts are clean and easy to us. No need for this project anymore.
# ph-jaxb-pom
A POM only project that contains all dependencies for easily using JAXB from Maven.
Currently it is very tedious to include all artefacts relevant for JAXB into each and every POM manually.
Therefore I created this project to provide an easy to use POM for using JAXB from within Maven.
This project can be used for JAXB 4.x and requires at least Java 11.
# News and noteworthy
* v2.0.4 - 2024-03-22
* Updated to JAXB API 4.0.2
* Updated to JAXB 4.0.5
* v2.0.3 - 2023-11-06
* Updated to JAXB API 4.0.1
* Updated to JAXB 4.0.4
* v2.0.2 - 2023-07-01
* Updated to JAXB 4.0.3
* v2.0.1 - 2023-02-20
* Updated to JAXB 4.0.2
* v2.0.0 - 2022-09-05
* Updated to JAXB 4.0.0
* Requires Java 11 as the baseline
* v1.2.2 - 2021-10-31
* Updated to JAXB 2.3.5
* v1.2.0 - 2021-05-02
* Removed `` to enforce using it as a BOM
* v1.1.0 - 2020-09-17
* Switching to Jakarta version 2.3.3 - no more differentiation
* v1.0.3 - 2019-05-07
* Using unbounded version instead of limiting to Java 12.x
* v1.0.2 - 2019-05-02
* Added support for JDK 12
* v1.0.1 - 2019-01-15
* Updated to JAXB 2.3.2 for JDK 9+
* v1.0.0 - 2018-11-21
* Initial release for JAXB 2.2.11 and 2.3.1
# Maven usage
Include it in your regular Maven dependencies but explicitly state the type **pom**:
```xml
com.helger
ph-jaxb-pom
2.0.4
pom
import
```
# Gradle usage (for issues up to v1.0.3)
As Gradle does not support Maven profile activation by JDK version, this section outlines the includes per JDK version (as of ph-jaxb-pom 1.0.1).
With JDK 8, include the following dependencies:
* org.glassfish.jaxb:jaxb-core:2.2.11
* org.glassfish.jaxb:jaxb-runtime:2.2.11
* com.sun.istack:istack-commons-runtime:2.21
With JDK 9 or later, include the following dependencies:
* org.glassfish.jaxb:jaxb-runtime:2.3.2
The exclusion of this POM might be necessary via `exclude group: 'com.helger', module: 'ph-jaxb-pom'`
---
My personal [Coding Styleguide](https://github.com/phax/meta/blob/master/CodingStyleguide.md) |
It is appreciated if you star the GitHub project if you like it.