Return-Path: Delivered-To: apmail-maven-m2-dev-archive@www.apache.org Received: (qmail 59548 invoked from network); 9 Mar 2005 08:22:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Mar 2005 08:22:03 -0000 Received: (qmail 33319 invoked by uid 500); 9 Mar 2005 08:22:03 -0000 Delivered-To: apmail-maven-m2-dev-archive@maven.apache.org Received: (qmail 33299 invoked by uid 500); 9 Mar 2005 08:22:03 -0000 Mailing-List: contact m2-dev-help@maven.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Maven 2 Developers List" Reply-To: "Maven 2 Developers List" Delivered-To: mailing list m2-dev@maven.apache.org Received: (qmail 33286 invoked by uid 99); 9 Mar 2005 08:22:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from beaver.codehaus.org (HELO codehaus.org) (64.7.141.17) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 09 Mar 2005 00:22:01 -0800 Received: (qmail 26395 invoked from network); 9 Mar 2005 08:21:58 -0000 Received: from localhost (HELO beaver.codehaus.org) (127.0.0.1) by codehaus.org with SMTP; 9 Mar 2005 08:21:58 -0000 Message-ID: <25670558.1110356518077.JavaMail.jira@beaver.codehaus.org> Date: Wed, 9 Mar 2005 03:21:58 -0500 (EST) From: "John Casey (JIRA)" To: m2-dev@maven.apache.org Subject: [jira] Resolved: (MNG-158) implement user configuration In-Reply-To: <32410377.1109551429608.JavaMail.orion@beaver.codehaus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://jira.codehaus.org/browse/MNG-158?page=history ] John Casey resolved MNG-158: ---------------------------- Resolution: Fixed model added; wagon-manager refers to userModel for authentication info via MavenAuthenticationInfoProvider in maven-core; utility class used to read/write and navigate UserModel object. The userModel is in ~/.m2/user.xml > implement user configuration > ---------------------------- > > Key: MNG-158 > URL: http://jira.codehaus.org/browse/MNG-158 > Project: m2 > Type: New Feature > Components: maven-core > Reporter: Brett Porter > Assignee: John Casey > Fix For: 1.0-alpha-1 > > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira