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

Add groupId to --resume-from suggestion if artifactId is not unique in reactor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.3
    • Fix Version/s: 3.5.4
    • Component/s: Command Line
    • Labels:
      None

      Description

      In multi module builds same artifact id can be repeated with different group id. For example if project strategy is to use nesting of modules, instead of using long artifact names, ap or model module can occur multiple times with different group id.

      By default maven, upon failed build, prints out only -rf :artifactId. When developer will copy given suggestion and run build again then his build will be started from first module which have given artifact id.

      While severity of this bug is quite low, it affects productivity in bigger projects big time. To improve usability of returned message a Maven should return -rf groupId:artifactId once artifact id is not unique.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                ldywicki Ɓukasz Dywicki
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: