Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-24058

"Maven Indexer" is indexing all the virtual repositories irrespective of the repositories selected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 6.23.1, 7.10.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Issue: 

      When we enable maven indexer, we can select maven related local, remote and virtual repositories for indexing. For more details, please refer our documentation.
      https://www.jfrog.com/confluence/display/JFROG/Maven+Indexer

      Even though, we didn't select any of the virtual repositories, Maven indexer is indexing all of the virtual repositories configured in Artifactory.

      Reproduction steps:

      1. Create a maven and few other repositories in an Artifactory instance (6.x or 7.X)
      2. In "Maven Indexer" section select only one local repository and trigger "Run Indexing Now"
      3. Check the Artifactory logs which says indexing local repository(which we selected) then indexes all the virtual repositories available in Artifactory.

      Logs:

      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]

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                Unassigned
                Reporter:
                tataraov Tatarao Vana
                Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated: