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

implement user configuration

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0-alpha-1
    • Plugins and Lifecycle
    • None

    Description

      Currently, we are looking at allowing a user to configure some maven properties specifically for themselves.

      But what about configuration that is tied specifically to a user?

      Specific things:

      • installation locations (JDKs, repository, plugins - some may be set
        > for site)
      • connections (remote servers, type, username, password keys)
      • password cache

      The present thinking is that some of these settings might be set in the USD.
      This can continue, and while this makes sense for general settings and would work as an override, it would be better to centralise this configuration and keep it secure (especially WRT passwords). Maven could prompt a user and update this information (think SSH and known_hosts) - in the USD the precise location to do that may be difficult and would probably default to the user directory.

      Later on, a GUI could be used to configure this, and it could be setup for a user during installation.

      User configuration could be referenced in a POM ${user.foo}, ${maven.repo.local} (rename as user.repository for consistency), etc.

      Some common settings: server, username, password for scm, site target, proxy, repository (basic auth), distribution, issue tracker, wiki, etc.

      Now, many of these may be the same, so there should be a default that is used if another is not given.

      Attachments

        Activity

          People

            jdcasey John Dennis Casey
            brett Brett Porter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: