Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-8252

Fully infer the parent coordinates if the location points to a valid model

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-beta-5
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              laeubi Christoph Läubrich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: