You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliot Metsger (JIRA)" <ji...@codehaus.org> on 2010/08/16 14:38:32 UTC
[jira] Issue Comment Edited: (MRELEASE-583) Better Snapshot
Dependency Handling
[ http://jira.codehaus.org/browse/MRELEASE-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232112#action_232112 ]
Elliot Metsger edited comment on MRELEASE-583 at 8/16/10 7:36 AM:
------------------------------------------------------------------
Hi Nicola, I just wanted to offer some feedback on this patch (MRELEASE-583).
So I noticed that the patch changes existing functionality: it removes the ability to manually assign the next development version.
Would it be possible for you to create a revision of this patch which adds the ability to specify both the release version *and* the next development version? I would do it, but I'm just running out of time on my project. I could come back to it later though, if you don't have the time. Best regards!
was (Author: emetsger):
Hi Nicola, I just wanted to offer some feedback on this patch (MRELEASE-583).
So I noticed that the patch changes existing functionality: it removes the ability to manually assign the next development version.
Would it be possible for you to create a revision of this patch which adds the ability to specify both the release version *and* the next development version?
> Better Snapshot Dependency Handling
> -----------------------------------
>
> Key: MRELEASE-583
> URL: http://jira.codehaus.org/browse/MRELEASE-583
> Project: Maven 2.x Release Plugin
> Issue Type: Improvement
> Components: prepare
> Affects Versions: 2.0
> Reporter: nicola sinapsi
> Attachments: better-snapshot-dependency.patch
>
>
> The plugin has a simple snapshot dependency resolution mechanism.
> When a snapshot dependency is found, it allows for setting it to release... but it does not allows to choice the release version to use:
> <code>
> Resolve Project Dependency Snapshots.: 'com.sinapsi.libs:sinapsi-commons' set to release? (yes/no) yes: : yes
> What is the next development version? (2.1.3-SNAPSHOT) 2.1.3-SNAPSHOT: :
> </code>
> in this case the versions are:
> current: 2.1.2-SNAPSHOT
> release: 2.1.2
> next: 2.1.3-SNAPSHOT
> The problem is that the only allowed development version is 2.1.3-SNAPSHOT (the value between the parentheses), hence the only allowed release version is 2.1.2.
> Notably, you cannot specify an OLDER relase (such as 2.1.1): this means you are forced to release the dependency (you cannot use an already released version).
> It would be better to ask for the release version to use, and then set the snapshot as the release following the release version specified by the user:
> <code>
> Resolve Project Dependency Snapshots.: 'com.sinapsi.libs:sinapsi-commons' set to release? (yes/no) yes: : yes
> What is the release version? 2.1.2: : 2.3.0
> </code>
> in this case the versions are:
> current: 2.1.2-SNAPSHOT
> release: 2.3.0
> next: 2.3.1-SNAPSHOT
> The plugin suggests to set the release version to 2.1.2, but the user can choice another version, eventually an already released version.
--
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