Issue Details (XML | Word | Printable)

Key: MRELEASE-427
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Olivier Lamy
Reporter: Olivier Lamy
Votes: 0
Watchers: 10
Operations

If you were logged in you would be able to see more operations.
Maven 2.x Release Plugin

Add a mojo parameter for using the new remote tagging for svn scm provider (to prevent issue with svn > 1.5.0)

Created: 16/Mar/09 07:23 PM   Updated: 01/Feb/10 11:30 AM   Resolved: 19/Mar/09 04:25 PM
Return to search
Component/s: scm
Affects Version/s: 2.0-beta-8
Fix Version/s: 2.0-beta-9

Time Tracking:
Not Specified

Environment: svn version > 1.5.0
Issue Links:
Related


 Description  « Hide

Due to an issue with svn > 1.5.0, release plugin doesn't work. The scm (1.2) implements a new remote tagging mechanism as a workaround.



Olivier Lamy made changes - 16/Mar/09 07:25 PM
Field Original Value New Value
Link This issue is related to SCM-406 [ SCM-406 ]
Olivier Lamy made changes - 16/Mar/09 07:25 PM
Link This issue is related to SCM-262 [ SCM-262 ]
Olivier Lamy made changes - 16/Mar/09 07:31 PM
Link This issue relates to MRELEASE-375 [ MRELEASE-375 ]
Olivier Lamy added a comment - 16/Mar/09 07:35 PM

fixed rev 755056

The mojo configuration is :

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0-beta-9-SNAPSHOT</version>
        <configuration>
          <remoteTagging>true</remoteTagging>
        </configuration>
      </plugin>

Or -DremoteTagging=true.


Olivier Lamy made changes - 16/Mar/09 07:35 PM
Assignee Olivier Lamy [ olamy ]
Resolution Fixed [ 1 ]
Fix Version/s 2.0-beta-9 [ 14682 ]
Status Open [ 1 ] Closed [ 6 ]
Benjamin Bentmann added a comment - 17/Mar/09 04:10 AM

One of Maven's goals is to support "convention over configuration". In this sense, wouldn't it be better if we made remoteTagging=true the default? I mean if the default configuration does simply not work reliably with Subversion > 1.5.0, what's the default good for then?


Olivier Lamy added a comment - 17/Mar/09 04:15 AM

this make sense. Others ?


Olivier Lamy added a comment - 17/Mar/09 08:36 AM

reopen to have comments on : true/false which one must be the default value ?


Clint Gilbert added a comment - 17/Mar/09 10:58 AM

Does remoteTagging=true work with Subversion 1.4.x? If so, remoteTagging=true should be the default,. since it works with all svn versions.


Olivier Lamy added a comment - 17/Mar/09 11:08 AM

yes it works with 1.4.x.
I have tested the following :

  • cygwin svn 1.4.6 and 1.5.1
  • solaris svn 1.4.6 and 1.5.4

Olivier Lamy made changes - 17/Mar/09 11:11 AM
Status Closed [ 6 ] Reopened [ 4 ]
Resolution Fixed [ 1 ]
Olivier Lamy added a comment - 19/Mar/09 04:25 PM

option true by default rev 756209


Olivier Lamy made changes - 19/Mar/09 04:25 PM
Resolution Fixed [ 1 ]
Status Reopened [ 4 ] Closed [ 6 ]
Pablo added a comment - 01/Apr/09 03:00 PM

I have the same problem when executing mvn release:branch.

It would be useful to add the -DremoteTagging argument also when making branches. Thank you.


Olivier Lamy added a comment - 01/Apr/09 03:10 PM

please create a new issue!


Ben Tatham made changes - 02/Apr/09 12:04 PM
Link This issue relates to MRELEASE-434 [ MRELEASE-434 ]
Wojtas Koziej made changes - 27/Apr/09 04:51 AM
Link This issue relates to MRELEASE-443 [ MRELEASE-443 ]
werner mueller added a comment - 01/Feb/10 11:29 AM

an issue related to branching was created: MRELEASE-514


werner mueller made changes - 01/Feb/10 11:30 AM
Link This issue relates to MRELEASE-514 [ MRELEASE-514 ]