You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Edouard Hue (JIRA)" <ji...@codehaus.org> on 2008/08/21 14:23:27 UTC

[jira] Updated: (MRELEASE-374) Snapshot versions unusable in batch mode

     [ http://jira.codehaus.org/browse/MRELEASE-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edouard Hue updated MRELEASE-374:
---------------------------------

    Attachment: MRELEASE-374.diff

It appears that the release descriptor had a switch to allow a snapshot version of the release plugin to be used, but this switch couldn't be set in the release.properties file. The switch was only looked at in interactive mode, anyway.

This fix proposal takes care of reading and writing the switch value in release.properties, under the exec.snapshotReleasePluginAllowed property name. In the check-dependency-snapshot phase, the algorithm is reworked to first test the switch, then if in interactive mode, ask for user input.

> Snapshot versions unusable in batch mode
> ----------------------------------------
>
>                 Key: MRELEASE-374
>                 URL: http://jira.codehaus.org/browse/MRELEASE-374
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-8
>         Environment: Maven 2.0.9
> Windows XP
>            Reporter: Edouard Hue
>            Priority: Blocker
>         Attachments: MRELEASE-374.diff
>
>
> When running in batch mode, build fails when a snapshot of maven-release-plugin is being used :
> [INFO] Can't release project due to non released dependencies : org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.0-beta-8-SNAPSHOT:runtime
> In interactive mode, it is possible to bypass the check. This should be possible in batch mode too.

-- 
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