pan3793 commented on issue #11098: URL: https://github.com/apache/maven/issues/11098#issuecomment-4188456281
@gnodet I hit a similar issue when trying to upgrade Maven 3.9.14 to 4.0.0 RC5. TL;DR: I wonder if Maven 4 can provide a config to restore the behavior to Maven 3 - skip validation. When working with multi-module projects, it's likely that some profiles only exist in some modules, so in a CI workflow matrix, it's a common case that profiles do not exist when running CI in specific modules, to me, it's a little bit redundant and ugly to add `?` to every profile. the worst cases are, as this PR described, in Maven 3, `?` is treated as a literal rather than optional, causes inconsistent behavior if we want to run CI with both Maven 3 and 4 in parallel -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
