diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 70c45bd..f7c12dc 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -16,15 +16,16 @@ jobs: java: [ 8.0.x, 9.0.x, 10.0.x, 11.0.x, 12.0.x, 13.0.x, 14.0.x, 15.0.x, 16.0.x, 17.0.x ] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: 'zulu' java-version: ${{ matrix.java }} - name: Cache .m2 - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/jacoco.yml b/.github/workflows/jacoco.yml index a37ef8f..efaf985 100644 --- a/.github/workflows/jacoco.yml +++ b/.github/workflows/jacoco.yml @@ -13,15 +13,16 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Set up JDK 9 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: 'zulu' java-version: 9 - name: Cache .m2 - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -35,7 +36,7 @@ jobs: run: ./mvnw verify jacoco:report-aggregate -B -q - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1.0.2 + uses: codecov/codecov-action@v3.1.5 with: token: ${{secrets.CODECOV_TOKEN}} file: target/site/jacoco-aggregate/jacoco.xml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b847dc5..5b712cd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,10 +11,10 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Cache .m2 - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -29,8 +29,9 @@ jobs: # Setup JDK and Maven - name: Set up JDK 9 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: 'zulu' java-version: 9 server-id: sonatype-nexus-staging server-username: OSS_CENTRAL_USERNAME # env variable for Maven Central @@ -43,7 +44,7 @@ jobs: run: ./mvnw clean package - name: Deploy a new version to central - run: ./mvnw clean javadoc:jar source:jar deploy -B -DskipTests -Prelease -Dgpg.keyname=${{secrets.GPG_KEYNAME}} -Dgpg.passphrase="${{secrets.GPG_PASSPHRASE}}" + run: ./mvnw javadoc:jar source:jar deploy -B -DskipTests -Prelease -Dgpg.keyname=${{secrets.GPG_KEYNAME}} -Dgpg.passphrase="${{secrets.GPG_PASSPHRASE}}" env: OSS_CENTRAL_USERNAME: ${{ secrets.SONATYPE_USERNAME }} OSS_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} diff --git a/README.md b/README.md index 7e6b229..57a39d2 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.toolisticon.cute/cute/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.toolisticon.cute/cute) ![Build Status](https://github.com/toolisticon/cute/workflows/default/badge.svg) [![codecov](https://codecov.io/gh/toolisticon/cute/branch/master/graph/badge.svg)](https://codecov.io/gh/toolisticon/cute) - +[![javadoc](https://javadoc.io/badge2/io.toolisticon.cute/cute/javadoc.svg)](https://javadoc.io/doc/io.toolisticon.cute/cute) # Why you should use this project? Testing of annotation processors can be a very difficult task. Usually annotation procecssors are tighly bound to the compile time model of Java and are relying on tools provided by the java compiler during the compilation process. @@ -17,7 +17,7 @@ This compile testing framework allows you to to do this and additionally support - allows compile time tests supporting the most relevant test frameworks (junit4, junit5, testng, ...) - simple, but powerful fluent api (immutable) -- supports all Java versions >=7 (including support for java 9 modules) +- supports all Java versions >=8 (including support for java 9 modules) - Enables you to debug annotation processors during compilation tests - provides useful information for analysis of failing tests: - error and warning messages diff --git a/coverage/pom.xml b/coverage/pom.xml index 6c0a15f..88801ca 100644 --- a/coverage/pom.xml +++ b/coverage/pom.xml @@ -8,7 +8,7 @@ io.toolisticon.cute cute-parent - 1.0.0 + 1.0.1 coverage diff --git a/cute/pom.xml b/cute/pom.xml index 48e64c8..70a0d71 100644 --- a/cute/pom.xml +++ b/cute/pom.xml @@ -7,7 +7,7 @@ io.toolisticon.cute cute-parent - 1.0.0 + 1.0.1 cute diff --git a/extension/api/pom.xml b/extension/api/pom.xml index d176721..b93de35 100644 --- a/extension/api/pom.xml +++ b/extension/api/pom.xml @@ -7,7 +7,7 @@ io.toolisticon.cute extension-parent - 1.0.0 + 1.0.1 extension-api diff --git a/extension/junit4/pom.xml b/extension/junit4/pom.xml index 65ded98..ff9e629 100644 --- a/extension/junit4/pom.xml +++ b/extension/junit4/pom.xml @@ -8,7 +8,7 @@ io.toolisticon.cute extension-parent - 1.0.0 + 1.0.1 extension-junit4 diff --git a/extension/junit5/pom.xml b/extension/junit5/pom.xml index b46c71d..88978fa 100644 --- a/extension/junit5/pom.xml +++ b/extension/junit5/pom.xml @@ -8,7 +8,7 @@ io.toolisticon.cute extension-parent - 1.0.0 + 1.0.1 extension-junit5 diff --git a/extension/modulesupport/pom.xml b/extension/modulesupport/pom.xml index 784e21c..3e734a3 100644 --- a/extension/modulesupport/pom.xml +++ b/extension/modulesupport/pom.xml @@ -7,7 +7,7 @@ io.toolisticon.cute extension-parent - 1.0.0 + 1.0.1 extension-modulesupport diff --git a/extension/plainjava/pom.xml b/extension/plainjava/pom.xml index e59ff2c..7b57cc3 100644 --- a/extension/plainjava/pom.xml +++ b/extension/plainjava/pom.xml @@ -8,7 +8,7 @@ io.toolisticon.cute extension-parent - 1.0.0 + 1.0.1 extension-plainjava diff --git a/extension/pom.xml b/extension/pom.xml index 6d8e778..bea82a6 100644 --- a/extension/pom.xml +++ b/extension/pom.xml @@ -7,7 +7,7 @@ io.toolisticon.cute cute-parent - 1.0.0 + 1.0.1 extension-parent diff --git a/extension/testng/pom.xml b/extension/testng/pom.xml index a36e542..bf6823f 100644 --- a/extension/testng/pom.xml +++ b/extension/testng/pom.xml @@ -7,7 +7,7 @@ io.toolisticon.cute extension-parent - 1.0.0 + 1.0.1 extension-testng diff --git a/integration-test/java9/namedAutomaticModule/pom.xml b/integration-test/java9/namedAutomaticModule/pom.xml index 45fe5d6..8296254 100644 --- a/integration-test/java9/namedAutomaticModule/pom.xml +++ b/integration-test/java9/namedAutomaticModule/pom.xml @@ -8,7 +8,7 @@ io.toolisticon.cute integration-test-java9-parent - 1.0.0 + 1.0.1 integration-test-java9-namedAutomaticModule diff --git a/integration-test/java9/pom.xml b/integration-test/java9/pom.xml index 0467c68..c2cb2a8 100644 --- a/integration-test/java9/pom.xml +++ b/integration-test/java9/pom.xml @@ -8,7 +8,7 @@ io.toolisticon.cute integration-test-parent - 1.0.0 + 1.0.1 integration-test-java9-parent diff --git a/integration-test/java9/regularTestModule/pom.xml b/integration-test/java9/regularTestModule/pom.xml index c629533..4850be9 100644 --- a/integration-test/java9/regularTestModule/pom.xml +++ b/integration-test/java9/regularTestModule/pom.xml @@ -8,7 +8,7 @@ io.toolisticon.cute integration-test-java9-parent - 1.0.0 + 1.0.1 integration-test-java9-regularModule diff --git a/integration-test/java9/test/pom.xml b/integration-test/java9/test/pom.xml index 6a49492..0da96a2 100644 --- a/integration-test/java9/test/pom.xml +++ b/integration-test/java9/test/pom.xml @@ -8,7 +8,7 @@ io.toolisticon.cute integration-test-java9-parent - 1.0.0 + 1.0.1 integration-test-java9-test diff --git a/integration-test/java9/unnamedAutomaticModule/pom.xml b/integration-test/java9/unnamedAutomaticModule/pom.xml index d0c517c..f37ddfa 100644 --- a/integration-test/java9/unnamedAutomaticModule/pom.xml +++ b/integration-test/java9/unnamedAutomaticModule/pom.xml @@ -8,7 +8,7 @@ io.toolisticon.cute integration-test-java9-parent - 1.0.0 + 1.0.1 integration-test-java9-unnamedAutomaticModule diff --git a/integration-test/junit4/pom.xml b/integration-test/junit4/pom.xml index 1c7ea0a..58f503e 100644 --- a/integration-test/junit4/pom.xml +++ b/integration-test/junit4/pom.xml @@ -8,7 +8,7 @@ io.toolisticon.cute integration-test-parent - 1.0.0 + 1.0.1 integration-test-junit4 diff --git a/integration-test/junit5/pom.xml b/integration-test/junit5/pom.xml index 701df42..c112ed8 100644 --- a/integration-test/junit5/pom.xml +++ b/integration-test/junit5/pom.xml @@ -8,7 +8,7 @@ io.toolisticon.cute integration-test-parent - 1.0.0 + 1.0.1 integration-test-junit5 diff --git a/integration-test/pom.xml b/integration-test/pom.xml index b7547c7..53993f0 100644 --- a/integration-test/pom.xml +++ b/integration-test/pom.xml @@ -7,7 +7,7 @@ io.toolisticon.cute cute-parent - 1.0.0 + 1.0.1 integration-test-parent diff --git a/integration-test/testng/pom.xml b/integration-test/testng/pom.xml index 069347c..1988fd4 100644 --- a/integration-test/testng/pom.xml +++ b/integration-test/testng/pom.xml @@ -7,7 +7,7 @@ io.toolisticon.cute integration-test-parent - 1.0.0 + 1.0.1 integration-test-testng diff --git a/legacy/pom.xml b/legacy/pom.xml index f9fab3b..7b1737b 100644 --- a/legacy/pom.xml +++ b/legacy/pom.xml @@ -8,7 +8,7 @@ io.toolisticon.cute cute-parent - 1.0.0 + 1.0.1 cute-legacy diff --git a/pom.xml b/pom.xml index b39d0f0..f54e293 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ io.toolisticon.cute cute-parent - 1.0.0 + 1.0.1 pom cute-parent