Caching the repository index in m2eclipse

Posted by Titi Wangsa bin Damhore on Stack Overflow See other posts from Stack Overflow or by Titi Wangsa bin Damhore
Published on 2009-07-24T15:17:13Z Indexed on 2010/06/17 13:03 UTC
Read the original article Hit count: 279

Filed under:
|

everytime i start with a fresh new workspace, m2eclipse downloads nexus-maven-repository-index.gz from the maven central repository. this is good. but, some times, i just want to start a new workspace, and not wait for it to download, it tried copying the whole .metadata directory from an old workspace to the new one, but the list of maven artifacts are still empty. is there a way i can cache it? or at least download the file once, and the copy/extract/repackage it so that m2eclipse thinks it has already downloaded it and allows me to search for maven artifacts.

or a short version of the question where and in what format is the "nexus-maven-repository-index.gz" file stored in the workspace?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about maven-2