Stevo,
This would be a good improvement, however it also would require to
handle number of corner cases. To give you few examples related to the
case when multiple Eclipse workspaces are used on the same system:
- different location of local repository (i.e. different settings.xml
for each workspace)
- different mirrors configuration for some repositories (basically index
look different if mirror is publishing it itself)
- concurrent access to the same index from two eclipse workspaces (e.g.
concurrent updates of the same index, affects downloads indexes for
remote repos and incremental updates for the local repository index)
It is quite tricky to handle those scenarios, so I choose safe and
simple way for the price of some disk size.
To deal with index downloading overhead you can configure local proxy,
e.g. Sonatype Nexus http://nexus.sonatype.org
regards,
Eugene
Stevo Slavić wrote:
Is nexus-maven-repository-index.zip being downloaded/updated per
workspace? It seems to me it is so. Wouldn't it be better to have
workspaces share single one in e.g. "%USER_HOME%/.m2/.index"
directory? Btw, I'm using maven 2.0.9 and m2eclipse 0.9.6.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email