Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Stamann committed Feb 2, 2024
2 parents 990985c + bb5f8ad commit 2577261
Show file tree
Hide file tree
Showing 24 changed files with 36 additions and 33 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/jacoco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand All @@ -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
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand All @@ -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
Expand All @@ -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 }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>cute-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>coverage</name>
Expand Down
2 changes: 1 addition & 1 deletion cute/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>cute-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>cute</name>
Expand Down
2 changes: 1 addition & 1 deletion extension/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>extension-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>extension-api</name>
Expand Down
2 changes: 1 addition & 1 deletion extension/junit4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>extension-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>extension-junit4</name>
Expand Down
2 changes: 1 addition & 1 deletion extension/junit5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>extension-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>extension-junit5</name>
Expand Down
2 changes: 1 addition & 1 deletion extension/modulesupport/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>extension-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>extension-modulesupport</name>
Expand Down
2 changes: 1 addition & 1 deletion extension/plainjava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>extension-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>extension-plainjava</name>
Expand Down
2 changes: 1 addition & 1 deletion extension/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>cute-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>extension-parent</name>
Expand Down
2 changes: 1 addition & 1 deletion extension/testng/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>extension-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>extension-testng</name>
Expand Down
2 changes: 1 addition & 1 deletion integration-test/java9/namedAutomaticModule/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>integration-test-java9-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>integration-test-java9-namedAutomaticModule</name>
Expand Down
2 changes: 1 addition & 1 deletion integration-test/java9/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>integration-test-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>integration-test-java9-parent</name>
Expand Down
2 changes: 1 addition & 1 deletion integration-test/java9/regularTestModule/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>integration-test-java9-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>integration-test-java9-regularModule</name>
Expand Down
2 changes: 1 addition & 1 deletion integration-test/java9/test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>integration-test-java9-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>integration-test-java9-test</name>
Expand Down
2 changes: 1 addition & 1 deletion integration-test/java9/unnamedAutomaticModule/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>integration-test-java9-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>integration-test-java9-unnamedAutomaticModule</name>
Expand Down
2 changes: 1 addition & 1 deletion integration-test/junit4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>integration-test-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>integration-test-junit4</name>
Expand Down
2 changes: 1 addition & 1 deletion integration-test/junit5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>integration-test-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>integration-test-junit5</name>
Expand Down
2 changes: 1 addition & 1 deletion integration-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>cute-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>integration-test-parent</name>
Expand Down
2 changes: 1 addition & 1 deletion integration-test/testng/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>integration-test-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>integration-test-testng</name>
Expand Down
2 changes: 1 addition & 1 deletion legacy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.toolisticon.cute</groupId>
<artifactId>cute-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>cute-legacy</name>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>io.toolisticon.cute</groupId>
<artifactId>cute-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<packaging>pom</packaging>

<name>cute-parent</name>
Expand Down

0 comments on commit 2577261

Please sign in to comment.