Skip to content

Conversation

@ppkarwasz
Copy link
Contributor

We add maven-args option to the:

  • build-reusable.yaml workflow.
  • merge-dependabot-reusable.yaml workflow.

This parameter sets the
MAVEN_ARGS environment variable that can be used to pass additional options (e.g. -Prelease, -Dslf4j.version=...) to the Maven runs.

Note that we don't add an equivalent option for
MAVEN_OPTS, since the JVM parameters for Maven can be stored in a .mvn/jvm.config file.

We add `maven-args` option to the:

* `build-reusable.yaml` workflow.
* `merge-dependabot-reusable.yaml` workflow.

This parameter sets the
[`MAVEN_ARGS`](https://maven.apache.org/configure.html#maven_args-environment-variable)
environment variable that can be used to pass additional options (e.g. `-Prelease`, `-Dslf4j.version=...`) to the Maven runs.

Note that we don't add an equivalent option for
[`MAVEN_OPTS`](https://maven.apache.org/configure.html#maven_opts-environment-variable),
since the JVM parameters for Maven can be stored in a `.mvn/jvm.config` file.
@ppkarwasz
Copy link
Contributor Author

These changes were successfully used in CI run 11281357268 to run the integration tests against 2.24.0 (JLink and other failures expected).

@vy vy added the enhancement label Oct 15, 2024
@vy vy added this to the 11.4.0 milestone Oct 15, 2024
@ppkarwasz ppkarwasz merged commit 0ae04ef into main Oct 15, 2024
@ppkarwasz ppkarwasz deleted the feature/maven-args branch October 15, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants