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

Make-like reactor mode fails to find projects selected by relative paths with leading dots

    XMLWordPrintableJSON

Details

    Description

      When the parent/aggregator POM resides in a sibling directory of its children, i.e. when one has something like

      <modules>
        <module>../sub-a</module>
        <module>../sub-b</module>
      </modules>
      

      an invocation of the make-like reactor mode in the parent project's base dir with

      mvn validate --projects .
      

      or

      mvn validate --projects ../sub-a
      

      fails with an error like "Couldn't find specified project in module list: M:\mng-2576\parent\..\sub-a".

      Workaround is to specify groupId:artifactId instead of the relative paths.

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              bentmann Benjamin Bentmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: