I'm happy to hear that. :)
You had to use the workaround to get it right?
I dug a little more and found this issue [1] fixed in version 2.0-beta-9.
Looks like this configuration should fix the issue and should require the
use of a workaround:
<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>
This is something we may have to test in a next release.
Regards,
Pierre-Arnaud
[1] - http://jira.codehaus.org/browse/MRELEASE-427
On Mon, Mar 30, 2009 at 10:01 PM, Felix Knecht <[email protected]> wrote:
> Pierre-Arnaud Marcelot schrieb:
> > More information here [1].
> >
> > Here's the workaround I used:
> >
> > # mvn release:prepare
> > => fails
> > # svn up -r head
> > # mvn release:prepare -Dresume
>
> Much thanks!
> It's working now :-)
>
> Felix
>
> >
> > Regards,
> > Pierre-Arnaud
> >
> > [1] - http://jira.codehaus.org/browse/SCM-406
> >
> > On Mon, Mar 30, 2009 at 9:55 PM, Pierre-Arnaud Marcelot <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> > Hi Felix,
> >
> > As far as I remember, I had the same issue when releasing Studio a
> > while back.
> >
> > I think that was an issue with maven and the svn command in
> > "non-interactive" mode.
> >
> > The workaround was to run, once again, the command after the command.
> >
> > Hope this helps,
> > Pierre-Arnaud
> >
> >
> > On Mon, Mar 30, 2009 at 8:36 PM, Felix Knecht <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> > But I'm sure, this tag does not exists ...
> >
> >
> > [INFO] Executing: /bin/sh -c cd
> > /svn/apache/directory/skins/trunk && svn --non-interactive copy
> > --file
> > /tmp/maven-scm-1572231756.commit .
> >
> https://svn.apache.org/repos/asf/directory/skins/tags/directory-parent-skin-1.0.0
> > [INFO] Working directory: /svn/apache/directory/skins/trunk
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Unable to tag SCM
> > Provider message:
> > The svn tag command failed.
> > Command output:
> > svn: Übertragen schlug fehl (Details folgen):
> > svn: Datei
> >
> »/repos/asf/directory/skins/tags/directory-parent-skin-1.0.0/apacheds-skin/pom.xml«
> > existiert bereits
> >
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> >
> >
> >
> > [email protected] <mailto:[email protected]> schrieb:
> > > Author: felixk
> > > Date: Mon Mar 30 18:34:00 2009
> > > New Revision: 760096
> > >
> > > URL: http://svn.apache.org/viewvc?rev=760096&view=rev
> > <http://svn.apache.org/viewvc?rev=760096&view=rev>
> > > Log:
> > > [maven-release-plugin] rollback the release of
> > directory-parent-skin-1.0.0
> > >
> > > Modified:
> > > directory/skins/trunk/apacheds-skin/pom.xml
> > > directory/skins/trunk/pom.xml
> > > directory/skins/trunk/studio-skin/pom.xml
> > > directory/skins/trunk/triplesec-skin/pom.xml
> > >
> > > Modified: directory/skins/trunk/apacheds-skin/pom.xml
> > > URL:
> >
> http://svn.apache.org/viewvc/directory/skins/trunk/apacheds-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
> > <
> http://svn.apache.org/viewvc/directory/skins/trunk/apacheds-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
> >
> > >
> >
> ==============================================================================
> > > --- directory/skins/trunk/apacheds-skin/pom.xml (original)
> > > +++ directory/skins/trunk/apacheds-skin/pom.xml Mon Mar 30
> > 18:34:00 2009
> > > @@ -25,7 +25,7 @@
> > > <parent>
> > > <groupId>org.apache.directory.skins</groupId>
> > > <artifactId>directory-parent-skin</artifactId>
> > > - <version>1.0.0</version>
> > > + <version>1.0.0-SNAPSHOT</version>
> > > </parent>
> > >
> > > <artifactId>directory-skin</artifactId>
> > >
> > > Modified: directory/skins/trunk/pom.xml
> > > URL:
> >
> http://svn.apache.org/viewvc/directory/skins/trunk/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
> > <
> http://svn.apache.org/viewvc/directory/skins/trunk/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
> >
> > >
> >
> ==============================================================================
> > > --- directory/skins/trunk/pom.xml (original)
> > > +++ directory/skins/trunk/pom.xml Mon Mar 30 18:34:00 2009
> > > @@ -30,7 +30,7 @@
> > >
> > > <groupId>org.apache.directory.skins</groupId>
> > > <artifactId>directory-parent-skin</artifactId>
> > > - <version>1.0.0</version>
> > > + <version>1.0.0-SNAPSHOT</version>
> > > <name>Directory Skins</name>
> > > <packaging>pom</packaging>
> > > <description>Apache Directory Skins used by maven site
> > generation for the directory projects.</description>
> > > @@ -59,9 +59,9 @@
> > > </modules>
> > >
> > > <scm>
> > > -
> > <connection>scm:svn:
> http://svn.apache.org/repos/asf/directory/skins/tags/directory-parent-skin-1.0.0
> </connection>
> > > -
> > <developerConnection>scm:svn:
> https://svn.apache.org/repos/asf/directory/skins/tags/directory-parent-skin-1.0.0
> </developerConnection>
> > > -
> > <url>
> http://svn.apache.org/viewvc/directory/skins/tags/directory-parent-skin-1.0.0
> </url>
> > > +
> > <connection>scm:svn:
> http://svn.apache.org/repos/asf/directory/skins/trunk</connection>
> > > +
> > <developerConnection>scm:svn:
> https://svn.apache.org/repos/asf/directory/skins/trunk
> </developerConnection>
> > > + <url>http://svn.apache.org/viewvc/directory/skins/trunk
> </url>
> > > </scm>
> > >
> > > </project>
> > >
> > > Modified: directory/skins/trunk/studio-skin/pom.xml
> > > URL:
> >
> http://svn.apache.org/viewvc/directory/skins/trunk/studio-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
> > <
> http://svn.apache.org/viewvc/directory/skins/trunk/studio-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
> >
> > >
> >
> ==============================================================================
> > > --- directory/skins/trunk/studio-skin/pom.xml (original)
> > > +++ directory/skins/trunk/studio-skin/pom.xml Mon Mar 30
> > 18:34:00 2009
> > > @@ -25,7 +25,7 @@
> > > <parent>
> > > <groupId>org.apache.directory.skins</groupId>
> > > <artifactId>directory-parent-skin</artifactId>
> > > - <version>1.0.0</version>
> > > + <version>1.0.0-SNAPSHOT</version>
> > > </parent>
> > >
> > > <artifactId>directory-studio-skin</artifactId>
> > >
> > > Modified: directory/skins/trunk/triplesec-skin/pom.xml
> > > URL:
> >
> http://svn.apache.org/viewvc/directory/skins/trunk/triplesec-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
> > <
> http://svn.apache.org/viewvc/directory/skins/trunk/triplesec-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
> >
> > >
> >
> ==============================================================================
> > > --- directory/skins/trunk/triplesec-skin/pom.xml (original)
> > > +++ directory/skins/trunk/triplesec-skin/pom.xml Mon Mar 30
> > 18:34:00 2009
> > > @@ -25,7 +25,7 @@
> > > <parent>
> > > <groupId>org.apache.directory.skins</groupId>
> > > <artifactId>directory-parent-skin</artifactId>
> > > - <version>1.0.0</version>
> > > + <version>1.0.0-SNAPSHOT</version>
> > > </parent>
> > >
> > > <artifactId>directory-triplesec-skin</artifactId>
> > >
> > >
> >
> >
> >
>
>