I'm assuming that there is a valid url already present and that the url
matches the same code as linked by the connection and developerConnection...
so all you need to do is get the common trailing part and update it to match
the changes to the connection and developerConnection urls

2009/5/5 Baptiste MATHUS <m...@batmat.net>

> I just discovered that subtag of scm :). Well, then yes. Although you'd
> have
> to provide some viewscm root url to start from.
>
> 2009/5/5 Stephen Connolly <stephen.alan.conno...@gmail.com>
>
> > You'd probably also want to update the url providing that it follows an
> > identified rule, since moste viewsvn equivalents follow a path rule in
> > their
> > uri, this should not be a big issue
> >
> > 2009/5/5 Baptiste MATHUS <m...@batmat.net>
> >
> > > Exactly. I don't want this new goal to try and commit anything. Just
> > > retrieve the "svn info" output from the working copy and update <scm>
> > > <connection> and <developerConnection> accordingly.
> > >
> > > I guess there could an option to update <connection>,
> > <developerConnection>
> > > or both with the retrieved value. For example, we always have the same
> > > value
> > > there.
> > >
> > > Cheers.
> > >
> > > 2009/5/5 Stephen Connolly <stephen.alan.conno...@gmail.com>
> > >
> > > > I think he wants to update the scm section in the pom to match what
> is
> > > > displayed from svn info
> > > >
> > > > 2009/5/5 Mark Struberg <strub...@yahoo.de>
> > > >
> > > > >
> > > > > Hi Baptiste!
> > > > >
> > > > > It isn't clear to me what you mean with 'update tag'.
> > > > >
> > > > > Do you like to re-tag in the SCM?
> > > > >
> > > > > LieGrue,
> > > > > strub
> > > > >
> > > > >
> > > > >
> > > > > ----- Ursprüngliche Mail ----
> > > > > > Von: Baptiste MATHUS <m...@batmat.net>
> > > > > > An: Maven Users List <users@maven.apache.org>
> > > > > > Gesendet: Dienstag, den 5. Mai 2009, 09:34:51 Uhr
> > > > > > Betreff: Re: Automagically update scm tag
> > > > > >
> > > > > > Well, not many answers. I guess I'll file an improvement request.
> I
> > > > think
> > > > > > I'm going to put it into the maven-scm-plugin tracker (
> > > > > > http://jira.codehaus.org/browse/SCM).
> > > > > > What do you think?
> > > > > >
> > > > > > Cheers.
> > > > > >
> > > > > > 2009/5/4 Baptiste MATHUS
> > > > > >
> > > > > > > Hi all,
> > > > > > >
> > > > > > > I'm looking for a simple a quick way to update my scm tags. I'm
> > > > > currently
> > > > > > > refactoring my projects, and I find it cumbersome to manually
> > > update
> > > > > ths scm
> > > > > > > tag to the new although the information is already present in
> the
> > > svn
> > > > > > > metadata.
> > > > > > >
> > > > > > > I took a quick look at scm:*** goals but can't find the one
> that
> > > fits
> > > > > my
> > > > > > > need corresponding (moreover I think this plugin is more
> designed
> > > to
> > > > be
> > > > > used
> > > > > > > as a dependency to front-end plugin, so there's not a lot
> > > > documentation
> > > > > for
> > > > > > > each goals :)).
> > > > > > >
> > > > > > > What I'd like is a goal that would retrieved the "svn info ."
> > > command
> > > > > > > output and update the <*connection> tags in the pom. Does this
> > goal
> > > > > > > already exist or should I file an improvement request about it?
> > > > > > >
> > > > > > > Thanks a lot.
> > > > > > >
> > > > > > > Cheers.
> > > > > > >
> > > > > > > --
> > > > > > > Baptiste MATHUS - http://batmat.net
> > > > > > > Sauvez un arbre,
> > > > > > > Mangez un castor !
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Baptiste MATHUS - http://batmat.net
> > > > > > Sauvez un arbre,
> > > > > > Mangez un castor !
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > > > > For additional commands, e-mail: users-h...@maven.apache.org
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Baptiste <Batmat> MATHUS - http://batmat.net
> > > Sauvez un arbre,
> > > Mangez un castor !
> > >
> >
>
>
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>

Reply via email to