Файли
openidea/crates
Jason HanтаJackzigen cd0fe6c8f5 fix(maven): <os>-activated profiles show as active and can be disabled (#8180)
A profile Maven activates by `<activation><os>` showed unchecked in the Maven tool window and no deactivation was ever passed, so unticking it could not keep it out of a build (per-platform native classifiers ended up in the jar). The POM reader ignored `<os>`. It now parses `<name>`, `<family>` and `<arch>`, requires every named field to match this machine (families as Maven's OsUtils: mac/darwin, unix covering Linux and macOS, windows; amd64/x86_64 and aarch64/arm64 spellings; a leading `!` negates). A matching profile counts as active by default, so the tool window shows it implicitly enabled and unticking it sends `-P !id`; it also suppresses activeByDefault siblings as Maven does.

Closes #8171

Co-authored-by: Jackzigen <[email protected]>
2026-12-05 16:01:42 +08:00
..