jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2 & 3
  • MNG-557

Add --settings to be able to control the settings.xml file the m2 cli uses

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0-beta-1
  • Component/s: None
  • Labels:
    None

Issue Links

relates to

New Feature - A new feature of the product, which has yet to be developed. MNG-3914 Add CLI option to control location of global settings from command line

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
John Casey added a comment - 18/Jul/05 4:17 PM

I've already got a system property for specifying this; is it really that worthwhile to create a first-class CLI option for it?

The sysprop is:

-Dorg.apache.maven.user-settings=/path/to/settings.xml

and

-Dorg.apache.maven.global-settings=/path/to/global/settings.xml

Show
John Casey added a comment - 18/Jul/05 4:17 PM I've already got a system property for specifying this; is it really that worthwhile to create a first-class CLI option for it? The sysprop is: -Dorg.apache.maven.user-settings=/path/to/settings.xml and -Dorg.apache.maven.global-settings=/path/to/global/settings.xml
Hide
Permalink
Brett Porter added a comment - 18/Jul/05 4:33 PM

I think this one might be worthwhile

Show
Brett Porter added a comment - 18/Jul/05 4:33 PM I think this one might be worthwhile
Hide
Permalink
John Casey added a comment - 18/Jul/05 4:35 PM

then do we really need two CLI switches, one per type of settings? f.e. --settings and --global-settings or something?

Show
John Casey added a comment - 18/Jul/05 4:35 PM then do we really need two CLI switches, one per type of settings? f.e. --settings and --global-settings or something?
Hide
Permalink
Brett Porter added a comment - 18/Jul/05 4:38 PM

I'd make --settings be user settings, and always load the global settings from the install dir

Show
Brett Porter added a comment - 18/Jul/05 4:38 PM I'd make --settings be user settings, and always load the global settings from the install dir

People

  • Assignee:
    John Casey
    Reporter:
    Trygve Laugstol
Vote (0)
Watch (1)

Dates

  • Created:
    07/Jul/05 4:03 PM
    Updated:
    14/Dec/08 4:21 PM
    Resolved:
    03/Aug/05 3:35 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.