diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
new file mode 100644
index 00000000..c60194b3
--- /dev/null
+++ b/.github/workflows/maven.yml
@@ -0,0 +1,22 @@
+# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
+# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
+# For setup-java see: https://github.com/actions/setup-java#Usage
+
+name: Java CI with Maven
+
+on: [push, pull_request]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-java@v3 # the log states the default ~/.m2/toolchains.xml is being created pointing to the JDK
+ with:
+ distribution: 'adopt' # for latest JDKs use temurin https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/
+ java-version: '8'
+ cache: 'maven'
+ - name: Build with Maven
+ run: mvn -B package --file pom.xml
\ No newline at end of file
diff --git a/Mustang-CLI/pom.xml b/Mustang-CLI/pom.xml
index 9bfa64f0..f40d7838 100644
--- a/Mustang-CLI/pom.xml
+++ b/Mustang-CLI/pom.xml
@@ -13,9 +13,9 @@
2.5.8-SNAPSHOT
UTF-8
- 1.8
- 1.8
- 1.8
+ 8
+ 8
+ 8
@@ -101,8 +101,8 @@
- 1.8
- openjdk
+ 8
+ adopt
diff --git a/library/pom.xml b/library/pom.xml
index 8565a8e4..db8d8ed4 100644
--- a/library/pom.xml
+++ b/library/pom.xml
@@ -45,9 +45,9 @@
github
-Xdoclint:none
- 1.8
- 1.8
- 1.8
+ 8
+ 8
+ 8
true
@@ -138,8 +138,8 @@
- 1.8
- 1.8
+ 8
+ 8
@@ -156,8 +156,8 @@
- 1.8
- openjdk
+ 8
+ adopt
diff --git a/pom.xml b/pom.xml
index 7c64e368..1dbe2423 100644
--- a/pom.xml
+++ b/pom.xml
@@ -192,8 +192,8 @@
- 1.8
- openjdk
+ 8
+ adopt
diff --git a/validator/pom.xml b/validator/pom.xml
index 62770c6e..ca728123 100644
--- a/validator/pom.xml
+++ b/validator/pom.xml
@@ -29,9 +29,9 @@
UTF-8
false
- 1.8
- 1.8
- 1.8
+ 8
+ 8
+ 8
@@ -156,8 +156,8 @@
- 1.8
- openjdk
+ 8
+ adopt
@@ -173,8 +173,8 @@
- 1.8
- 1.8
+ 8
+ 8