cstamas commented on issue #13084:
URL: https://github.com/apache/maven/issues/13084#issuecomment-5616112700

   Here is a reproducer: 
https://gist.github.com/cstamas/016d2ed50c35549a68f8b25a119ce1b7
   
   With 3.9.16:
   ```
   [cstamas@angeleyes simple-project]$ mvn compile
   [INFO] Scanning for projects...
   [INFO] 
   [INFO] --------------------------< unknown:unknown 
>---------------------------
   [INFO] Building unknown 1.0-SNAPSHOT
   [INFO]   from pom.xml
   [INFO] --------------------------------[ jar 
]---------------------------------
   [INFO] 
   [INFO] --- resources:3.4.0:resources (default-resources) @ unknown ---
   [INFO] skip non existing resourceDirectory 
/home/cstamas/tmp/simple-project/src/main/resources
   [INFO] 
   [INFO] --- compiler:3.15.0:compile (default-compile) @ unknown ---
   [INFO] No sources to compile
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  0.224 s
   [INFO] Finished at: 2026-09-10T11:11:02+02:00
   [INFO] 
------------------------------------------------------------------------
   [cstamas@angeleyes simple-project]$ 
   ```
   
   With 3.10.0-SNAPSHOT:
   ```
   [cstamas@angeleyes simple-project]$ mvn compile
   [INFO] Scanning for projects...
   [INFO] 
   [INFO] --------------------------< unknown:unknown 
>---------------------------
   [INFO] Building unknown 1.0-SNAPSHOT
   [INFO]   from pom.xml
   [INFO] --------------------------------[ jar 
]---------------------------------
   [INFO] Loaded 23729 auto-discovered prefixes for remote repository central 
(prefixes-central.txt)
   [WARNING] The POM for org.jboss.resteasy:resteasy-client:jar:7.0.0.Final is 
invalid, transitive dependencies (if any) will not be available: 9 problems 
were encountered while building the effective model for 
org.jboss.resteasy:resteasy-client:7.0.0.Final
   [ERROR] 'dependencies.dependency.version' for 
org.jboss.logging:jboss-logging:jar is missing. @ 
   [ERROR] 'dependencies.dependency.version' for 
org.jboss.logging:jboss-logging-annotations:jar is missing. @ 
   [ERROR] 'dependencies.dependency.version' for 
org.apache.httpcomponents:httpclient:jar is missing. @ 
   [ERROR] 'dependencies.dependency.version' for 
commons-codec:commons-codec:jar is missing. @ 
   [ERROR] 'dependencies.dependency.version' for 
org.apache.httpcomponents:httpasyncclient:jar is missing. @ 
   [ERROR] 'dependencies.dependency.version' for 
org.eclipse.jetty:jetty-client:jar is missing. @ 
   [ERROR] 'dependencies.dependency.version' for 
jakarta.ws.rs:jakarta.ws.rs-api:jar is missing. @ 
   [ERROR] 'dependencies.dependency.version' for 
org.reactivestreams:reactive-streams:jar is missing. @ 
   [ERROR] 'dependencies.dependency.version' for 
org.junit.jupiter:junit-jupiter:jar is missing. @ 
   
   [INFO] 
   [INFO] --- resources:3.5.0:resources (default-resources) @ unknown ---
   [INFO] skip non existing resourceDirectory 
/home/cstamas/tmp/simple-project/src/main/resources
   [INFO] 
   [INFO] --- compiler:3.15.0:compile (default-compile) @ unknown ---
   [INFO] Loaded 74 auto-discovered prefixes for remote repository 
apache.snapshots (prefixes-apache.snapshots.txt)
   [WARNING] Using credentials of server 'sonatype-nexus-snapshots' for 
repository https://oss.sonatype.org/content/repositories/snapshots, although no 
repository or mirror with this id is declared in settings or on the command 
line. Set maven.repository.credentialScope=strict to refuse such credential use.
   [WARNING] Not applying session authentication to repository 
sonatype-nexus-snapshots 
(https://oss.sonatype.org/content/repositories/snapshots) declared by a remote 
artifact descriptor; set 
aether.remoteRepositoryManager.authToDescriptorRepositories=true to restore the 
legacy behavior of matching credentials to such repositories by repository ID
   [INFO] No sources to compile
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  0.554 s
   [INFO] Finished at: 2026-09-10T11:11:29+02:00
   [INFO] 
------------------------------------------------------------------------
   [cstamas@angeleyes simple-project]$ 
   ```


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