This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 225811 - Allow configuring index folders for maven repositories
Summary: Allow configuring index folders for maven repositories
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.2.1
Hardware: PC Windows 7
: P3 normal with 4 votes (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-06 18:34 UTC by predatorvi
Modified: 2016-07-07 08:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description predatorvi 2013-02-06 18:34:53 UTC
Though the default index directory for many repositories is ".index", there are cases where an alternate index directory is desired.  As an example, the default when using Apache Archiva is ".indexer". 

For Archiva, the default for local repositories can be configured, but currently the "merged index" for repository groups is not configurable from ".indexer".

In addition, most repository systems (Artifactory, etc.) allow configuring alternate locations for indexes, even allowing for hosting of indexes on alternate hosts.

It would be very valuable if the index location for repositories added to the NetBeans Services->Maven Repositories was editable.  

The value is listed in the properties but can't be changed.  

Can it simply be made editable and/or prompted for when adding a new repo?
Comment 1 Milos Kleint 2013-02-11 08:06:00 UTC
the current working of the repositories node in services is semi-automatic, collecting repositories from projects, applying mirror settings.. for any of these to work correctly, the index location has to be the same. 

The editing of .index location would only apply to manually entered repositories, which are currently IMHO a minority of entries. Also it would not solve the one big mainstream usecase of mirroring central..
Comment 2 lujop 2013-02-21 16:32:40 UTC
We are also using Archiva as our internal repository.
And will be very useful for us to be able to manually configure index directory to ".indexer".
Comment 3 Milos Kleint 2013-03-03 09:48:38 UTC
this archiva issue is related: https://jira.codehaus.org/browse/MRM-1745
Comment 4 Martin Balin 2016-07-07 08:39:26 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss