Ok, I added a new patch with an unlock mojo.

Stephen Connolly wrote:
I was thinking more for the use case where you'd modified your pom.xml otherwise so a straightforward svn revert would roll back those changes too...

But there's also the case where people commit accidentally

-Stephen

2009/3/23 Paul Gier <[email protected] <mailto:[email protected]>>

    I don't have an unlock goal, but I could certainly add one.  I was
    imagining just locking locally without committing and using an svn
    revert for unlocking, but a goal for that would be good.

    Stephen Connolly wrote:

        I'll have a look... still not done refactoring ;-)

        Did you include an un-lock goal...

        I'm thinking (without looking at your patch) that there would be
        two goals:

        lock-snapshots
        unlock-snapshots

        lock tries to lock all the -SNAPSHOT versions replacing them
        with -yyyymmdd.hhmmss from the repo

        unlock finds all -\d\d\d\d\d\d\d\d.\d\d\d\d\d\d versions and
        replaces them with -SNAPSHOT

        (Note the names do not have to be lock and unlock... these are
        just the names I think of them as)

        If you have the lock and unlock functionality, I'll have a look
        at applying the patch

        -Stephen

        2009/3/23 Paul Gier <[email protected] <mailto:[email protected]>
        <mailto:[email protected] <mailto:[email protected]>>>


           Hey Stephen,
           I attached a patch to MVERSIONS-21 that is written against your
           refactored code.  Your changes made the job much easier ;)
           Can this change go into 1.0-alpha-3?

           Thanks!


           Paul Gier wrote:

               Sure, I will wait until you are finished before
        committing any
               changes.

               Stephen Connolly wrote:

                   can you hold off while i'm refactoring the plugin on

https://svn.codehaus.org/mojo/branches/stephenconnolly/versions-maven-plugin


                   2009/3/11 Paul Gier <[email protected]
        <mailto:[email protected]>
                   <mailto:[email protected] <mailto:[email protected]>>
        <mailto:[email protected] <mailto:[email protected]>

                   <mailto:[email protected] <mailto:[email protected]>>>>


                      I'd like to add a new goal to the versions maven
        plugin
                   for setting
                      snapshot dependencies to their timestamp versions when
                   available [1].
                      If there are no objections I'll try to get this in
        before the
                      1.0-alpha-3 release.

                      Just let me know if there is a different/better way to
                   accomplish this.

                      Thanks!

                      [1] http://jira.codehaus.org/browse/MVERSIONS-21

---------------------------------------------------------------------
                      To unsubscribe from this list, please visit:

                        http://xircles.codehaus.org/manage_email





---------------------------------------------------------------------
               To unsubscribe from this list, please visit:

                 http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
           To unsubscribe from this list, please visit:

             http://xircles.codehaus.org/manage_email





    ---------------------------------------------------------------------
    To unsubscribe from this list, please visit:

      http://xircles.codehaus.org/manage_email





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to