maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamás Cservenák (JIRA) <j...@codehaus.org>
Subject [jira] (MINDEXER-32) Make ArtifactInfo extensible
Date Fri, 27 Jun 2014 14:09:10 GMT

    [ https://jira.codehaus.org/browse/MINDEXER-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=348880#comment-348880
] 

Tamás Cservenák commented on MINDEXER-32:
-----------------------------------------

If we would break compatibility (I tihink must to), then simplty make ArtifactInfo a plain
POJO.... so all fields.

currently it has public fields all over the place. But, IMO, ArtifactInfo should basically
be a plain "map" of strings... this way new index creators could easily extend it by some
new extracted and indexed fields too....

> Make ArtifactInfo extensible
> ----------------------------
>
>                 Key: MINDEXER-32
>                 URL: https://jira.codehaus.org/browse/MINDEXER-32
>             Project: Maven Indexer
>          Issue Type: Improvement
>            Reporter: Tamás Cservenák
>
> Make ArtifactInfo extensible. Currently this class "bleeds" from multiple wounds: no
setters and fixed fields.
> This makes introduction of new fields (by core or by some extension introducing new IndexCreator)
nearly impossible, and is laborious.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message