diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..2afd283 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,27 @@ +# 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 + +name: Java CI with Maven + +on: + push: + branches: [ dev ] + pull_request: + branches: [ dev ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 8 + uses: actions/setup-java@v2 + with: + java-version: '8' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn clean install -DskipTests + #mvn -B package --file pom.xml diff --git a/pom.xml b/pom.xml index ce7ef88..032342d 100644 --- a/pom.xml +++ b/pom.xml @@ -223,7 +223,7 @@ openmrs-repo OpenMRS Nexus Repository - http://mavenrepo.openmrs.org/nexus/content/repositories/public + https://mavenrepo.openmrs.org/nexus/content/repositories/public @@ -231,7 +231,7 @@ openmrs-repo OpenMRS Nexus Repository - http://mavenrepo.openmrs.org/nexus/content/repositories/public + https://mavenrepo.openmrs.org/nexus/content/repositories/public false @@ -242,13 +242,13 @@ openmrs-repo-modules Modules - http://mavenrepo.openmrs.org/nexus/content/repositories/modules/ + https://mavenrepo.openmrs.org/nexus/content/repositories/modules/ openmrs-repo-snapshots OpenMRS Snapshots - http://mavenrepo.openmrs.org/nexus/content/repositories/snapshots + https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots - \ No newline at end of file +