From 8821d032283018ad14966185c453d234f8d1ad6b Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Mon, 25 May 2020 15:31:02 +0200 Subject: [PATCH 1/3] Add Github workflow --- .github/workflows/maven.yml | 36 ++++++++++++++++++++++++++++++++++++ pom.xml | 1 + 2 files changed, 37 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 00000000..f4b91728 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,36 @@ +name: Java CI with Maven + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + java: [ 8, 11, 12, 13 ] + name: Java ${{ matrix.java }} compile + steps: + - uses: actions/checkout@master + + - name: Cache maven dependencies + uses: actions/cache@v1 + env: + cache-name: cache-maven-dependencies + with: + path: ~/.m2 + key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-build-${{ env.cache-name }}- + + - name: Setup java + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + + - run: mvn test diff --git a/pom.xml b/pom.xml index e6d040d6..d90d9ba6 100644 --- a/pom.xml +++ b/pom.xml @@ -120,6 +120,7 @@ junit junit + 4.13 test From cfd1862c1144458a0164e0da577df20a0bbe7b71 Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Mon, 25 May 2020 16:09:28 +0200 Subject: [PATCH 2/3] t From b5c9f163d5a0406e00665c11b5f97b60a22a41b0 Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Mon, 25 May 2020 16:28:55 +0200 Subject: [PATCH 3/3] delete javadoc stuff --- pom.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pom.xml b/pom.xml index d90d9ba6..fc0d2712 100644 --- a/pom.xml +++ b/pom.xml @@ -306,11 +306,6 @@ In the reporting section javadoc plugin is mentioned as well to enable javadoc as part of the 'mvn site' lifecycle --> - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 -