Uploaded image for project: 'Maven Indexer'
  1. Maven Indexer
  2. MINDEXER-41

Allow to index several artifacts with no classifier

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Labels:
      None

      Description

      See details in this thread: http://maven.40175.n5.nabble.com/Search-with-several-artifacts-same-GAV-different-type-extension-td4902408.html

      The key used by indexer is GAVC (GAV + classifier where classifier can be null).
      With current design the indexer will only index one artifact with no classifier (= main artifact) + optionally additional secondary artifacts with classifier.
      This is an issue for custom packaging types that publish several artifacts with different extensions but no classifier.

      For example:

      groupId
         /artifactId
            /version
               /artifactId-version.pom
               /artifactId-version.jar
               /artifactId-version.tld
               /artifactId-version.config
      

      It would be good to include the extension in the index key => GAVCE. This way a search will return jar, tld and config artifacts.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cstamas Tamás Cservenák
                Reporter:
                henryju Julien HENRY
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: