gnodet opened a new issue, #12472: URL: https://github.com/apache/maven/issues/12472
## Description When testing ~966 Apache projects against Maven 4.0.0-rc-5 (via [gnodet/maven4-testing](https://github.com/gnodet/maven4-testing)), **24 projects hang indefinitely** under Maven 4 while building normally (30–600s) with Maven 3. All builds use `clean package -DskipTests` — no tests are involved. The timeout is set to 1 hour, which should be more than sufficient for compilation-only builds. ## Evidence | Project | Maven 3 Duration | Maven 4 Duration | Notes | |---------|-------------------|-------------------|-------| | karaf-minho | 52s | 3605s (killed) | Only on module 4/19 when killed | | dubbo-integration-cases | 48s | 3605s (killed) | | | james-jspf | 31s | 3606s (killed) | | | mina-ftpserver | 35s | 3607s (killed) | | | sling-kickstart-maven-plugin | 29s | 3605s (killed) | | | qpid-proton-j | 29s | 3605s (killed) | | | aries-containers | 33s | 3604s (killed) | | | jclouds | 125s | 3606s (killed) | | | tinkerpop | 343s | 3607s (killed) | Only on module 2/28 when killed | | cloudstack | 673s | 3613s (killed) | | All 24 affected projects: aries-cdi, aries-containers, camel-kafka-connector, cloudstack, dubbo-integration-cases, incubator-nemo, incubator-nlpcraft-java-client, james-jspf, jclouds, karaf-minho, karaf-winegrower, mina-ftpserver, netbeans-html4j, qpid-proton-j, rocketmq-eventbridge, shenyu, sling-jspc-maven-plugin, sling-kickstart-maven-plugin, sling-org-apache-sling-kickstart, sling-slingstart-maven-plugin, streams, synapse, systemds, tinkerpop ## Behavior Maven 4 appears to hang (or run orders of magnitude slower) during early phases — likely dependency resolution or reactor setup. For example, karaf-minho (19 modules, 52s with Maven 3) is still compiling module 4 when killed at 1 hour. This is NOT a timeout-too-short issue. Projects that compile in 30 seconds with Maven 3 should not need more than a few minutes with Maven 4. ## Build command ``` mvn -V -B -e clean package -DskipTests -Drat.skip=true -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true ``` Maven version: 4.0.0-rc-5 ## Summary issue Full test run results: https://github.com/gnodet/maven4-testing/issues/9485 -- 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]
