You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/03/31 15:35:53 UTC

[GitHub] [netbeans] JaroslavTulach edited a comment on pull request #2848: Branding API to disable Maven index download

JaroslavTulach edited a comment on pull request #2848:
URL: https://github.com/apache/netbeans/pull/2848#issuecomment-811144560


   Thank you Sváťo for preventing me make such a tremendous mistake. Yes, you are right, we have to prevent not only update, but also creation of the index. There is a call to `RepositoryPreferences.isIndexRepositories()` in the stack you provided:
   ```
   org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.access$1000(NexusRepositoryIndexerImpl.java:122)
   org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$6.run(NexusRepositoryIndexerImpl.java:946)
   org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$6.run(NexusRepositoryIndexerImpl.java:937)
   ```
   Let's thus add another branding API to make the `createIndex` preference return `false` by default: 09c7322 


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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