Affects Version/s: 6.23.1, 7.10.2
Fix Version/s: None
When we enable maven indexer, we can select maven related local, remote and virtual repositories for indexing. For more details, please refer our documentation.
Even though, we didn't select any of the virtual repositories, Maven indexer is indexing all of the virtual repositories configured in Artifactory.
- Create a maven and few other repositories in an Artifactory instance (6.x or 7.X)
- In "Maven Indexer" section select only one local repository and trigger "Run Indexing Now"
- Check the Artifactory logs which says indexing local repository(which we selected) then indexes all the virtual repositories available in Artifactory.
I have tried issue reproduction with 6.x and 7.X latest version and it seems the Maven Indexer is indexing all the virtual repositories along with the specified maven local repository(libs-snapshot-local).
2020-11-24 08:35:19,807 [http-nio-8081-exec-4] [INFO ] (o.a.m.i.MavenIndexerServiceImpl:115) - Activating indexer manually
2020-11-24 08:35:19,809 [art-exec-206] [INFO ] (o.a.m.i.MavenIndexerServiceImpl:136) - Starting Maven indexing
2020-11-24 08:35:19,809 [art-exec-206] [INFO ] (o.a.m.i.MavenIndexerServiceImpl:157) - Starting non virtual repositories indexing...
2020-11-24 08:35:19,810 [art-exec-206] [INFO ] (o.a.m.i.MavenIndexerServiceImpl:159) - Non virtual repositories to index: [libs-snapshot-local]
2020-11-24 08:35:20,355 [art-exec-206] [INFO ] (o.a.m.i.MavenIndexManager:268) - Successfully saved index file 'libs-snapshot-local:.index/nexus-maven-repository-index.gz' and index info 'libs-snapshot-local:.index/nexus-maven-repository-index.properties'.
2020-11-24 08:35:20,357 [art-exec-206] [INFO ] (o.a.m.i.MavenIndexerServiceImpl:215) - Virtual repositories to index: [bower, chef, conan, conda, cran, debian, docker, gems, gitlfs, go, gradle-dev, gradle-release, helm, ivy-dev, ivy-release, libs-release, libs-snapshot, npm, nuget, puppet, pypi, rpm, sbt-dev, sbt-release]