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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5.3
    • 3.5.4
    • Command Line
    • 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

              michael-o Michael Osipov
              ldywicki Ɓukasz Dywicki
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: