Archetype for generating a minimal Java 9 Maven project
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/resources
.gitignore
README.md
pom.xml

README.md

Java 9 Minimal Quickstart

This is a Maven Archetype for starting a minimal Java 9 project. It includes the following:

  • Configured to compile against Java 1.9
  • Fixes warnings that Maven generates by default

Usage

To create a new project using this archetype:

$ mvn archetype:generate -B -DarchetypeGroupId=org.spilth -DarchetypeArtifactId=java9-minimal-quickstart -DgroupId=com.example -DartifactId=helloworld -Dversion=1.0.0
$ cd helloworld
$ mvn package

For a less verbose way to use this archetype please check out savant.