You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Vincent Massol <vm...@pivolis.com> on 2004/07/08 11:08:10 UTC

Pb with maven scm:prepare-release

Hi guys,

I'm trying (for the first time) to use the scm project to release a plugin,
following the instructions at
http://maven.apache.org/reference/developers/releasing-plugins.html

However, I just got a problem (see below). Any idea why I get those question
marks from the ant:cvs task?


C:\dev\maven-plugins\abbot>maven scm:prepare-release
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-final-SNAPSHOT

build:start:

scm:parse-connection:
    [echo] Using connection:
scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/abbot/
Using SCM method: cvs
Using CVSROOT: :pserver:anoncvs@cvs.apache.org:/home/cvspublic
Using module: maven-plugins/abbot/
Verifying no modifications are present

scm:validate:

scm:prepare-release:
scm:cvs-prepare-release:
    [move] Moving 1 files to C:\dev\maven-plugins\abbot
    [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
    [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
Massol\.cvspass
    [cvs] U xdocs/changes.xml
    [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
Massol\.cvspass
    [cvs] ? project.xml.SCM.temp
    [cvs] ? xdocs/changes.xml.SCM.temp
    [cvs] cvs [server aborted]: "tag" requires write access to the
repository
    [move] Moving 1 files to C:\dev\maven-plugins\abbot
    [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs

BUILD FAILED
File...... C:\Documents and Settings\Vincent
Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\plugin.jelly
Element... ant:fail
Line...... 310
Column.... 17
org.apache.commons.jelly.JellyTagException: C:\Documents and
Settings\Vincent Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\
plugin.jelly:303:9: &lt;ant:cvs&gt; cvs exited with error code 1
Command line was [Executing 'cvs' with arguments:
'-d:pserver:anoncvs@cvs.apache.org:/home/cvspublic'
'-n'
'-q'
'tag'
'-c'
'dummy_tag'

Thanks
-Vincent


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


Re: Pb with maven scm:prepare-release

Posted by Dion Gillard <di...@gmail.com>.
Check your connection:

On Thu, 8 Jul 2004 11:08:10 +0200, Vincent Massol <vm...@pivolis.com> wrote:
> Hi guys,
> 

> scm:parse-connection:
>     [echo] Using connection:
> scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/abbot/
> Using SCM method: cvs
> Using CVSROOT: :pserver:anoncvs@cvs.apache.org:/home/cvspublic
> Using module: maven-plugins/abbot/

Note the anoncvs above.


Some plugins have:
    <developerConnection>scm:cvs:ext:${maven.username}@cvs.apache.org:/home/cvs:maven-plugins/nsis/</developerConnection>

-- 
http://www.multitask.com.au/people/dion/

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


Re: Pb with maven scm:prepare-release

Posted by Brett Porter <br...@apache.org>.
Just a clarification: its not necessary to have a developer connection, but its
necessary that the connection used is not anonymous for tagging.

I don't know how you can check on this: the anonymous user is not specifically
anonymous, but rather a published, low permission user. On some installations it
is anonymous, some it is anoncvs, etc.

ie. if all you have is connection, and it is :ext:..., it still works. This is
how we have it for work.

For Maven, it makes sense to use connection for anon and developerConnection for
the ssh version. devConnection takes precendence in the SCM plugin.

We should probably have these named better in the future so it isn't so ambiguous.

Cheers,
Brett

Quoting Emmanuel Venisse <em...@venisse.net>:

> It's necessary to have a developerConnection tag in pom.
> 
> Emmanuel
> 
> ----- Original Message ----- 
> From: "Vincent Massol" <vm...@pivolis.com>
> To: "'Maven Developers List'" <de...@maven.apache.org>
> Sent: Thursday, July 08, 2004 11:13 AM
> Subject: RE: Pb with maven scm:prepare-release
> 
> 
> > It seems the problem is with:
> > 
> > cvs [server aborted]: "tag" requires write access to the repository
> > 
> > And as the cvs command is executed anonymously it's failing.
> > 
> > I'll have a look at the plugin code to see how it works
> > 
> > Thanks
> > -Vincent
> > 
> > > -----Original Message-----
> > > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > > Sent: jeudi 8 juillet 2004 11:08
> > > To: 'Maven Developers List'
> > > Subject: Pb with maven scm:prepare-release
> > > 
> > > Hi guys,
> > > 
> > > I'm trying (for the first time) to use the scm project to release a
> > > plugin,
> > > following the instructions at
> > > http://maven.apache.org/reference/developers/releasing-plugins.html
> > > 
> > > However, I just got a problem (see below). Any idea why I get those
> > > question
> > > marks from the ant:cvs task?
> > > 
> > > 
> > > C:\dev\maven-plugins\abbot>maven scm:prepare-release
> > >  __  __
> > > |  \/  |__ _Apache__ ___
> > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-final-SNAPSHOT
> > > 
> > > build:start:
> > > 
> > > scm:parse-connection:
> > >     [echo] Using connection:
> > > scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-
> > > plugins/abbot/
> > > Using SCM method: cvs
> > > Using CVSROOT: :pserver:anoncvs@cvs.apache.org:/home/cvspublic
> > > Using module: maven-plugins/abbot/
> > > Verifying no modifications are present
> > > 
> > > scm:validate:
> > > 
> > > scm:prepare-release:
> > > scm:cvs-prepare-release:
> > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot
> > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> > >     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> > > Massol\.cvspass
> > >     [cvs] U xdocs/changes.xml
> > >     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> > > Massol\.cvspass
> > >     [cvs] ? project.xml.SCM.temp
> > >     [cvs] ? xdocs/changes.xml.SCM.temp
> > >     [cvs] cvs [server aborted]: "tag" requires write access to the
> > > repository
> > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot
> > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> > > 
> > > BUILD FAILED
> > > File...... C:\Documents and Settings\Vincent
> > > Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\plugin.jelly
> > > Element... ant:fail
> > > Line...... 310
> > > Column.... 17
> > > org.apache.commons.jelly.JellyTagException: C:\Documents and
> > > Settings\Vincent Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\
> > > plugin.jelly:303:9: &lt;ant:cvs&gt; cvs exited with error code 1
> > > Command line was [Executing 'cvs' with arguments:
> > > '-d:pserver:anoncvs@cvs.apache.org:/home/cvspublic'
> > > '-n'
> > > '-q'
> > > 'tag'
> > > '-c'
> > > 'dummy_tag'
> > > 
> > > Thanks
> > > -Vincent
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 



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


Re: Pb with maven scm:prepare-release

Posted by Dion Gillard <di...@gmail.com>.
I'm not sure that we specify that connection MUST be read only anywhere....

On Thu, 8 Jul 2004 11:44:48 +0200, Vincent Massol <vm...@pivolis.com> wrote:
> I believe warning is not enough as it will always fail because it needs
> write access to create a tag
> 
> -Vincent
> 
> 
> 
> > -----Original Message-----
> > From: Dion Gillard [mailto:dion.gillard@gmail.com]
> > Sent: jeudi 8 juillet 2004 11:41
> > To: Maven Developers List
> > Subject: Re: Pb with maven scm:prepare-release
> >
> > Or at least warn you...
> >
> > On Thu, 8 Jul 2004 11:34:10 +0200, Vincent Massol <vm...@pivolis.com>
> > wrote:
> > > Thanks. It's working now.
> > >
> > > I guess the plugin should be improved to check for this and not default
> > to
> > > using the connection tag.
> > >
> > > -Vincent
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
> > > > Sent: jeudi 8 juillet 2004 11:33
> > > > To: Maven Developers List
> > > > Subject: Re: Pb with maven scm:prepare-release
> > > >
> > > > It's necessary to have a developerConnection tag in pom.
> > > >
> > > > Emmanuel
> > > >
> > > > ----- Original Message -----
> > > > From: "Vincent Massol" <vm...@pivolis.com>
> > > > To: "'Maven Developers List'" <de...@maven.apache.org>
> > > > Sent: Thursday, July 08, 2004 11:13 AM
> > > > Subject: RE: Pb with maven scm:prepare-release
> > > >
> > > >
> > > > > It seems the problem is with:
> > > > >
> > > > > cvs [server aborted]: "tag" requires write access to the repository
> > > > >
> > > > > And as the cvs command is executed anonymously it's failing.
> > > > >
> > > > > I'll have a look at the plugin code to see how it works
> > > > >
> > > > > Thanks
> > > > > -Vincent
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > > > > > Sent: jeudi 8 juillet 2004 11:08
> > > > > > To: 'Maven Developers List'
> > > > > > Subject: Pb with maven scm:prepare-release
> > > > > >
> > > > > > Hi guys,
> > > > > >
> > > > > > I'm trying (for the first time) to use the scm project to release
> > a
> > > > > > plugin,
> > > > > > following the instructions at
> > > > > > http://maven.apache.org/reference/developers/releasing-
> > plugins.html
> > > > > >
> > > > > > However, I just got a problem (see below). Any idea why I get
> > those
> > > > > > question
> > > > > > marks from the ant:cvs task?
> > > > > >
> > > > > >
> > > > > > C:\dev\maven-plugins\abbot>maven scm:prepare-release
> > > > > >  __  __
> > > > > > |  \/  |__ _Apache__ ___
> > > > > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > > > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-final-SNAPSHOT
> > > > > >
> > > > > > build:start:
> > > > > >
> > > > > > scm:parse-connection:
> > > > > >     [echo] Using connection:
> > > > > > scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-
> > > > > > plugins/abbot/
> > > > > > Using SCM method: cvs
> > > > > > Using CVSROOT: :pserver:anoncvs@cvs.apache.org:/home/cvspublic
> > > > > > Using module: maven-plugins/abbot/
> > > > > > Verifying no modifications are present
> > > > > >
> > > > > > scm:validate:
> > > > > >
> > > > > > scm:prepare-release:
> > > > > > scm:cvs-prepare-release:
> > > > > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot
> > > > > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> > > > > >     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> > > > > > Massol\.cvspass
> > > > > >     [cvs] U xdocs/changes.xml
> > > > > >     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> > > > > > Massol\.cvspass
> > > > > >     [cvs] ? project.xml.SCM.temp
> > > > > >     [cvs] ? xdocs/changes.xml.SCM.temp
> > > > > >     [cvs] cvs [server aborted]: "tag" requires write access to the
> > > > > > repository
> > > > > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot
> > > > > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> > > > > >
> > > > > > BUILD FAILED
> > > > > > File...... C:\Documents and Settings\Vincent
> > > > > > Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\plugin.jelly
> > > > > > Element... ant:fail
> > > > > > Line...... 310
> > > > > > Column.... 17
> > > > > > org.apache.commons.jelly.JellyTagException: C:\Documents and
> > > > > > Settings\Vincent Massol\.maven\cache\maven-scm-plugin-1.4.1-
> > SNAPSHOT\
> > > > > > plugin.jelly:303:9: &lt;ant:cvs&gt; cvs exited with error code 1
> > > > > > Command line was [Executing 'cvs' with arguments:
> > > > > > '-d:pserver:anoncvs@cvs.apache.org:/home/cvspublic'
> > > > > > '-n'
> > > > > > '-q'
> > > > > > 'tag'
> > > > > > '-c'
> > > > > > 'dummy_tag'
> > > > > >
> > > > > > Thanks
> > > > > > -Vincent
> > > > > >
> > > > > >
> > > > > > ------------------------------------------------------------------
> > ---
> > > > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > > >
> > > > >
> > > > >
> > > > > --------------------------------------------------------------------
> > -
> > > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > http://www.multitask.com.au/people/dion/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


-- 
http://www.multitask.com.au/people/dion/

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


RE: Pb with maven scm:prepare-release

Posted by Vincent Massol <vm...@pivolis.com>.
I believe warning is not enough as it will always fail because it needs
write access to create a tag

-Vincent

> -----Original Message-----
> From: Dion Gillard [mailto:dion.gillard@gmail.com]
> Sent: jeudi 8 juillet 2004 11:41
> To: Maven Developers List
> Subject: Re: Pb with maven scm:prepare-release
> 
> Or at least warn you...
> 
> On Thu, 8 Jul 2004 11:34:10 +0200, Vincent Massol <vm...@pivolis.com>
> wrote:
> > Thanks. It's working now.
> >
> > I guess the plugin should be improved to check for this and not default
> to
> > using the connection tag.
> >
> > -Vincent
> >
> >
> >
> > > -----Original Message-----
> > > From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
> > > Sent: jeudi 8 juillet 2004 11:33
> > > To: Maven Developers List
> > > Subject: Re: Pb with maven scm:prepare-release
> > >
> > > It's necessary to have a developerConnection tag in pom.
> > >
> > > Emmanuel
> > >
> > > ----- Original Message -----
> > > From: "Vincent Massol" <vm...@pivolis.com>
> > > To: "'Maven Developers List'" <de...@maven.apache.org>
> > > Sent: Thursday, July 08, 2004 11:13 AM
> > > Subject: RE: Pb with maven scm:prepare-release
> > >
> > >
> > > > It seems the problem is with:
> > > >
> > > > cvs [server aborted]: "tag" requires write access to the repository
> > > >
> > > > And as the cvs command is executed anonymously it's failing.
> > > >
> > > > I'll have a look at the plugin code to see how it works
> > > >
> > > > Thanks
> > > > -Vincent
> > > >
> > > > > -----Original Message-----
> > > > > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > > > > Sent: jeudi 8 juillet 2004 11:08
> > > > > To: 'Maven Developers List'
> > > > > Subject: Pb with maven scm:prepare-release
> > > > >
> > > > > Hi guys,
> > > > >
> > > > > I'm trying (for the first time) to use the scm project to release
> a
> > > > > plugin,
> > > > > following the instructions at
> > > > > http://maven.apache.org/reference/developers/releasing-
> plugins.html
> > > > >
> > > > > However, I just got a problem (see below). Any idea why I get
> those
> > > > > question
> > > > > marks from the ant:cvs task?
> > > > >
> > > > >
> > > > > C:\dev\maven-plugins\abbot>maven scm:prepare-release
> > > > >  __  __
> > > > > |  \/  |__ _Apache__ ___
> > > > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-final-SNAPSHOT
> > > > >
> > > > > build:start:
> > > > >
> > > > > scm:parse-connection:
> > > > >     [echo] Using connection:
> > > > > scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-
> > > > > plugins/abbot/
> > > > > Using SCM method: cvs
> > > > > Using CVSROOT: :pserver:anoncvs@cvs.apache.org:/home/cvspublic
> > > > > Using module: maven-plugins/abbot/
> > > > > Verifying no modifications are present
> > > > >
> > > > > scm:validate:
> > > > >
> > > > > scm:prepare-release:
> > > > > scm:cvs-prepare-release:
> > > > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot
> > > > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> > > > >     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> > > > > Massol\.cvspass
> > > > >     [cvs] U xdocs/changes.xml
> > > > >     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> > > > > Massol\.cvspass
> > > > >     [cvs] ? project.xml.SCM.temp
> > > > >     [cvs] ? xdocs/changes.xml.SCM.temp
> > > > >     [cvs] cvs [server aborted]: "tag" requires write access to the
> > > > > repository
> > > > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot
> > > > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> > > > >
> > > > > BUILD FAILED
> > > > > File...... C:\Documents and Settings\Vincent
> > > > > Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\plugin.jelly
> > > > > Element... ant:fail
> > > > > Line...... 310
> > > > > Column.... 17
> > > > > org.apache.commons.jelly.JellyTagException: C:\Documents and
> > > > > Settings\Vincent Massol\.maven\cache\maven-scm-plugin-1.4.1-
> SNAPSHOT\
> > > > > plugin.jelly:303:9: &lt;ant:cvs&gt; cvs exited with error code 1
> > > > > Command line was [Executing 'cvs' with arguments:
> > > > > '-d:pserver:anoncvs@cvs.apache.org:/home/cvspublic'
> > > > > '-n'
> > > > > '-q'
> > > > > 'tag'
> > > > > '-c'
> > > > > 'dummy_tag'
> > > > >
> > > > > Thanks
> > > > > -Vincent
> > > > >
> > > > >
> > > > > ------------------------------------------------------------------
> ---
> > > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > >
> > > >
> > > >
> > > > --------------------------------------------------------------------
> -
> > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
> 
> 
> --
> http://www.multitask.com.au/people/dion/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org



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


Re: Pb with maven scm:prepare-release

Posted by Dion Gillard <di...@gmail.com>.
Or at least warn you...

On Thu, 8 Jul 2004 11:34:10 +0200, Vincent Massol <vm...@pivolis.com> wrote:
> Thanks. It's working now.
> 
> I guess the plugin should be improved to check for this and not default to
> using the connection tag.
> 
> -Vincent
> 
> 
> 
> > -----Original Message-----
> > From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
> > Sent: jeudi 8 juillet 2004 11:33
> > To: Maven Developers List
> > Subject: Re: Pb with maven scm:prepare-release
> >
> > It's necessary to have a developerConnection tag in pom.
> >
> > Emmanuel
> >
> > ----- Original Message -----
> > From: "Vincent Massol" <vm...@pivolis.com>
> > To: "'Maven Developers List'" <de...@maven.apache.org>
> > Sent: Thursday, July 08, 2004 11:13 AM
> > Subject: RE: Pb with maven scm:prepare-release
> >
> >
> > > It seems the problem is with:
> > >
> > > cvs [server aborted]: "tag" requires write access to the repository
> > >
> > > And as the cvs command is executed anonymously it's failing.
> > >
> > > I'll have a look at the plugin code to see how it works
> > >
> > > Thanks
> > > -Vincent
> > >
> > > > -----Original Message-----
> > > > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > > > Sent: jeudi 8 juillet 2004 11:08
> > > > To: 'Maven Developers List'
> > > > Subject: Pb with maven scm:prepare-release
> > > >
> > > > Hi guys,
> > > >
> > > > I'm trying (for the first time) to use the scm project to release a
> > > > plugin,
> > > > following the instructions at
> > > > http://maven.apache.org/reference/developers/releasing-plugins.html
> > > >
> > > > However, I just got a problem (see below). Any idea why I get those
> > > > question
> > > > marks from the ant:cvs task?
> > > >
> > > >
> > > > C:\dev\maven-plugins\abbot>maven scm:prepare-release
> > > >  __  __
> > > > |  \/  |__ _Apache__ ___
> > > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-final-SNAPSHOT
> > > >
> > > > build:start:
> > > >
> > > > scm:parse-connection:
> > > >     [echo] Using connection:
> > > > scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-
> > > > plugins/abbot/
> > > > Using SCM method: cvs
> > > > Using CVSROOT: :pserver:anoncvs@cvs.apache.org:/home/cvspublic
> > > > Using module: maven-plugins/abbot/
> > > > Verifying no modifications are present
> > > >
> > > > scm:validate:
> > > >
> > > > scm:prepare-release:
> > > > scm:cvs-prepare-release:
> > > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot
> > > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> > > >     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> > > > Massol\.cvspass
> > > >     [cvs] U xdocs/changes.xml
> > > >     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> > > > Massol\.cvspass
> > > >     [cvs] ? project.xml.SCM.temp
> > > >     [cvs] ? xdocs/changes.xml.SCM.temp
> > > >     [cvs] cvs [server aborted]: "tag" requires write access to the
> > > > repository
> > > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot
> > > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> > > >
> > > > BUILD FAILED
> > > > File...... C:\Documents and Settings\Vincent
> > > > Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\plugin.jelly
> > > > Element... ant:fail
> > > > Line...... 310
> > > > Column.... 17
> > > > org.apache.commons.jelly.JellyTagException: C:\Documents and
> > > > Settings\Vincent Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\
> > > > plugin.jelly:303:9: &lt;ant:cvs&gt; cvs exited with error code 1
> > > > Command line was [Executing 'cvs' with arguments:
> > > > '-d:pserver:anoncvs@cvs.apache.org:/home/cvspublic'
> > > > '-n'
> > > > '-q'
> > > > 'tag'
> > > > '-c'
> > > > 'dummy_tag'
> > > >
> > > > Thanks
> > > > -Vincent
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


-- 
http://www.multitask.com.au/people/dion/

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


RE: Pb with maven scm:prepare-release

Posted by Vincent Massol <vm...@pivolis.com>.
Thanks. It's working now.

I guess the plugin should be improved to check for this and not default to
using the connection tag.

-Vincent

> -----Original Message-----
> From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
> Sent: jeudi 8 juillet 2004 11:33
> To: Maven Developers List
> Subject: Re: Pb with maven scm:prepare-release
> 
> It's necessary to have a developerConnection tag in pom.
> 
> Emmanuel
> 
> ----- Original Message -----
> From: "Vincent Massol" <vm...@pivolis.com>
> To: "'Maven Developers List'" <de...@maven.apache.org>
> Sent: Thursday, July 08, 2004 11:13 AM
> Subject: RE: Pb with maven scm:prepare-release
> 
> 
> > It seems the problem is with:
> >
> > cvs [server aborted]: "tag" requires write access to the repository
> >
> > And as the cvs command is executed anonymously it's failing.
> >
> > I'll have a look at the plugin code to see how it works
> >
> > Thanks
> > -Vincent
> >
> > > -----Original Message-----
> > > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > > Sent: jeudi 8 juillet 2004 11:08
> > > To: 'Maven Developers List'
> > > Subject: Pb with maven scm:prepare-release
> > >
> > > Hi guys,
> > >
> > > I'm trying (for the first time) to use the scm project to release a
> > > plugin,
> > > following the instructions at
> > > http://maven.apache.org/reference/developers/releasing-plugins.html
> > >
> > > However, I just got a problem (see below). Any idea why I get those
> > > question
> > > marks from the ant:cvs task?
> > >
> > >
> > > C:\dev\maven-plugins\abbot>maven scm:prepare-release
> > >  __  __
> > > |  \/  |__ _Apache__ ___
> > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-final-SNAPSHOT
> > >
> > > build:start:
> > >
> > > scm:parse-connection:
> > >     [echo] Using connection:
> > > scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-
> > > plugins/abbot/
> > > Using SCM method: cvs
> > > Using CVSROOT: :pserver:anoncvs@cvs.apache.org:/home/cvspublic
> > > Using module: maven-plugins/abbot/
> > > Verifying no modifications are present
> > >
> > > scm:validate:
> > >
> > > scm:prepare-release:
> > > scm:cvs-prepare-release:
> > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot
> > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> > >     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> > > Massol\.cvspass
> > >     [cvs] U xdocs/changes.xml
> > >     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> > > Massol\.cvspass
> > >     [cvs] ? project.xml.SCM.temp
> > >     [cvs] ? xdocs/changes.xml.SCM.temp
> > >     [cvs] cvs [server aborted]: "tag" requires write access to the
> > > repository
> > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot
> > >     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> > >
> > > BUILD FAILED
> > > File...... C:\Documents and Settings\Vincent
> > > Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\plugin.jelly
> > > Element... ant:fail
> > > Line...... 310
> > > Column.... 17
> > > org.apache.commons.jelly.JellyTagException: C:\Documents and
> > > Settings\Vincent Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\
> > > plugin.jelly:303:9: &lt;ant:cvs&gt; cvs exited with error code 1
> > > Command line was [Executing 'cvs' with arguments:
> > > '-d:pserver:anoncvs@cvs.apache.org:/home/cvspublic'
> > > '-n'
> > > '-q'
> > > 'tag'
> > > '-c'
> > > 'dummy_tag'
> > >
> > > Thanks
> > > -Vincent
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org



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


Re: Pb with maven scm:prepare-release

Posted by Emmanuel Venisse <em...@venisse.net>.
It's necessary to have a developerConnection tag in pom.

Emmanuel

----- Original Message ----- 
From: "Vincent Massol" <vm...@pivolis.com>
To: "'Maven Developers List'" <de...@maven.apache.org>
Sent: Thursday, July 08, 2004 11:13 AM
Subject: RE: Pb with maven scm:prepare-release


> It seems the problem is with:
> 
> cvs [server aborted]: "tag" requires write access to the repository
> 
> And as the cvs command is executed anonymously it's failing.
> 
> I'll have a look at the plugin code to see how it works
> 
> Thanks
> -Vincent
> 
> > -----Original Message-----
> > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > Sent: jeudi 8 juillet 2004 11:08
> > To: 'Maven Developers List'
> > Subject: Pb with maven scm:prepare-release
> > 
> > Hi guys,
> > 
> > I'm trying (for the first time) to use the scm project to release a
> > plugin,
> > following the instructions at
> > http://maven.apache.org/reference/developers/releasing-plugins.html
> > 
> > However, I just got a problem (see below). Any idea why I get those
> > question
> > marks from the ant:cvs task?
> > 
> > 
> > C:\dev\maven-plugins\abbot>maven scm:prepare-release
> >  __  __
> > |  \/  |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-final-SNAPSHOT
> > 
> > build:start:
> > 
> > scm:parse-connection:
> >     [echo] Using connection:
> > scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-
> > plugins/abbot/
> > Using SCM method: cvs
> > Using CVSROOT: :pserver:anoncvs@cvs.apache.org:/home/cvspublic
> > Using module: maven-plugins/abbot/
> > Verifying no modifications are present
> > 
> > scm:validate:
> > 
> > scm:prepare-release:
> > scm:cvs-prepare-release:
> >     [move] Moving 1 files to C:\dev\maven-plugins\abbot
> >     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> >     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> > Massol\.cvspass
> >     [cvs] U xdocs/changes.xml
> >     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> > Massol\.cvspass
> >     [cvs] ? project.xml.SCM.temp
> >     [cvs] ? xdocs/changes.xml.SCM.temp
> >     [cvs] cvs [server aborted]: "tag" requires write access to the
> > repository
> >     [move] Moving 1 files to C:\dev\maven-plugins\abbot
> >     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> > 
> > BUILD FAILED
> > File...... C:\Documents and Settings\Vincent
> > Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\plugin.jelly
> > Element... ant:fail
> > Line...... 310
> > Column.... 17
> > org.apache.commons.jelly.JellyTagException: C:\Documents and
> > Settings\Vincent Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\
> > plugin.jelly:303:9: &lt;ant:cvs&gt; cvs exited with error code 1
> > Command line was [Executing 'cvs' with arguments:
> > '-d:pserver:anoncvs@cvs.apache.org:/home/cvspublic'
> > '-n'
> > '-q'
> > 'tag'
> > '-c'
> > 'dummy_tag'
> > 
> > Thanks
> > -Vincent
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 

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


RE: Pb with maven scm:prepare-release

Posted by Vincent Massol <vm...@pivolis.com>.
It seems the problem is with:

cvs [server aborted]: "tag" requires write access to the repository

And as the cvs command is executed anonymously it's failing.

I'll have a look at the plugin code to see how it works

Thanks
-Vincent

> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com]
> Sent: jeudi 8 juillet 2004 11:08
> To: 'Maven Developers List'
> Subject: Pb with maven scm:prepare-release
> 
> Hi guys,
> 
> I'm trying (for the first time) to use the scm project to release a
> plugin,
> following the instructions at
> http://maven.apache.org/reference/developers/releasing-plugins.html
> 
> However, I just got a problem (see below). Any idea why I get those
> question
> marks from the ant:cvs task?
> 
> 
> C:\dev\maven-plugins\abbot>maven scm:prepare-release
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-final-SNAPSHOT
> 
> build:start:
> 
> scm:parse-connection:
>     [echo] Using connection:
> scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-
> plugins/abbot/
> Using SCM method: cvs
> Using CVSROOT: :pserver:anoncvs@cvs.apache.org:/home/cvspublic
> Using module: maven-plugins/abbot/
> Verifying no modifications are present
> 
> scm:validate:
> 
> scm:prepare-release:
> scm:cvs-prepare-release:
>     [move] Moving 1 files to C:\dev\maven-plugins\abbot
>     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
>     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> Massol\.cvspass
>     [cvs] U xdocs/changes.xml
>     [cvs] Using cvs passfile: C:\Documents and Settings\Vincent
> Massol\.cvspass
>     [cvs] ? project.xml.SCM.temp
>     [cvs] ? xdocs/changes.xml.SCM.temp
>     [cvs] cvs [server aborted]: "tag" requires write access to the
> repository
>     [move] Moving 1 files to C:\dev\maven-plugins\abbot
>     [move] Moving 1 files to C:\dev\maven-plugins\abbot\xdocs
> 
> BUILD FAILED
> File...... C:\Documents and Settings\Vincent
> Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\plugin.jelly
> Element... ant:fail
> Line...... 310
> Column.... 17
> org.apache.commons.jelly.JellyTagException: C:\Documents and
> Settings\Vincent Massol\.maven\cache\maven-scm-plugin-1.4.1-SNAPSHOT\
> plugin.jelly:303:9: &lt;ant:cvs&gt; cvs exited with error code 1
> Command line was [Executing 'cvs' with arguments:
> '-d:pserver:anoncvs@cvs.apache.org:/home/cvspublic'
> '-n'
> '-q'
> 'tag'
> '-c'
> 'dummy_tag'
> 
> Thanks
> -Vincent
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org



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