maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Höller <mar...@xss.co.at>
Subject Re: Problems with release:prepare on the resolution of a dependency with "test" classifier
Date Thu, 29 Jan 2009 08:34:11 GMT
Sound's like a known issue:
http://jira.codehaus.org/browse/SCM-406

hth,
- martin

On Wednesday 28 January 2009 Thiago Moreira (timba) wrote:
>   Thank you Barrie! Now it is working fine BUT I'm getting a new error...
>
> [INFO] [release:prepare]
> [INFO] Resuming release from phase 'scm-tag'
> [INFO] Tagging release with the label floggy-1.2.0...
> [INFO] Executing: svn --non-interactive copy --file
> /tmp/maven-scm-200887962.commit .
> https://floggy.svn.sourceforge.net/svnroot/floggy/tags/floggy-1.2.0
> [INFO] Working directory:
> /home/tmoreira2020/projects/floggy/trunk-fr2536956 [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
> '/svnroot/floggy/tags/floggy-1.2.0/eclipse-floggy-feature/pom.xml'
> already exists
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 22 seconds
> [INFO] Finished at: Wed Jan 28 00:24:11 PST 2009
> [INFO] Final Memory: 9M/82M
> [INFO]
> ------------------------------------------------------------------------
>
>   That file don't exist! You can check the project structure here
> http://floggy.svn.sourceforge.net/viewvc/floggy/
>
>   Has anyone else experienced something like this??
>
>   Cheers
>
> On Tue, Jan 27, 2009 at 6:36 PM, Barrie Treloar <baerrach@gmail.com> 
wrote:
> > On Wed, Jan 28, 2009 at 4:34 AM, Thiago Moreira (timba)
> >
> > <tmoreira2020@gmail.com> wrote:
> > >  Ok, I took a look on the source code of the maven-release-plugin and
> >
> > there
> >
> > > is no way to set the preparationGoals from the command line!!!
> > >
> > >  The method mergeCommandLineConfig<
> >
> > http://maven.apache.org/plugins/maven-release-plugin/xref/org/apache/ma
> >ven/plugins/release/PrepareReleaseMojo.html#181
> >
> > >of
> > > the PrepareReleaseMojo class only merge the releaseVersions and
> > > developmentVersions properties.
> >
> > We have the same scenario that you have and we are using release fine.
> >
> > You may want to use
> >      <dependency>
> >        <groupId>MYGROUP</groupId>
> >        <artifactId>MYARTIFACT</artifactId>
> >        <version>MYVERSION</version>
> >        <type>test-jar</type>
> >        <scope>test</scope>
> >      </dependency>
> >
> > type = test-jar
> > instead of classifier = test.
> >
> > There are some wierd inconsistencies with this.
> >
> > Straight from our release page in our wiki:
> >  mvn release:prepare
> > -Dmaven.scm.provider.cvs.implementation=cvs_native
> > -DpreparationGoals=clean,install -Dusername=<CVS_userid>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org



Mime
View raw message