fix: exclude standalone examples from mise run format by zeitlinger · Pull Request #1931 · prometheus/client_java (original) (raw)
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
- chmod +x example-poms.py so mise discovers it as a task
- Remove stale
./mvnw spotless:applycomment from AGENTS.md - Add "run lint before pushing" rule to AGENTS.md Signed-off-by: Gregor Zeitlinger gregor.zeitlinger@grafana.com
Signed-off-by: Gregor Zeitlinger gregor.zeitlinger@grafana.com
This was referenced
Mar 19, 2026
zeitlinger added a commit that referenced this pull request
🤖 I have created a release beep boop
1.5.1
1.5.1 (2026-03-19)
Bug Fixes
- deps: update dependency io.prometheus:prometheus-metrics-bom to v1.5.0 (#1877) (043fc57)
- deps: update dependency org.springframework.boot:spring-boot-starter-parent to v4.0.3 (#1900) (0d800d0)
- deps: update jetty monorepo to v12.1.7 (#1932) (5bd3b79)
- deps: update junit-framework monorepo to v6.0.3 (#1880) (05ad751)
- exclude standalone examples from
mise run format(#1931) (537fb88) - Handle empty datapoints in otel exporter (#1898) (59c8552)
- inline set-version logic in build-release.sh (#1884) (c050435)
- reduce lychee retries to avoid compounding GitHub 429s (#1940) (cc17d6e)
- remove version manipulation from build-release.sh (#1886) (93e2b6d)
- trigger Maven deploy on release-please published events (#1966) (643d0e7)
- use /tree/ instead of /blob/ for directory URL (#1944) (b81332e)
- use maven release type for release-please (#1967) (ff3bd2d)
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
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 }})