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

Brett Porter commented on MNG-379:
----------------------------------

no, there hasn't been any design.

Let me expand on my thoughts:

- prompting for updates
currently, there are daily checks for a new version, and if found it is 
downloaded and used. I would like that it is possible (and the default in 
interactive mode) to prompt whether to use that version, and record the choice 
in settings.xml.
eg. 
A newer version of the Maven IDEA plugin is available.
Current version: 1.4
Available: 1.5.1
Would you like to use the new version?

- ability to stick to a particular version
controlled via the settings model, you should be able to keep a particular 
version. Answering a no above would probably populate that

- ability to check on different intervals than snapshots (probably default to 
never, and use a --update-plugins clie or something)
this one is probably self explanatory. Currently ther snapshot policy is used 
for checking the plugin releases - a different policy might be appropriate

Bear in mind this might later apply to other components in the system.

I think the stuff needed in the settings model is:
- plugin g/a id
- currently selected version, per plugin, default to RELEASE if not given
- previously rejected versions, per plugin (don't prompt again for upgrades to 
these versions)
- global policy: update frequency (probably a property on the plugin 
repository, that could be set in the servers section?)
- global policy: prompt for updates, auto-install (no need for never - that 
would be the check interval above)

And finally - let the profiles change these values :)

What do you think?

I'm happy to move this to beta-1 if it is too large.


> 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