gnodet opened a new issue, #12305:
URL: https://github.com/apache/maven/issues/12305

   ## Description
   
   Building any of the Apache Causeway sample applications with Maven from the 
`maven-4.0.x` branch fails with `Invalid Collect Request: null` during 
dependency resolution. The builds succeed with Maven 3.x.
   
   ## Error
   
   ```
   [ERROR] Invalid Collect Request: null ->
     [org.apache.causeway.core:causeway-applib:jar:3.6.0 (compile),
      org.apache.causeway.testing:causeway-testing-fakedata-applib:jar:3.6.0 
(compile),
      ...
      org.springframework.boot:spring-boot-configuration-processor:jar:3.5.13 
(compile?),
      org.projectlombok:lombok:jar:1.18.44 (provided)]
     < [central (https://repo.maven.apache.org/maven2, default, releases),
        staging (https://repository.apache.org/content/groups/staging/, 
default, releases+snapshots)]
   ```
   
   The `null` in "Invalid Collect Request: null" suggests the dependency 
collector is returning null somewhere internally.
   
   Note the `(compile?)` scope annotation on 
`spring-boot-configuration-processor` — the question mark may indicate scope 
uncertainty in the resolver.
   
   ## Affected projects
   
   - `causeway-app-helloworld` (3.6.0)
   - `causeway-app-petclinic` (2.0.0)
   - `causeway-app-simpleapp` (3.6.0)
   
   All three use repositories declared in the POM (central + staging).
   
   ## Reproducer
   
   ```bash
   git clone https://github.com/apache/causeway-app-simpleapp.git
   cd causeway-app-simpleapp
   mvn -B -e clean package -DskipTests
   ```
   
   ## Environment
   
   - Maven: built from `maven-4.0.x` branch (bootstrapped with 4.0.0-rc-5)
   - JDK: 17 (Temurin)
   
   ## Context
   
   Found during [Maven 4 compatibility 
testing](https://github.com/gnodet/maven4-testing/issues/20686).
   
   _Claude Code on behalf of Guillaume Nodet_


-- 
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]

Reply via email to