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 09:55:26 UTC

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

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


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

        

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

Posted by "Stephen Connolly (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Connolly closed MRELEASE-374.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
         Assignee: Stephen Connolly

r1139366

> Snapshot versions unusable in batch mode
> ----------------------------------------
>
>                 Key: MRELEASE-374
>                 URL: https://jira.codehaus.org/browse/MRELEASE-374
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0-beta-8
>         Environment: Maven 2.0.9
> Windows XP
>            Reporter: Edouard Hue
>            Assignee: Stephen Connolly
>            Priority: Blocker
>             Fix For: 2.2
>
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Edouard Hue (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MRELEASE-374:
-------------------------------------

        Component/s: prepare
    Patch Submitted: [Yes]

> 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
>          Components: prepare
>    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