fix: exclude standalone examples from mise run format by zeitlinger · Pull Request #1931 · prometheus/client_java (original) (raw)

@zeitlinger

Standalone example POMs don't inherit the spotless plugin from the project parent, so spotless:apply fails when they're in the reactor (JDK 25+ activates the examples-and-integration-tests profile).

Use the fully-qualified plugin goal with profile deactivation to skip these modules. Add a lint:example-poms check to catch this class of issue in the future.

Fixes #1927 Signed-off-by: Gregor Zeitlinger gregor.zeitlinger@grafana.com

@zeitlinger mentioned this pull request

Mar 3, 2026

@zeitlinger

@zeitlinger

Signed-off-by: Gregor Zeitlinger gregor.zeitlinger@grafana.com

jaydeluca

This was referenced

Mar 19, 2026

zeitlinger added a commit that referenced this pull request

Mar 19, 2026

@github-actions @zeitlinger

🤖 I have created a release beep boop

1.5.1

1.5.1 (2026-03-19)

Bug Fixes

Documentation


[!IMPORTANT] Close and reopen this PR to trigger CI checks.


Signed-off-by: Gregor Zeitlinger gregor.zeitlinger@grafana.com Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Gregor Zeitlinger gregor.zeitlinger@grafana.com

This was referenced

Mar 19, 2026

zeitlinger pushed a commit that referenced this pull request

Mar 20, 2026

@github-actions

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})