mavennexusmaven-indexer

Is it possible to index a legacy repository in nexus?


I'm trying to migrate a large maven1 installation to maven2. I've installed nexus 1.5, created a legacy hosted repository and a m2 virtal view of it. Maven 2 build scripts can access the artifacts without any problem. The only thing which is not working is the nexus-index for the legacy repository. Now, the legacy hosted repository doesn't have any option to be include in search, and the virtual m2 view doesn't seem to be included in the index either.

Is there any way to make an old legacy maven 1 repository searchable by nexus ?


Solution

  • According to Proxying Maven 1 legacy Repositories as a Maven 2 Repo (NEXUS-29):

    Note that you can't browse or search the index in nexus because it is a Maven 1 repo.

    I wonder if this is because the Nexus Indexer doesn't index a legacy repository (in which case you can maybe implement or extend the indexer) or if it's "just" a limitation. Maybe open an issue in their Jira to get a more precise answer.