You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jochen Wiedmann <jo...@gmail.com> on 2009/03/13 23:40:29 UTC

Problem in release:prepare

Hi,

I am trying to push a release of Apache RAT to the Nexus staging
repository, following the instructions from

    http://maven.apache.org/developers/release/releasing.html

The first steps, up and including release:clean are working well.
However, when I finally run release:prepare, then I receive the
following error message.

Any ideas what might be wrong? (Btw, Maven version is 2.0.10)

Thanks, Jochen



[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd /home/jwi/workspace/apache-rat-project
&& svn --non-interactive commit --file
/tmp/maven-scm-1143199004.commit --targets
/tmp/maven-scm-1258219989504464972-targets
[INFO] Working directory: /home/jwi/workspace/apache-rat-project
[INFO] Tagging release with the label apache-rat-project-0.6...
[INFO] Executing: /bin/sh -c cd /home/jwi/workspace/apache-rat-project
&& svn --non-interactive copy --file /tmp/maven-scm-697373102.commit .
https://svn.apache.org/repos/asf/incubator/rat/main/tags/apache-rat-project-0.6
[INFO] Working directory: /home/jwi/workspace/apache-rat-project
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: File '/repos/asf/incubator/rat/main/tags/apache-rat-project-0.6/apache-rat/pom.xml'
already exists


-- 
I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out
how to use my telephone.

    -- (Bjarne Stroustrup,
http://www.research.att.com/~bs/bs_faq.html#really-say-that
       My guess: Nokia E50)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem in release:prepare

Posted by Stephen Connolly <st...@gmail.com>.
it's a bug with subversion 1.5.1+ when using the neon transport  
against http or https repositories

if you use svn 1.4 you are fine

if you recompile your svn binaries to use the other transport for  
http / https you should be fine too

and the solution is just to run svn update and then mvn  
release:prepare release:perform will continue where it left off

Sent from my [rhymes with myPod] ;-)

On 13 Mar 2009, at 22:43, "Edelson, Justin"  
<Ju...@mtvstaff.com> wrote:

> This looks like http://jira.codehaus.org/browse/SCM-406. Run svn up  
> and
> rerun release:prepare.
>
> -----Original Message-----
> From: Jochen Wiedmann [mailto:jochen.wiedmann@gmail.com]
> Sent: Friday, March 13, 2009 6:40 PM
> To: Maven Users List
> Subject: Problem in release:prepare
>
> Hi,
>
> I am trying to push a release of Apache RAT to the Nexus staging
> repository, following the instructions from
>
>    http://maven.apache.org/developers/release/releasing.html
>
> The first steps, up and including release:clean are working well.
> However, when I finally run release:prepare, then I receive the
> following error message.
>
> Any ideas what might be wrong? (Btw, Maven version is 2.0.10)
>
> Thanks, Jochen
>
>
>
> [INFO] Checking in modified POMs...
> [INFO] Executing: /bin/sh -c cd /home/jwi/workspace/apache-rat-project
> && svn --non-interactive commit --file
> /tmp/maven-scm-1143199004.commit --targets
> /tmp/maven-scm-1258219989504464972-targets
> [INFO] Working directory: /home/jwi/workspace/apache-rat-project
> [INFO] Tagging release with the label apache-rat-project-0.6...
> [INFO] Executing: /bin/sh -c cd /home/jwi/workspace/apache-rat-project
> && svn --non-interactive copy --file /tmp/maven-scm-697373102.commit .
> https://svn.apache.org/repos/asf/incubator/rat/main/tags/apache-rat-proj
> ect-0.6
> [INFO] Working directory: /home/jwi/workspace/apache-rat-project
> [INFO]
> --- 
> ---------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> --- 
> ---------------------------------------------------------------------
> [INFO] Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: File
> '/repos/asf/incubator/rat/main/tags/apache-rat-project-0.6/apache- 
> rat/po
> m.xml'
> already exists
>
>
> --
> I have always wished for my computer to be as easy to use as my
> telephone; my wish has come true because I can no longer figure out  
> how
> to use my telephone.
>
>    -- (Bjarne Stroustrup,
> http://www.research.att.com/~bs/bs_faq.html#really-say-that
>       My guess: Nokia E50)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem in release:prepare

Posted by Stephen Connolly <st...@gmail.com>.
I have read reports that svn compiled with serf and not neon works with
tagging no problemo....

I'll have a shot at confirming this on monday

-Stephen

2009/3/14 Olivier Lamy <ol...@apache.org>

> Hi Folks,
> I have added some proposals here : http://jira.codehaus.org/browse/SCM-262
>
> Comments are welcome !
> Thanks,
> --
> Olivier
>
> 2009/3/14 Jochen Wiedmann <jo...@gmail.com>:
> > On Fri, Mar 13, 2009 at 11:43 PM, Edelson, Justin
> > <Ju...@mtvstaff.com> wrote:
> >
> >> This looks like http://jira.codehaus.org/browse/SCM-406. Run svn up and
> >> rerun release:prepare.
> >
> > Thanks for the hint, Justin!
> >
> >
> > --
> > I have always wished for my computer to be as easy to use as my
> > telephone; my wish has come true because I can no longer figure out
> > how to use my telephone.
> >
> >    -- (Bjarne Stroustrup,
> > http://www.research.att.com/~bs/bs_faq.html#really-say-that<http://www.research.att.com/%7Ebs/bs_faq.html#really-say-that>
> >       My guess: Nokia E50)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Problem in release:prepare

