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

Missing .mvn directory is only reported in DEBUG mode

    XMLWordPrintableJSON

Details

    Description

      Currently the alpha-8 version of Maven only reports the missing .mvn directory only if I activate the debugging output:

      [DEBUG] Unable to find the root directory. Create a .mvn directory in the root directory or add the root="true" attribute on the root project's model to identify it.
      Apache Maven 4.0.0-alpha-8 (a2cbf4873a99c1aca7e3908086fe53b17865f07a)
      Maven home: /Users/khm/tools/maven
      Java version: 22-ea, vendor: Oracle Corporation, runtime: /Users/khm/.sdkman/candidates/java/22.ea.20-open
      Default locale: en_DE, platform encoding: UTF-8
      OS name: "mac os x", version: "14.0", arch: "aarch64", family: "mac"
      

      None debug output:

      [INFO] Scanning for projects...
      [INFO] --------------------------------------------------------------------------------------------------------------------------
      [INFO] Reactor Build Order:
      ...
      

      The question is: Should it be reported in usual output or not? Or only in debug mode? I would say report it not only in DEBUG mode.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              khmarbaise Karl Heinz Marbaise
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: