Skip to content

[MNG-8252] Fully infer the parent coordinates if the location points to a valid model #9766

@jira-importer

Description

@jira-importer

Christoph Läubrich opened MNG-8252 and commented

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

[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] 

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

<parent>
   <relativePath>...</relativePath>
</parent>

Basically even

<parent>
</parent>

as <relativePath>...</relativePath> is the default.


Issue Links:

  • MNG-7255 Infer groupId for intra-reactor dependencies

  • MNG-8224 Make parent POM version optional if defined in the reactor

Remote Links:

Backported to: 4.0.0-beta-5

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions