Skip to content

The most advanced JAXB Maven Plugin for XJC (XML Schema compilation).

License

Notifications You must be signed in to change notification settings

patrodyne/hisrc-higherjaxb

 
 

Repository files navigation

HiSrc HigherJAXB

Maven plugin to generated Java source from XML Schema.

Description

This repository is a fork of maven-jaxb2-plugin. The original project was developed by the admirable Alexey Valikov (a.k.a. Highsource). This repository contains Java projects to build Maven artifact(s) related to the Java Architecture for XML Binding (JAXB) framework. It is one of a family of repositories forked from Highsource that provide tools for JAXB and JPA processing. Repo and artifact names have been changed to reflect the familial connection between the repositories and to fix a conformance issue with the original maven-jaxb2-plugin name.

Hint: You can manage the number of spaces a tab is equal to for your GitHub personal account (i.e. 1 tab = 4 spaces) when viewing files in this repository. Here's how.

List of repositories in this family

Patrodyne Highsource Purpose
hisrc-basicjaxb-annox annox Parse XML Schema to find Java annotation declarations.
hisrc-basicjaxb jaxb2-basics A library of XJC plugins and tools to extend JAXB.
hisrc-higherjaxb maven-jaxb2-plugin Maven plugin to generated Java source from XML Schema.
hisrc-hyperjaxb-annox jaxb2-annotate-plugin XJC plugin to add arbitrary Java annotations to JAXB.
hisrc-hyperjaxb hyperjaxb3 Maven and XJC plugins to add JPA annotations to JAXB.

Graph of repository relationships

Patrodyne-Highsource Graph

Releases

GitHub Releases, Demonstrations

Maven Repositories

JavaDoc

Goals

New goals for the next release are:

  • Review in progress.

Status

  • Review in progress.

Completed

  • Review in progress.

Fork History

Version 2.2.1

  • Added W3C schema artifact projects: hisrc-higherjaxb/w3c.
  • Added sample project: any-attribute.
  • Update Maven plugin and dependency versions.
  • Build with JDK 21 and Java 11 compatibility.

Version 2.2.0

  • Replaced old 'maven-compat' layer with Maven Resolver/Aether.
  • Update Maven plugin and dependency versions.
  • Build with JDK 21 and Java 11 compatibility.

Version 2.1.1

  • Added sample project: any-content.
  • Added sample project: animal.
  • Added sample project: element.
  • Added sample project: publisher.
  • Added sample project: invoices.
  • Added sample project: base-extend.
  • Added sample project: no-type.
  • Update plugin and dependency versions.
  • Resolved deprecated method(s).

Version 2.1.0

  • Clean up Java compiler lint warnings.
  • Replace deprecated XJC plugin strategies v1 with v2.
  • Recheck Dependency Management for newer versions.
  • Configure menu, log and Maven options from build-CFG.sh.
  • Include JVM system arguments from 'src/test/resources/jvmsystem.arguments'.
  • Moved 'explore' and 'samples' folder to new 'assembly' folder and restored int. testing.
  • Set log levels for basic strategies in simplelogger.properties.
  • Compile sources and generate classes for Java release v11 using JDK 17.
  • Add Maven plugin for JAXB 4.x, default.
  • Replaced maven.compiler.source/target="11" with maven.compiler.release="11".

Version 2.0.0

  • Update dependencies with newer versions including the Jakarta namespace.
  • Replace 'eclipse-only' lifecycle profile with 'm2e' XML directive.
  • Convert DOS line endings to Unix newlines.
  • Update JUnit v4 to JUnit v5.
  • Rename packages:
    • BasicJAXB Annotations
      • OLD: org.jvnet.annox
      • NEW: org.jvnet.basicjaxb_annox
    • BasicJAXB XJC Plugin
      • OLD: org.jvnet.jaxb2_commons
      • NEW: org.jvnet.basicjaxb
    • HigherJAXB Maven Plugin
      • OLD: org.jvnet.mjiip
      • NEW: org.jvnet.higherjaxb
    • HigherJAXB Maven Mojo
      • OLD: org.jvnet.jaxb2.maven2
      • NEW: org.jvnet.higherjaxb.mojo
    • HyperJAXB Persistence
      • OLD: org.jvnet.hyperjaxb[23]
      • NEW: org.jvnet.hyperjaxb
  • Rename namespaces:
    • BasicJAXB XJC Annotations
      • OLD: http://annox.dev.java.net
      • NEW: http://jvnet.org/basicjaxb/xjc/annox
    • BasicJAXB XJC Plugin
      • OLD: http://jaxb2-commons.dev.java.net/basic
      • NEW: http://jvnet.org/basicjaxb/xjc
    • HyperJAXB Persistence
      • OLD: http://hyperjaxb3.jvnet.org/ejb/schemas/customizations
      • NEW: http://jvnet.org/hyperjaxb/jpa
  • Rename parameter property prefix:
    • OLD: maven.xjc2
    • NEW: org.jvnet.higherjaxb.mojo.xjc
  • Update version to 2.0.0 due to jakarta and other name changes.

Version 0.14.2

  • Added sample projects to GitHub releases.
  • Updated dependencies with newer versions excluding the Jakarta namespace.

Version 0.14.1

  • Obsolete build scripts have been removed.
  • New build scripts have been added.
  • POMs have been refactored with renamed artifacts.
  • POMs have been updated to reduce warnings and errors.
  • Configured SLF4J with SimpleLogger as the log framework.
  • Updated Java sources to resolve warnings/errors.
  • Verification of unit and integration tests.

About

The most advanced JAXB Maven Plugin for XJC (XML Schema compilation).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 94.7%
  • Shell 4.4%
  • Other 0.9%