[
https://issues.apache.org/jira/browse/MNG-8252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet updated MNG-8252:
---------------------------------
Summary: Fully infer the parent coordinates if the location points to a
valid model (was: [mvn4] fully infere the parent coordintes if parentRef
points to a valid model)
> Fully infer the parent coordinates if the location points to a valid model
> --------------------------------------------------------------------------
>
> Key: MNG-8252
> URL: https://issues.apache.org/jira/browse/MNG-8252
> Project: Maven
> Issue Type: Improvement
> Reporter: Christoph Läubrich
> Priority: Major
> Fix For: 4.0.0-beta-5
>
>
> I have a use-case where I have a structure like this
> parent
> - child1
> - child2
> currently I can omit the version, but need to specify the version what is
> good, I still need to specify G+A
> {code}
> [ERROR]
> [ERROR] The project [unknown-group-id]:bundle1:1.0.0.qualifier
> (/projects/reactor.makeBehaviour/bundle1/META-INF) has 2 errors
> [ERROR] 'parent.groupId' is missing.
> [ERROR] 'parent.artifactId' is missing.
> [ERROR]
> {code}
> it would be great if not only the version but also the G+A would just be
> assumed to be the one where parent ref points to, e.g this would be enough
> {code}
> <parent>
> <relativePath>...</relativePath>
> </parent>
> {code}
> Basically even
> {code}
> <parent>
> </parent>
> {code}
> as <relativePath>...</relativePath> is the default.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)