The following issue has been updated:
Updater: Brett Porter (mailto:[EMAIL PROTECTED])
Date: Fri, 2 Apr 2004 7:00 PM
Comment:
-o correctly sets the var, but the problem is that if maven.mode.online is specified
as true in build or project properties, it will override the command line setting.
This restriction does not apply to system property definitions as you've mentioned.
Changes:
assignee changed to Brett Porter
summary changed from maven CLI -o option doesn't set
maven.mode.online=false
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1204&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1204
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1204
Summary: build and project properties should not override command line
Type: Bug
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
cli
Fix Fors:
1.0-rc3
Versions:
1.0-rc2
Assignee: Brett Porter
Reporter: John Casey
Created: Fri, 19 Mar 2004 4:03 PM
Updated: Fri, 2 Apr 2004 7:00 PM
Environment: windows (at least)
Description:
when running maven, if I specify something like:
maven -o goal
it will still try to satisfy dependencies by d/l'ing from remote repository. This is
NOT the case if I re-run with:
maven -Dmaven.mode.online=false goal
it looks like there might be an inheritance issue with the MavenJellyContext, but this
is just a guess. I've tried setting inherit=false, then true around the section in
App.java where the options are set, but no luck...
---------------------------------------------------------------------
JIRA INFORMATION:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]