[
https://issues.apache.org/jira/browse/MNG-7923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17791201#comment-17791201
]
Basil Crow commented on MNG-7923:
---------------------------------
For context, see https://github.com/jenkinsci/incrementals-tools — and also
note that this bug only occurs in Jenkins core, not in our other
incrementalified multi-module Maven projects like
https://github.com/jenkinsci/stapler and https://github.com/jenkinsci/jelly.
bq. I'd suggest to […] define the CI-friendly versions externally using system
properties that can be defined in .mvn/maven.config
This has no effect.
> Jenkins core does not compile with Maven 4.x
> --------------------------------------------
>
> Key: MNG-7923
> URL: https://issues.apache.org/jira/browse/MNG-7923
> Project: Maven
> Issue Type: Bug
> Components: Core
> Affects Versions: 4.0.0-alpha-2, 4.0.0-alpha-8
> Reporter: Basil Crow
> Priority: Major
>
> Try running {{git clone https://github.com/jenkinsci/jenkins.git && cd
> jenkins && mvn verify -Pquick-build}}. On the latest version of Maven 3.x, it
> works; on the latest Maven 4.x alpha, the build fails immediately with
> "Non-resolvable import POM: The following artifacts could not be resolved".
> If we need to make changes to our POM, then please point me to the
> documentation; otherwise, please fix the bug and let me know which release of
> Maven 4.x alpha I can test with the bug fixed. I bisected the failure to
> MNG-6656 /
> https://github.com/apache/maven/commit/bdec668de9c600165bb69c95b6ea0625d9f74fb0
--
This message was sent by Atlassian Jira
(v8.20.10#820010)