Saljack commented on issue #4263:
URL: https://github.com/apache/netbeans/issues/4263#issuecomment-2469776333

   I also tried to configure a completely separate maven with a separated local 
repository. I use one maven configuration for the whole user it is in 
`~/.m2/settings` then I have another maven and set in its `settings.xml`  
`localRepository` to a different folder. Then I override maven options with 
`-s`. Everything looks ok. I see local repository in in Maven Repositories and 
its artifacts. But the project is marked as unloadable and still tries to use 
artificats from `~/.m2/repository`. It builds totally ok without any issue but 
Netbeans simply does not use `localRepository` configuration.
   
   The error is:
   ```
   1 problem was encountered while building the effective model for 
com.example.project-parent:1.0.1-SNAPSHOT
   [FATAL] Non-resolvable parent POM for 
com.example.project-parent:1.0.1-SNAPSHOT: The following artifacts could not be 
resolved: org.springframework.boot:spring-boot-starter-parent:pom:3.3.4 
(present, but unavailable): Cannot access internal.repository 
(https://example.com/repository/maven-public/) in offline mode and the artifact 
org.springframework.boot:spring-boot-starter-parent:pom:3.3.4 has not been 
downloaded from it before. and 'parent.relativePath' points at no local POM
   ```


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