AleGonzalez002 commented on issue #9833:
URL: https://github.com/apache/netbeans/issues/9833#issuecomment-7249495049

   Can confirm this exact issue also happens on Windows 11 with NetBeans 
portable when opening a fresh Spring Boot 4.2.0 project generated from 
start.spring.io (which bundles Maven Wrapper 3.10.2).
   
   The root cause in .m2/repository is that Maven 3.10.x / Resolver 2 writes 
_remote.repositories entries using the hashed repo id:
   
spring-boot-starter-parent-4.2.0.pom>central-8fac3ebd6edbaca3c794783fa38088af0aa128e7=
   
   When NetBeans' embedded Maven (Resolver 1) inspects the local repo during 
offline model building, it fails to match central, throwing:
   org.springframework.boot:spring-boot-starter-parent:pom:4.2.0 (present, but 
unavailable): Cannot access central ... in offline mode
   
   Manually aliasing/appending the classic >central= key to the 
_remote.repositories files allows NetBeans 32 to load and build the project 
cleanly without complaints. Looking forward to the embedded Maven 3.10.2 
upgrade in NetBeans 33!


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to