Maven
  1. Maven
  2. MNG-1830

add a 'compiled on <timestamp>' label when maven 2 is invoked with --version option

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.11, 2.1.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      2

      Description

      It might be a good idea to append
      'compiled on <timestamp>'

      when maven2 is invoked with '--version' swtich/option, just like Ant does. Can be helpful when compiling m2 locally 'n' times and need to ensure the m2 installation was infact updated or when was it last updated.

      1. bootstrap_builtOn.patch
        0.9 kB
        Sharmarke Aden
      2. maven-archiver_builtOn.patch
        1 kB
        Sharmarke Aden

        Activity

        Hide
        Brett Porter added a comment -

        Format is:

        Apache Maven 2.1.0-M2-SNAPSHOT (r727655; Fri Dec 19 03:35:57 EST 2008)

        Date is displayed in your locale.

        Show
        Brett Porter added a comment - Format is: Apache Maven 2.1.0-M2-SNAPSHOT (r727655; Fri Dec 19 03:35:57 EST 2008) Date is displayed in your locale.
        Hide
        Paul Benedict added a comment -

        Can you please use the ISO date-time format so that it's a known output in case someone wants to parse it.

        Show
        Paul Benedict added a comment - Can you please use the ISO date-time format so that it's a known output in case someone wants to parse it.
        Hide
        Vincent Siveton added a comment -

        I second Paul.

        Show
        Vincent Siveton added a comment - I second Paul.
        Hide
        Brett Porter added a comment -

        makes sense

        Show
        Brett Porter added a comment - makes sense
        Hide
        Brett Porter added a comment -

        done

        Show
        Brett Porter added a comment - done

          People

          • Assignee:
            Brett Porter
            Reporter:
            Rahul Thakur
          • Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: