Java9-module-system-with-maven
Java9-module-system-with-maven copied to clipboard
Example of Java 9 module system with maven
= Example of Java 9 Module System with Maven
image:https://travis-ci.org/hakdogan/Java9-module-system-with-maven.svg?branch=master["Build Status", link="https://travis-ci.org/hakdogan/Java9-module-system-with-maven"]
This application simply exemplifies how to use Module System on Java 9 with maven. In adition, it uses some libraries such as h2 database and log4j as an example of adding the external library.
== How do I compile?
You should use the following command under the Java9ModuleSystem directory of the project to compile the classes.
[source,]
mvn clean install
== How do I run?
After compile, you should use the following command under the Java9ModuleSystem directory of the project.
[source,]
sh run.sh
Or do this under the info directory.
[source,]
mvn exec:exec
== Requirements
- JDK 9 Early Access 152 or later
- Maven 3.0.0 or later
- maven-compiler-plugin version 3.6.1 or later
image::images/readme.gif[]