This SBuild plugin provides typical targets for Java projects.
Table of Contents
SBuild Java Project Plugin can be downloaded from Maven Central.
You need a recent version of SBuild.
git clone https://github.com/SBuild-org/sbuild-javaproject-plugin.git cd sbuild-sbuild-plugin/org.sbuild.plugins.javaproject sbuild jar
You will find the built jar in the directory org.sbuild.plugins.javaproject/target
.
All configurable properties are documented via ScalaDoc. See file JavaProject.scala.
In it’s default configuration, this plugin will provide the following targets:
-
clean
-
clean-compile
-
compile
-
jar
-
${jarFile}