Java env builder with Maven (#783)

Java environment builder with support for Maven builds. Default build comman runs `mvn clean package` and picks up target/*with-dependencies.jar for function.
This commit is contained in:
Vishal
2018-07-24 15:16:21 +05:30
committed by GitHub
parent ec495fbd1d
commit 27c3a50d23
7 changed files with 152 additions and 11 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/sh
# This script allows you to build the jar without needing Maven & JDK installed locally.
# You need docker, as it uses a Docker image to build source code
set -eou pipefail
docker run -it --rm -v "$(pwd)":/usr/src/mymaven -w /usr/src/mymaven maven:3.5-jdk-8 mvn clean package