You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/16 12:05:00 UTC
[jira] [Commented] (MNG-6131) Support pom without coordinate
[ https://issues.apache.org/jira/browse/MNG-6131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997212#comment-16997212 ]
Elliotte Rusty Harold commented on MNG-6131:
--------------------------------------------
I'm skeptical. I've written some tooling that would be quite surprised if it encountered a POM without a GAV. Plus, it seems simpler to state the rule as every pom has a GAV, instead of some POMs have GAV but these sorts of POM in these conditions can omit it but not those POMs that you use for something else.
> Support pom without coordinate
> ------------------------------
>
> Key: MNG-6131
> URL: https://issues.apache.org/jira/browse/MNG-6131
> Project: Maven
> Issue Type: Improvement
> Components: FDPFC, POM
> Reporter: Robert Scholte
> Priority: Major
>
> In some cases the GAV is only there because Maven expects it, even though these coordinates will never be used.
> The most common case is an aggregator: it will only trigger module without being part of a multimodule project.
> Another case I'm thinking of are test-cases, where you want to show the behavior of some plugins. This project self will (or should!) never be installed or deployed.
> In general: the GAV is only required when another project will refer to it or if you want to distribute the project via a M2-repository manager.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)