Issue Details (XML | Word | Printable)

Key: MNG-3649
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Jason van Zyl
Reporter: John Casey
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 2

REGRESSION: Batch mode is ignored (-B)

Created: 03/Jul/08 02:42 PM   Updated: 02/Oct/08 02:17 PM
Component/s: Command Line
Affects Version/s: 3.0-alpha-1
Fix Version/s: 3.0-alpha-1

Time Tracking:
Not Specified

Complexity: Intermediate


 Description  « Hide
Tried running the release plugin using the -B flag to avoid prompts for next version, etc. and it doesn't appear to have any effect in 2.1.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brett Porter added a comment - 03/Jul/08 08:12 PM
While this could be an independent bug, I've also seen related issues with the wrong value for the "ignore failures" switch, so the CLI might be broken entirely.

Jason van Zyl added a comment - 02/Oct/08 12:53 PM
The release plugin depends on the interactive flag being set on the Settings object so I will see what I can do to mimic.

Jason van Zyl added a comment - 02/Oct/08 01:50 PM
How is that a plugin that wants to use non-interactive mode, relies on a flag being set in the user settings.xml. Obviously we are mis-using the settings in 2.0.x. In this case you're purely interested in the command line flag. I'll rig something up to preserve this.

Jason van Zyl added a comment - 02/Oct/08 02:17 PM
Tested a release works in batch mode.