Posted by Olivier Lamy <ol...@apache.org>.
Hi,
The fix is deployed in last maven-release-plugin 2.0-beta-9-SNAPSHOT
As it's a really platform dependant issue, I'd like to have some tests
on various svn version / os.

To test it you have to use the apache snapshots repo :
https://repository.apache.org/content/groups/snapshots

And configuring release mojo as this :

<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>

As this fix very popular (a lot of votes) issues I hope to find some testers :-)

Thanks
--
Olivier


2009/3/14 Olivier Lamy <ol...@apache.org>:
> Hi Folks,
> I have added some proposals here : http://jira.codehaus.org/browse/SCM-262
>
> Comments are welcome !
> Thanks,
> --
> Olivier
>
> 2009/3/14 Jochen Wiedmann <jo...@gmail.com>:
>> On Fri, Mar 13, 2009 at 11:43 PM, Edelson, Justin
>> <Ju...@mtvstaff.com> wrote:
>>
>>> This looks like http://jira.codehaus.org/browse/SCM-406. Run svn up and
>>> rerun release:prepare.
>>
>> Thanks for the hint, Justin!
>>
>>
>> --
>> I have always wished for my computer to be as easy to use as my
>> telephone; my wish has come true because I can no longer figure out
>> how to use my telephone.
>>
>>    -- (Bjarne Stroustrup,
>> http://www.research.att.com/~bs/bs_faq.html#really-say-that
>>       My guess: Nokia E50)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem in release:prepare

Posted by Olivier Lamy <ol...@apache.org>.
Hi Folks,
I have added some proposals here : http://jira.codehaus.org/browse/SCM-262

Comments are welcome !
Thanks,
--
Olivier

2009/3/14 Jochen Wiedmann <jo...@gmail.com>:
> On Fri, Mar 13, 2009 at 11:43 PM, Edelson, Justin
> <Ju...@mtvstaff.com> wrote:
>
>> This looks like http://jira.codehaus.org/browse/SCM-406. Run svn up and
>> rerun release:prepare.
>
> Thanks for the hint, Justin!
>
>
> --
> I have always wished for my computer to be as easy to use as my
> telephone; my wish has come true because I can no longer figure out
> how to use my telephone.
>
>    -- (Bjarne Stroustrup,
> http://www.research.att.com/~bs/bs_faq.html#really-say-that
>       My guess: Nokia E50)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem in release:prepare

Posted by Jochen Wiedmann <jo...@gmail.com>.
On Fri, Mar 13, 2009 at 11:43 PM, Edelson, Justin
<Ju...@mtvstaff.com> wrote:

> This looks like http://jira.codehaus.org/browse/SCM-406. Run svn up and
> rerun release:prepare.

Thanks for the hint, Justin!


-- 
I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out
how to use my telephone.

    -- (Bjarne Stroustrup,
http://www.research.att.com/~bs/bs_faq.html#really-say-that
       My guess: Nokia E50)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Problem in release:prepare

Posted by "Edelson, Justin" <Ju...@mtvstaff.com>.
This looks like http://jira.codehaus.org/browse/SCM-406. Run svn up and
rerun release:prepare.  

-----Original Message-----
From: Jochen Wiedmann [mailto:jochen.wiedmann@gmail.com] 
Sent: Friday, March 13, 2009 6:40 PM
To: Maven Users List
Subject: Problem in release:prepare

Hi,

I am trying to push a release of Apache RAT to the Nexus staging
repository, following the instructions from

    http://maven.apache.org/developers/release/releasing.html

The first steps, up and including release:clean are working well.
However, when I finally run release:prepare, then I receive the
following error message.

Any ideas what might be wrong? (Btw, Maven version is 2.0.10)

Thanks, Jochen



[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd /home/jwi/workspace/apache-rat-project
&& svn --non-interactive commit --file
/tmp/maven-scm-1143199004.commit --targets
/tmp/maven-scm-1258219989504464972-targets
[INFO] Working directory: /home/jwi/workspace/apache-rat-project
[INFO] Tagging release with the label apache-rat-project-0.6...
[INFO] Executing: /bin/sh -c cd /home/jwi/workspace/apache-rat-project
&& svn --non-interactive copy --file /tmp/maven-scm-697373102.commit .
https://svn.apache.org/repos/asf/incubator/rat/main/tags/apache-rat-proj
ect-0.6
[INFO] Working directory: /home/jwi/workspace/apache-rat-project
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: File
'/repos/asf/incubator/rat/main/tags/apache-rat-project-0.6/apache-rat/po
m.xml'
already exists


--
I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out how
to use my telephone.

    -- (Bjarne Stroustrup,
http://www.research.att.com/~bs/bs_faq.html#really-say-that
       My guess: Nokia E50)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org