gnodet opened a new pull request, #13070: URL: https://github.com/apache/maven/pull/13070
Backport of #12680 to `maven-4.0.x`. ## Summary The concurrent builder's `filterByScope` used exact string matching between the lifecycle dependency scope (e.g. `"compile"`) and the declared artifact scope in the model. This meant a `provided`-scope reactor dependency was **not** ordered before the consumer's compile phase, since `"compile" != "provided"`. ### Fix Expand the lifecycle scope to match all artifact scopes that contribute to it for build ordering: - `"compile"` → compile, provided, system (+ null defaults to compile) - `"runtime"` → compile, runtime (+ null) - `"test"` → all scopes - `"test-only"` → test only Cherry-picked cleanly from master (`7f5d22e9ee`). -- 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]
