directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: [Studio] Using the Maven Release Plugin
Date Fri, 19 Sep 2008 13:37:55 GMT
Pierre-Arnaud Marcelot schrieb:
> On Fri, Sep 19, 2008 at 2:11 PM, Felix Knecht <felixk@apache.org
> <mailto:felixk@apache.org>> wrote:
>
>     - Change the default preparationGoals to 'clean install verify' (see
>     http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html)
>
>
> It worked. The build is now successful.
>
Big thanks :-)

> However, I still got an error when doing the tag...
> =====================================================
> [INFO] Executing: svn --non-interactive commit --file
> /tmp/maven-scm-1581641791.commit --targets /tmp/maven-scm-61222-targets
> [INFO] Working directory:
> /Users/pajbam/Development/Apache/studio-release-testing/trunk
> [INFO] Tagging release with the label parent-1.3.0...
> [INFO] Executing: svn --non-interactive copy --file
> /tmp/maven-scm-760076483.commit .
> https://svn.iktek.com/repos/iktek_corp/studio-release-testing/tags/parent-1.3.0
> [INFO] Working directory:
> /Users/pajbam/Development/Apache/studio-release-testing/trunk
> [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/iktek_corp/studio-release-testing/tags/parent-1.3.0/aciitemeditor/pom.xml'
> already exists
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7 minutes 35 seconds
> [INFO] Finished at: Fri Sep 19 15:20:16 CEST 2008
> [INFO] Final Memory: 26M/46M
> [INFO]
> ------------------------------------------------------------------------
> =====================================================
>
> But I've found that this error is related to SVN 1.5.1 on Mac OS X.
> I'll update to 1.5.2 and keep you posted.

Not sure if it's a Mac OS X problem - I had it also on linux. mvn
release:rollback will rollback the versioning in your poms but won't
delete the svn tag it has created in the repository. I had to delete it
manually before running mvn release... again. It's something like svn
del https://boo/bar/yourproject/tags/{tag} when using via https.
>
> I think it's in a good way... ;)
>
> Regards,
> Pierre-Arnaud
>


Mime
View raw message