/ph-sbdh

Java library for reading and writing UN CEFACT Standard Bussiness Document Header documents

Primary LanguageJavaApache License 2.0Apache-2.0

ph-sbdh

Maven Central javadoc CodeCov

CEFACT Standard Business Document (SBD) and Standard Business Document Header (SBDH) wrapper library. It supports easily reading and writing of SBD and SBDH between Java domain objects and XML representations.

Official GS1 page on SBDH is https://www.gs1.org/standards/edi/standard-business-document-header-sbdh

It is licensed under Apache 2.0 license.

Maven usage

Add the following to your pom.xml to use this artifact, replacing x.y.z with the effective version:

<dependency>
  <groupId>com.helger</groupId>
  <artifactId>ph-sbdh</artifactId>
  <version>x.y.z</version>
</dependency>

News and noteworthy

  • v5.0.2 - work in progress
    • Switched JAXB Maven plugin to org.jvnet.jaxb:jaxb-maven-plugin
  • v5.0.1 - 2023-04-15
    • Deprecated classes ESBDHDocumentType, SBDHDocumentType, SBDHReader, SBDHValidator and SBDHWriter
  • v5.0.0 - 2023-01-08
    • Using Java 11 as the baseline
    • Updated to ph-commons 11
    • Using JAXB 4.0 as the baseline
  • v4.3.0 - 2021-05-02
    • Updated to ph-commons 10.1
  • v4.2.0 - 2021-03-21
    • Updated to ph-commons 10
  • v4.1.1 - 2020-09-17
    • Updated to Jakarta JAXB 2.3.3
    • Added possibility to disable XSD validation in SBD(H)Marshaller
    • Using Java 8 date and time classes for JAXB created classes
  • v4.1.0 - 2018-11-22
    • Updated to ph-commons 9.2.0
  • v4.0.0 - 2017-11-08
    • Updated to ph-commons 9.0.0
    • Added default namespace prefix "sh" also when using the Writer API
  • v3.0.2 - 2017-01-09
    • Binds to ph-commons 8.6.0
  • v3.0.1 - 2016-12-31
    • Added default namespace prefix "sh" when writing (see #2)
  • v3.0.0 - 2016-06-11
    • Requires Java 8
  • v2.0.1 - 2015-07-21
    • Last Java 1.6 version

My personal Coding Styleguide | It is appreciated if you star the GitHub project if you like it.