You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Ciprian Ciubotariu <ch...@gmx.net> on 2017/08/08 16:24:17 UTC

How to turn off maven index download a particular repository

Hi there!

Is there any way to instruct netbeans to NOT download this particular index?

I could not find any GUI element that enables me to switch off just this index, 
so I was wondering if there is a text file I could edit within netbeans' 
configuration. I am aware of turning off maven indexes completely, but this is 
not applicable for me, since I am using the overall feature - and it is an 
awesome feature.

The OSSRH snapshot index requires tens of gigabytes to unpack (30GiB, maybe 
60? Somewhere around that), and I don't want to allocate such free space just 
for this. Besides, following the expected out-of-disk-space error, netbeans 
enters an infinite loop trying again and again, which causes useless bandwith 
stress and SSD wear. Cancelling the download also causes retries within a few 
minutes.


I also wanted to take a look at the source code and help developing this 
feature, but I don't know where the current source of truth for the source 
code is right now, how to build netbeans etc. - but that's a discussion for 
the dev mailing list.

Ciprian

Re: How to turn off maven index download a particular repository

Posted by "geertjan.wielenga@oracle.com" <ge...@oracle.com>.
Maybe this helps:

https://jaxenter.com/netbeans/keep-netbeans-nimble-with-maven-remote-search <https://jaxenter.com/netbeans/keep-netbeans-nimble-with-maven-remote-search>

Gj


> On 8 Aug 2017, at 18:24, Ciprian Ciubotariu <ch...@gmx.net> wrote:
> 
> Hi there!
> 
> Is there any way to instruct netbeans to NOT download this particular index?
> 
> I could not find any GUI element that enables me to switch off just this index, 
> so I was wondering if there is a text file I could edit within netbeans' 
> configuration. I am aware of turning off maven indexes completely, but this is 
> not applicable for me, since I am using the overall feature - and it is an 
> awesome feature.
> 
> The OSSRH snapshot index requires tens of gigabytes to unpack (30GiB, maybe 
> 60? Somewhere around that), and I don't want to allocate such free space just 
> for this. Besides, following the expected out-of-disk-space error, netbeans 
> enters an infinite loop trying again and again, which causes useless bandwith 
> stress and SSD wear. Cancelling the download also causes retries within a few 
> minutes.
> 
> 
> I also wanted to take a look at the source code and help developing this 
> feature, but I don't know where the current source of truth for the source 
> code is right now, how to build netbeans etc. - but that's a discussion for 
> the dev mailing list.
> 
> Ciprian