From 1b1933e234e92646a5fbe44121276c1cbeb5b051 Mon Sep 17 00:00:00 2001 From: Anton Pinsky Date: Tue, 14 Nov 2023 22:04:10 +0100 Subject: [PATCH] [#112]build.sh to make a local build of GitHub actions Signed-off-by: Anton Pinsky --- etc/build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 etc/build.sh diff --git a/etc/build.sh b/etc/build.sh new file mode 100755 index 00000000..9a82c118 --- /dev/null +++ b/etc/build.sh @@ -0,0 +1,10 @@ +#!/bin/bash -x + +#setup compile Java +bash -ic "sdk use java 11.0.21-tem" + +#install +mvn -B -V -U -C -Poss-release,staging clean verify org.glassfish.copyright:glassfish-copyright-maven-plugin:check -Dgpg.skip=true -Dcopyright.ignoreyear=true + +#restore java +bash -ic "sdk use java 17.0.9-tem"