You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slachiewicz (via GitHub)" <gi...@apache.org> on 2026/10/14 11:46:45 UTC
[PR] [4.0.x] Read the + prefix of -P and -pl tokens after trimming [maven]
slachiewicz opened a new pull request, #13503:
URL: https://github.com/apache/maven/pull/13503
Port of the master fix; the test was run on master only, CI covers this line.
The `-` and `!` checks in `performProfileActivation` and `performProjectActivation` read the trimmed token, but the `+` check read the raw one, so `-P "a, +b"` asked for a profile named `+b` and `" +?e"` lost its optional marker. Follow-up to the discussion in #13480.
Verified: the new `MavenInvokerActivationTest` fails before the change (`+b` and `+?e` taken as ids) and passes after; all 843 `maven-cli` tests pass.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [4.0.x] Read the + prefix of -P and -pl tokens after trimming [maven]
Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz merged PR #13503:
URL: https://github.com/apache/maven/pull/13503
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org