Skip to content

fix: report active settings profiles - #442

Merged
slachiewicz merged 1 commit into
apache:masterfrom
efegokdemir:fix/395-active-settings-profiles
Oct 27, 2026
Merged

slachiewicz merged 1 commit into
apache:masterfrom
efegokdemir:fix/395-active-settings-profiles

Conversation

@efegokdemir

Copy link
Copy Markdown
Contributor

Fixes #395

Summary

all-profiles now uses the active profile IDs from Maven settings when classifying settings-defined profiles. This keeps settings profiles from being incorrectly reported as inactive when Maven does not expose them through the project active-profile list.

Changes

  • Track ${settings.activeProfiles} in AllProfilesMojo.
  • Add regression coverage for active and inactive settings profiles.

Testing

  • mvn -Dspotless.check.skip=true -Dspotless.apply.skip=true verify -DskipITs
  • git diff --check

Spotless formatting could not run locally because the bundled palantir-java-format fails with the installed JDK; the affected files were reviewed and Checkstyle passed.

@slachiewicz slachiewicz added the bug Something isn't working label Oct 27, 2026
@slachiewicz
slachiewicz force-pushed the fix/395-active-settings-profiles branch from 933b1a5 to fbe126e Compare October 27, 2026 20:56
@slachiewicz
slachiewicz merged commit 27d2f92 into apache:master Oct 27, 2026
@github-actions github-actions Bot added this to the 3.5.3 milestone Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AllProfilesMojo settings profiles never tracked for active status

2 participants