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

Add <user> section in settings.xml

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 3.3.9
    • None
    • Settings
    • None

    Description

      Maven uses the login name (i.e. the system property user.name). In particular, it uses it in the Maven Archiver, to set the "Built-By" manifest entry. However, in my opinion this is problematic (see also MSHARED-362), because:

      • login names can typically only be traced back to a person within an organization
      • outside of an organization, login names may be ridiculous, embarrassing, ... and I'd guess many people are unaware of the fact that their login name is disclosed in any artifact they build

      Other systems, such as git and hg, actually use the login name as well by default. However, they allow to set the username in their global configuration. Maven should allow the same, setting both a username and an e-mail. Either by having 2 properties username and user e-mail, like git. Or by having a single property username, where the e-mail can be appended (e.g. Anthony <anthony@foo.bar>) like hg.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anthonyv.be Anthony Vanelverdinghe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: