[
https://issues.apache.org/jira/browse/MINDEXER-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965265#comment-17965265
]
Olivier Lamy commented on MINDEXER-41:
--------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-indexer#439|https://github.com/apache/maven-indexer/issues/439].
> Allow to index several artifacts with no classifier
> ---------------------------------------------------
>
> Key: MINDEXER-41
> URL: https://issues.apache.org/jira/browse/MINDEXER-41
> Project: Maven Indexer (Moved to GitHub Issues)
> Issue Type: Improvement
> Reporter: Julien HENRY
> Assignee: Tamas Cservenak
> Priority: Major
> Fix For: 6.0.0
>
>
> 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:
> {code}
> groupId
> /artifactId
> /version
> /artifactId-version.pom
> /artifactId-version.jar
> /artifactId-version.tld
> /artifactId-version.config
> {code}
> It would be good to include the extension in the index key => GAVCE. This way
> a search will return jar, tld and config artifacts.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)