- DDEX MWN Messages
- Java 21
- xjc
- Maven
- JAXB2 Maven Plugin 2.3
Generate JAVA Classes that directly masp to composites in the MWN xsds as well as the Allowed Value Sets. Current supported versions include
- MWN 1.1
- MWN 1.3 Draft version
This project uses JAVA with Java 11 being the minimum version required.
If you don't have Java installed, we recommend installing the latest version of Java using your favourite package manager.
On Mac OS with Homebrew
brew install java
Once Java is installed, Maven is also required.
On Mac OS with Homebrew
brew install maven
Use the Makefile provided to run the generation of Java files
For MWN 1.1
make generate-mwn-11
This will generate java files in ddex-mwn-11/target/generated-sources/xjc
directory
For MWN 1.3 Draft
make generate-mwn-13-draft
This will generate java files in ddex-mwn-13Draft/target/generated-sources/xjc
directory
Maven will generate an artifact (JAR file) for you. It can be installed in your local repository to be used in other projects.
Use the Makefile provided to run the generation of Java files
For MWN 1.1
make install-mwn-11
This will install a new artifact net.ddex.messages:mwn-notification:1.1
<dependency>
<groupId>net.ddex.messages</groupId>
<artifactId>mwn-notification</artifactId>
<version>1.1</version>
</dependency>
For MWN 1.3 Draft
make install-mwn-13-draft
This will install a new artifact net.ddex.messages:mwn-notification:1.3Draft
<dependency>
<groupId>net.ddex.messages</groupId>
<artifactId>mwn-notification</artifactId>
<version>1.3Draft</version>
</dependency>
Project Link: https://github.com/TheMLC/ddex-messages-mwn-notification
For Providing this Awesome Template