You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2005/03/16 07:53:33 UTC

[jira] Resolved: (MNG-203) change top level tag from to something better

     [ http://jira.codehaus.org/browse/MNG-203?page=history ]
     
John Casey resolved MNG-203:
----------------------------

    Resolution: Fixed

finished overhaul of the local configuration stuff. Changed from UserModel to MavenSettings, backed by a Settings model object. The MavenSettings object adds search functions to lookup active configurations.

The new file is ~/.m2/settings.xml (unless you configure settingsPath on the MavenSettingsBuilder), and it's format is similar to:

<settings>
  <profiles>
    <profile>
      <active>true</active>
      <localRepository>/path/to/local/repository</localRepository>
    </profile>
  </profiles>
  <servers>
    <server>
      <id>repo1</id>
      <username>maven</username>
      <privateKey>/path/to/private/key</privateKey>
      <passphrase></passphrase>
    </server>
  </servers>
</settings>

> change top level tag from <userModel> to something better
> ---------------------------------------------------------
>
>          Key: MNG-203
>          URL: http://jira.codehaus.org/browse/MNG-203
>      Project: m2
>         Type: Improvement
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 1.0-alpha-1

>
>
> can we please change this to <config> or <settings> or something more user friendly?
> xml.tagName="..." in modello and whatever mboot changes are necessary should do the trick.

-- 
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