Skip to content

Conversation

@olibye
Copy link
Member

@olibye olibye commented Aug 31, 2025

No description provided.

oliverbye and others added 8 commits March 16, 2024 11:43
…ven.plugins-maven-gpg-plugin-3.2.0' into gpg-check
This change adds a new build trigger to the `.github/workflows/build.yml` file.

The build will now be triggered for any push to a branch that matches the `wip/**` pattern. This allows for continuous integration on work-in-progress branches.

Additionally, a check has been added to the build process to prevent pull requests from `wip/**` branches from being merged into `master`. This is a safeguard to prevent accidental merges of unfinished work.
This change introduces two main improvements:

1. A new build trigger for `wip/**` branches in the `.github/workflows/build.yml` file. This allows for continuous integration on work-in-progress branches. A merge guard has also been added to prevent these branches from being accidentally merged into `master`.

2. A fix for the build failure on Java 17. The `pom.xml` has been modified to include a Maven profile that is activated on Java 9 and newer. This profile adds the `--add-opens=java.base/java.lang=ALL-UNNAMED` flag to the test execution, which is required for the tests to run successfully on modern Java versions. This change is backward-compatible and does not affect the builds on Java 8 and 11.
This change introduces two main improvements:

1. A new build trigger for `wip/**` branches in the `.github/workflows/build.yml` file. This allows for continuous integration on work-in-progress branches. A merge guard has also been added to prevent these branches from being accidentally merged into `master`.

2. A fix for the build failure on Java 17. The `pom.xml` has been modified to include a Maven profile that is activated on Java 9 and newer. This profile adds the `--add-opens=java.base/java.lang=ALL-UNNAMED` and `--add-opens=java.base/java.io=ALL-UNNAMED` flags to the test execution, which are required for the tests to run successfully on modern Java versions. This change is backward-compatible and does not affect the builds on Java 8 and 11.

The `argLine` in the `pom.xml` has been split over multiple lines for better readability as requested.
This change introduces two main improvements:

1. A new build trigger for `wip/**` branches in the `.github/workflows/build.yml` file. This allows for continuous integration on work-in-progress branches. A merge guard has also been added to prevent these branches from being accidentally merged into `master`.

2. A fix for the build failures on Java 17. The `pom.xml` has been modified to:
    - Upgrade the `asm.version` to `9.6` to support Java 17 class files.
    - Include a Maven profile that is activated on Java 9 and newer. This profile adds the `--add-opens=java.base/java.lang=ALL-UNNAMED` and `--add-opens=java.base/java.io=ALL-UNNAMED` flags to the test execution, which are required for the tests to run successfully on modern Java versions. This change is backward-compatible and does not affect the builds on Java 8 and 11.

The `argLine` in the `pom.xml` has been split over multiple lines for better readability as requested.
@olibye olibye added this pull request to the merge queue Aug 31, 2025
Merged via the queue into jmock-developers:master with commit 5885afa Aug 31, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant