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

display relative path to pom.xml

    XMLWordPrintableJSON

Details

    Description

      when building large multi-module project, when a failure happens in the middle of the build, it's not easy to even identify where the module is located in the source tree: Maven displays the module name, but not the path to pom.xml. Then often we have to read output log of goals that have run hoping to find a hint

      it would be nice to have by default the path to the pom.xml displayed during Maven run.

      I see 2 options:
      1. either in the module build header:

      [INFO] --< org.apache.maven.its.plugins:maven-it-plugin-dependency-resolution >--
      [INFO] Building Maven IT Plugin :: Dependency Resolution 2.1-SNAPSHOT   [31/78]
      [INFO] core-it-support/core-it-plugins/maven-it-plugin-dependency-resolution/pom.xml
      [INFO] ----------------------------[ maven-plugin ]----------------------------
      

      2. or in each goal execution line during the module build:

      [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ maven-it-plugin-dependency-resolution core-it-support/core-it-plugins/maven-it-plugin-dependency-resolution/pom.xml ---
      

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              hboutemy Herve Boutemy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: