You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@codehaus.org> on 2012/01/11 18:40:02 UTC

[jira] (MCHANGES-272) Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.

Christian Schulte created MCHANGES-272:
------------------------------------------

             Summary: Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.
                 Key: MCHANGES-272
                 URL: https://jira.codehaus.org/browse/MCHANGES-272
             Project: Maven 2.x Changes Plugin
          Issue Type: New Feature
    Affects Versions: 2.6
            Reporter: Christian Schulte
            Priority: Trivial


The 'changes-check' goal treats snapshot versions the same way as release versions by removing the '-SNAPSHOT' suffix prior to checking the release date. Please add an option to the 'changes-check' goal to allow skipping snapshot versions.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCHANGES-272) Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCHANGES-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297065#comment-297065 ] 

Benson Margulies commented on MCHANGES-272:
-------------------------------------------

I would commit this if I could find the recipe for looking a a timestamp snapshot version and determining that it is, in fact, a snapshot version. It has to be in maven core somewhere.

                
> Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHANGES-272
>                 URL: https://jira.codehaus.org/browse/MCHANGES-272
>             Project: Maven 2.x Changes Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.6
>            Reporter: Christian Schulte
>            Assignee: Benson Margulies
>            Priority: Trivial
>         Attachments: MCHANGES-272.patch
>
>
> The 'changes-check' goal treats snapshot versions the same way as release versions by removing the '-SNAPSHOT' suffix prior to checking the release date. Please add an option to the 'changes-check' goal to allow skipping snapshot versions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCHANGES-272) Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.

Posted by "Christian Schulte (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCHANGES-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297064#comment-297064 ] 

Christian Schulte commented on MCHANGES-272:
--------------------------------------------

I would like to be able to enable the release profile when building snapshots (e.g. for testing the release build or for deploying snapshots publicly). Just like 'mvn deploy' automatically chooses a repository to upload to based on the kind of artifact acted upon, I would like to avoid having to invoke maven differently based on the kind of artifact acted upon when enabling the release profile. The current behavior of the 'changes-check' goal makes this impossible, since it will fail the build when building a snapshot for which no matching release version is found in the 'changes.xml' file or for which no release date is found which makes no sense for snapshots, IMHO. Therefore, the goal should automatically skip itself, when building a snapshot.

                
> Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHANGES-272
>                 URL: https://jira.codehaus.org/browse/MCHANGES-272
>             Project: Maven 2.x Changes Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.6
>            Reporter: Christian Schulte
>            Assignee: Benson Margulies
>            Priority: Trivial
>         Attachments: MCHANGES-272.patch
>
>
> The 'changes-check' goal treats snapshot versions the same way as release versions by removing the '-SNAPSHOT' suffix prior to checking the release date. Please add an option to the 'changes-check' goal to allow skipping snapshot versions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCHANGES-272) Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.

Posted by "Christian Schulte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCHANGES-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schulte updated MCHANGES-272:
---------------------------------------

    Attachment: MCHANGES-272.patch

Patch adding a  'skipSnapshots' parameter to the 'changes-check' goal.
                
> Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHANGES-272
>                 URL: https://jira.codehaus.org/browse/MCHANGES-272
>             Project: Maven 2.x Changes Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.6
>            Reporter: Christian Schulte
>            Priority: Trivial
>         Attachments: MCHANGES-272.patch
>
>
> The 'changes-check' goal treats snapshot versions the same way as release versions by removing the '-SNAPSHOT' suffix prior to checking the release date. Please add an option to the 'changes-check' goal to allow skipping snapshot versions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCHANGES-272) Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCHANGES-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297028#comment-297028 ] 

Benson Margulies commented on MCHANGES-272:
-------------------------------------------

What about timestamp snapshots? Those don't have -SNAPSHOT in their name anywhere.
                
> Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHANGES-272
>                 URL: https://jira.codehaus.org/browse/MCHANGES-272
>             Project: Maven 2.x Changes Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.6
>            Reporter: Christian Schulte
>            Assignee: Benson Margulies
>            Priority: Trivial
>         Attachments: MCHANGES-272.patch
>
>
> The 'changes-check' goal treats snapshot versions the same way as release versions by removing the '-SNAPSHOT' suffix prior to checking the release date. Please add an option to the 'changes-check' goal to allow skipping snapshot versions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCHANGES-272) Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCHANGES-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297061#comment-297061 ] 

Dennis Lundberg commented on MCHANGES-272:
------------------------------------------

The need for such an option indicates to me that you might not be using this goal the way it was intended. For me this goal is supposed to be used in a release profile or something similar, so that it is only run prior to a release being made.

What is your use case?
                
> Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHANGES-272
>                 URL: https://jira.codehaus.org/browse/MCHANGES-272
>             Project: Maven 2.x Changes Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.6
>            Reporter: Christian Schulte
>            Assignee: Benson Margulies
>            Priority: Trivial
>         Attachments: MCHANGES-272.patch
>
>
> The 'changes-check' goal treats snapshot versions the same way as release versions by removing the '-SNAPSHOT' suffix prior to checking the release date. Please add an option to the 'changes-check' goal to allow skipping snapshot versions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCHANGES-272) Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.

Posted by "Christian Schulte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCHANGES-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schulte updated MCHANGES-272:
---------------------------------------

    Attachment: MCHANGES-272.patch

Updated patch to use 'ArtifactUtils.isSnapshot'. I am not sure if method 'ReleaseUtils.getLatestRelease' also needs updating to support timestamp snapshot version.


                
> Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHANGES-272
>                 URL: https://jira.codehaus.org/browse/MCHANGES-272
>             Project: Maven 2.x Changes Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.6
>            Reporter: Christian Schulte
>            Assignee: Benson Margulies
>            Priority: Trivial
>         Attachments: MCHANGES-272.patch, MCHANGES-272.patch
>
>
> The 'changes-check' goal treats snapshot versions the same way as release versions by removing the '-SNAPSHOT' suffix prior to checking the release date. Please add an option to the 'changes-check' goal to allow skipping snapshot versions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCHANGES-272) Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCHANGES-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benson Margulies closed MCHANGES-272.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7

------------------------------------------------------------------------
r1329514 | bimargulies | 2012-04-23 20:39:20 -0400 (Mon, 23 Apr 2012) | 2 lines

[MCHANGES-272]: Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.

------------------------------------------------------------------------
                
> Please add an option to the 'changes-check' goal to allow skipping release date checks of snapshot versions.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHANGES-272
>                 URL: https://jira.codehaus.org/browse/MCHANGES-272
>             Project: Maven 2.x Changes Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.6
>            Reporter: Christian Schulte
>            Assignee: Benson Margulies
>            Priority: Trivial
>             Fix For: 2.7
>
>         Attachments: MCHANGES-272.patch, MCHANGES-272.patch
>
>
> The 'changes-check' goal treats snapshot versions the same way as release versions by removing the '-SNAPSHOT' suffix prior to checking the release date. Please add an option to the 'changes-check' goal to allow skipping snapshot versions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira