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

Maven should provide an option to log build's outpu to file using cmd line option

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Logging
    • None

    Description

      Today, only option to get maven's build output to a file is using redirection like ">" or "tee".
      While running maven from CruiseControl, it is not optional to do it.

      Could be (very) nice to have a -logfile option to specify log file for the build output.
      For example running mvn -logfile mylog.txt clean install will print to console and to mylog.txt
      This is similar to the -logfile supported by Ant.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              enahir Erez Nahir
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: