[ http://jira.codehaus.org/browse/MNG-379?page=comments#action_41367 ] 

John Casey commented on MNG-379:
--------------------------------

Today I've made the following progress on this so far:

- Added a new project, called maven-plugin-registry, to house the model for 
this new file.

- Developed/debugged/tested PluginVersionManager/DefaultPluginVersionManager to 
isolate the plugin-version checks/management code away from the PluginManager

- Added interactiveMode (<interactiveMode>true|false</interactiveMode> directly 
under the root element of settings.xml, or -B short CLI option or --batch-mode 
CLI option, where the CLI options turn OFF interactiveMode). This will allow 
things like the maven-plugins build to register new plugins (and, for now, new 
versions of plugins) automatically.

- Added user input handler for when interactiveMode = true, to get a yes/no on 
whether to use the discovered version over the installed version and/or no 
version at all. If there is no installed version, and the user selects 'n', 
then the discovered version is used FOR THAT SESSION ONLY, and won't be 
recorded in the registry.

- Added checks/recording rejected versions against the registry, before 
attempting to use the discovered version.

Pending:

- Still need to add update-policies, to determine two things:

  1. how often to check for updates
  2. what to do when updates are found (autoUpdate, etc.)


> more control over plugin updates
> --------------------------------
>
>          Key: MNG-379
>          URL: http://jira.codehaus.org/browse/MNG-379
>      Project: Maven 2
>         Type: Improvement
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 2.0-alpha-3

>
>
> currently, plugin updates are checked daily (or whatever the plugin 
> repository's snapshot policy is), and new versions downloaded automatically.
> The user needs more control:
> - prompting for updates
> - ability to stick to a particular version
> - ability to check on different intervals than snapshots (probably default to 
> never, and use a --update-plugins clie or something)

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to