From e4c26061a9e4dcdcd2f2fda4884cdf68fc305248 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Tue, 6 Feb 2018 19:49:45 +0100 Subject: [PATCH] Add a Maven Build Add a Maven build so the project can be build from the command line without having to use an IDE. In addition this commit contains the following changes: - follow Maven source layout conventions - add a module-info - add a .gitignore file that contains the Maven output folder --- .gitignore | 2 + pom.xml | 156 ++++++++++++++++++ .../java}/io/simonis/cl4cds.java | 0 src/main/java/module-info.java | 3 + 4 files changed, 161 insertions(+) create mode 100644 .gitignore create mode 100644 pom.xml rename src/{classes => main/java}/io/simonis/cl4cds.java (100%) create mode 100644 src/main/java/module-info.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc0d833 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +target/ + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..8c26405 --- /dev/null +++ b/pom.xml @@ -0,0 +1,156 @@ + + + 4.0.0 + + io.github.simonis + cl4cds + 1.0.0-SNAPSHOT + 2017 + https://github.com/simonis/cl4cds + cl4cds + Documentation and Tools for the OpenJDK Class Data and Application Class Data Sharing (CDS/AppCDS) features + + + + simonis + Volker Simonis + volker.simonis@gmail.com + Europe/Berlin + https://github.com/simonis + + developer + + + + + + + BSD-2-Clause + https://opensource.org/licenses/BSD-2-Clause + repo + + + + + https://github.com/simonis/cl4cds/issues + GitHub Issues + + + + scm:git:git@github.com:simonis/cl4cds.git + scm:git:git@github.com:simonis/cl4cds.git + ${project.url} + HEAD + + + + + + maven-compiler-plugin + + 9 + + + + maven-jar-plugin + + + + io.simonis.cl4cds + + + + + + maven-javadoc-plugin + + + https://docs.oracle.com/javase/9/docs/api/ + + + + + attach-javadocs + package + + jar + + + + + + maven-source-plugin + + + attach-sources + + jar-no-fork + + + + + + + + + maven-clean-plugin + 3.0.0 + + + maven-deploy-plugin + 2.8.2 + + + maven-install-plugin + 2.5.2 + + + maven-site-plugin + 3.6 + + + maven-surefire-plugin + 2.20 + + + maven-compiler-plugin + 3.7.0 + + + maven-jar-plugin + 3.0.2 + + + maven-source-plugin + 3.0.1 + + + maven-javadoc-plugin + 3.0.0 + + + maven-resources-plugin + 3.0.2 + + + maven-gpg-plugin + 1.6 + + + maven-release-plugin + 2.5.3 + + + maven-scm-plugin + 1.9.5 + + + + + + + utf-8 + utf-8 + + + diff --git a/src/classes/io/simonis/cl4cds.java b/src/main/java/io/simonis/cl4cds.java similarity index 100% rename from src/classes/io/simonis/cl4cds.java rename to src/main/java/io/simonis/cl4cds.java diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java new file mode 100644 index 0000000..1dea28f --- /dev/null +++ b/src/main/java/module-info.java @@ -0,0 +1,3 @@ +module io.simonis.cl4cds { + +} \ No newline at end of file