Ah, sorry for the confusion.

nulike the connections, tagBase is just the SVN URL (omit scm:svn) as
it is an SVN specific property.

- Brett

On 11/8/05, Trent Rosenbaum <[EMAIL PROTECTED]> wrote:
> This is the feedback I got from running mvn release:prepare
>
> [INFO] [release:prepare]
> [INFO] What tag name should be used?
> 0.1.2
> [INFO] Tagging release with the label 0.1.2.
> Provider message:
> The svn tag command failed.
> Command output:
> svn: Error resolving case of 
> 'scm:svn:file:\d:\subversion-1.2.0_data\repositorie
> s\my_repo\bug-control-model\tags\0.1.2'
>
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [ERROR] BUILD ERROR
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] An error is occurred in the tag process.
>
>
> The URL for the tagBase is identical to the URL supplied within the
> developerConnection element but "tags" replaces "trunk".
>
> Trent
>
>
> On 08/11/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> > The bug is for the default of ../tags when used instead of a tagbase
> > as you have, so it is different.
> >
> > Above that exception, there should have been output from the svn
> > command. Does that reveal anything?
> >
> > - Brett
> >
> > On 11/8/05, Trent Rosenbaum <[EMAIL PROTECTED]> wrote:
> > > I did not have this pom.xml checked  into SVN and so it was trying to
> > > work with the previous revision of my file and this did not have a SCM
> > > URL defined.  I have been able to get the plugin to prompt me for
> > > input regarding the tags, but I am falling over in the tagging process
> > > with the following exception:
> > >
> > > Is this the same exception that has lead to the creation of the
> > > following issue in jira?
> > >
> > > http://jira.codehaus.org/browse/MNG-883
> > >
> > >
> > > org.apache.maven.lifecycle.LifecycleExecutionException: An error is 
> > > occurred in
> > > the tag process.
> > >
> > > Caused by: org.apache.maven.plugin.MojoExecutionException: An error is 
> > > occurred
> > > in the tag process.
> > >         at 
> > > org.apache.maven.plugins.release.PrepareReleaseMojo.tagRelease(Prepar
> > > eReleaseMojo.java:1414)
> > >         at 
> > > org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareRe
> > > leaseMojo.java:246)
> > >
> > >
> > > thanks for taking to time to look into this.
> > > Trent
> > >
> > > On 07/11/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> > > > I thought I had used windows paths in the SCM URL before without
> > > > issues, but its worth trying:
> > > >
> > > > scm|svn|file:///d:/subversion...
> > > >
> > > > hth,
> > > > Brett
> > > >
> > > > On 11/8/05, Trent Rosenbaum <[EMAIL PROTECTED]> wrote:
> > > > > This is the SCM URL for the project:
> > > > >
> > > > > <scm>
> > > > > <developerConnection>scm:svn:file:///D:/subversion-1.2.0_data/repositories/my_repo/bug-control-model/trunk</developerConnection>
> > > > > </scm>
> > > > >
> > > > > and the plugin is configured with the following tagbase element:
> > > > >
> > > > > <plugin>
> > > > > <groupId>org.apache.maven.plugins</groupId>
> > > > > <artifactId>maven-release-plugin</artifactId>
> > > > > <version>2.0-beta-3</version>
> > > > > <configuration>
> > > > > <tagBase>scm:svn:file:///D:/subversion-1.2.0_data/repositories/my_repo/bug-control-model/tags</tagBase>
> > > > > </configuration>
> > > > > </plugin>
> > > > >
> > > > >
> > > > > On 07/11/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> > > > > > They both use the same library - so the release plugin is for
> > > > > > automating release related tasks, the scm plugin for development
> > > > > > related tasks.
> > > > > >
> > > > > > Can you please repost the full SCM URL that gave you this error -
> > > > > > there is still something wrong with it.
> > > > > >
> > > > > > - Brett
> > > > > >
> > > > > > On 11/8/05, Trent Rosenbaum <[EMAIL PROTECTED]> wrote:
> > > > > > > Thanks for the reply.
> > > > > > > When I started to use the plugin I was prefixing the URLs with
> > > > > > > "scm:svn", but then I still had a problem so thought about 
> > > > > > > exploring
> > > > > > > and that is why I asked about setting the scm provider in a 
> > > > > > > different
> > > > > > > manner.  I have again used these prefixes and I still get a 
> > > > > > > problem.
> > > > > > > Maven gave me the follow stacktrace below.  I am using 2.0-beta-3 
> > > > > > > of the plugin.
> > > > > > >
> > > > > > > During my reading of the site I noticed that both the scm and the
> > > > > > > release plugin are similar.  Is it right to think that the 
> > > > > > > maven-scm
> > > > > > > plugin is planned to allow developers to aquire a project without 
> > > > > > > a
> > > > > > > pom.xml and then to complete the every day version control tasks?
> > > > > > > With this in mind is it best to view the maven-release plugin as a
> > > > > > > component that should be used to release code for a repository 
> > > > > > > instead
> > > > > > > of completing a checkout/checkin, copy etc manually?  I just want 
> > > > > > > to
> > > > > > > know the thoughts behind each plugin.
> > > > > > >
> > > > > > > ----- Maven output -----
> > > > > > >
> > > > > > > [ERROR] BUILD ERROR
> > > > > > > [INFO] ----------------------------------------------------
> > > > > > > ---
> > > > > > > [INFO] An error is occurred in the status process.
> > > > > > >
> > > > > > > Embedded error: Can't load the scm provider.
> > > > > > > The scm url is invalid.
> > > > > > >
> > > > > > > ----- stack trace ------
> > > > > > >
> > > > > > > Caused by: org.apache.maven.scm.ScmException: Can't load the scm 
> > > > > > > provider.
> > > > > > >         at 
> > > > > > > org.apache.maven.plugins.release.helpers.ScmHelper.getScmRepository(S
> > > > > > > cmHelper.java:104)
> > > > > > >         at 
> > > > > > > org.apache.maven.plugins.release.helpers.ScmHelper.getStatus(ScmHelpe
> > > > > > > r.java:169)
> > > > > > >         at 
> > > > > > > org.apache.maven.plugins.release.PrepareReleaseMojo.checkForLocalModi
> > > > > > > fications(PrepareReleaseMojo.java:510)
> > > > > > >         ... 19 more
> > > > > > > Caused by: 
> > > > > > > org.apache.maven.scm.repository.ScmRepositoryException: The scm 
> > > > > > > url i
> > > > > > > s invalid.
> > > > > > >         at 
> > > > > > > org.apache.maven.scm.provider.svn.SvnScmProvider.makeProviderScmRepos
> > > > > > > itory(SvnScmProvider.java:84)
> > > > > > >         at 
> > > > > > > org.apache.maven.scm.manager.plexus.DefaultScmManager.makeScmReposito
> > > > > > > ry(DefaultScmManager.java:126)
> > > > > > >         at 
> > > > > > > org.apache.maven.plugins.release.helpers.ScmHelper.getScmRepository(S
> > > > > > > cmHelper.java:82)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 07/11/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> > > > > > > > Your SCM URL should start:
> > > > > > > >
> > > > > > > > scm:svn:file://...
> > > > > > > >
> > > > > > > > Maven has no knowledge of the SVN protocols, just the scm type 
> > > > > > > > given
> > > > > > > > in the second argument above.
> > > > > > > >
> > > > > > > > - Brett
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to