Re: Pb with maven scm:prepare-release

2004-07-08 Thread Brett Porter
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 <[EMAIL PROTECTED]>:

> It's necessary to have a developerConnection tag in pom.
> 
> Emmanuel
> 
> - Original Message - 
> From: "Vincent Massol" <[EMAIL PROTECTED]>
> To: "'Maven Developers List'" <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]
> > > 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:[EMAIL PROTECTED]:/home/cvspublic:maven-
> > > plugins/abbot/
> > > Using SCM method: cvs
> > > Using CVSROOT: :pserver:[EMAIL PROTECTED]:/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: <ant:cvs> cvs exited with error code 1
> > > Command line was [Executing 'cvs' with arguments:
> > > '-d:pserver:[EMAIL PROTECTED]:/home/cvspublic'
> > > '-n'
> > > '-q'
> > > 'tag'
> > > '-c'
> > > 'dummy_tag'
> > > 
> > > Thanks
> > > -Vincent
> > > 
> > > 
> > > -
> > > 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]



Re: Pb with maven scm:prepare-release

2004-07-08 Thread Dion Gillard
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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
> > 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 <[EMAIL PROTECTED]>
> > 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:[EMAIL PROTECTED]
> > > > 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" <[EMAIL PROTECTED]>
> > > > To: "'Maven Developers List'" <[EMAIL PROTECTED]>
> > > > 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:[EMAIL PROTECTED]
> > > > > > 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:[EMAIL PROTECTED]:/home/cvspublic:maven-
> > > > > > plugins/abbot/
> > > > > > Using SCM method: cvs
> > > > > > Using CVSROOT: :pserver:[EMAIL PROTECTED]:/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
> > > > >

RE: Pb with maven scm:prepare-release

2004-07-08 Thread Vincent Massol
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:[EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]
> > > 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" <[EMAIL PROTECTED]>
> > > To: "'Maven Developers List'" <[EMAIL PROTECTED]>
> > > 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:[EMAIL PROTECTED]
> > > > > 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:[EMAIL PROTECTED]:/home/cvspublic:maven-
> > > > > plugins/abbot/
> > > > > Using SCM method: cvs
> > > > > Using CVSROOT: :pserver:[EMAIL PROTECTED]:/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
> &g

Re: Pb with maven scm:prepare-release

2004-07-08 Thread Dion Gillard
Or at least warn you...

On Thu, 8 Jul 2004 11:34:10 +0200, Vincent Massol <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
> > 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" <[EMAIL PROTECTED]>
> > To: "'Maven Developers List'" <[EMAIL PROTECTED]>
> > 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:[EMAIL PROTECTED]
> > > > 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:[EMAIL PROTECTED]:/home/cvspublic:maven-
> > > > plugins/abbot/
> > > > Using SCM method: cvs
> > > > Using CVSROOT: :pserver:[EMAIL PROTECTED]:/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: <ant:cvs> cvs exited with error code 1
> > > > Command line was [Executing 'cvs' with arguments:
> > > > '-d:pserver:[EMAIL PROTECTED]:/home/cvspublic'
> > > > '-n'
> > > > '-q'
> > > > 'tag'
> > > > '-c'
> > > > 'dummy_tag'
> > > >
> > > > Thanks
> > > > -Vincent
> > > >
> > > >
> > > > -
> > > > 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]
> 
> 


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

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



RE: Pb with maven scm:prepare-release

2004-07-08 Thread Vincent Massol
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:[EMAIL PROTECTED]
> 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" <[EMAIL PROTECTED]>
> To: "'Maven Developers List'" <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]
> > > 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:[EMAIL PROTECTED]:/home/cvspublic:maven-
> > > plugins/abbot/
> > > Using SCM method: cvs
> > > Using CVSROOT: :pserver:[EMAIL PROTECTED]:/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: <ant:cvs> cvs exited with error code 1
> > > Command line was [Executing 'cvs' with arguments:
> > > '-d:pserver:[EMAIL PROTECTED]:/home/cvspublic'
> > > '-n'
> > > '-q'
> > > 'tag'
> > > '-c'
> > > 'dummy_tag'
> > >
> > > Thanks
> > > -Vincent
> > >
> > >
> > > -
> > > 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]



Re: Pb with maven scm:prepare-release

2004-07-08 Thread Emmanuel Venisse
It's necessary to have a developerConnection tag in pom.

Emmanuel

- Original Message - 
From: "Vincent Massol" <[EMAIL PROTECTED]>
To: "'Maven Developers List'" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
> > 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:[EMAIL PROTECTED]:/home/cvspublic:maven-
> > plugins/abbot/
> > Using SCM method: cvs
> > Using CVSROOT: :pserver:[EMAIL PROTECTED]:/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: <ant:cvs> cvs exited with error code 1
> > Command line was [Executing 'cvs' with arguments:
> > '-d:pserver:[EMAIL PROTECTED]:/home/cvspublic'
> > '-n'
> > '-q'
> > 'tag'
> > '-c'
> > 'dummy_tag'
> > 
> > Thanks
> > -Vincent
> > 
> > 
> > -
> > 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]



RE: Pb with maven scm:prepare-release

2004-07-08 Thread Vincent Massol
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:[EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]:/home/cvspublic:maven-
> plugins/abbot/
> Using SCM method: cvs
> Using CVSROOT: :pserver:[EMAIL PROTECTED]:/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:  cvs exited with error code 1
> Command line was [Executing 'cvs' with arguments:
> '-d:pserver:[EMAIL PROTECTED]:/home/cvspublic'
> '-n'
> '-q'
> 'tag'
> '-c'
> 'dummy_tag'
> 
> Thanks
> -Vincent
> 
> 
> -
> 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]



Re: Pb with maven scm:prepare-release

2004-07-08 Thread Dion Gillard
Check your connection:

On Thu, 8 Jul 2004 11:08:10 +0200, Vincent Massol <[EMAIL PROTECTED]> wrote:
> Hi guys,
> 

> scm:parse-connection:
> [echo] Using connection:
> scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:maven-plugins/abbot/
> Using SCM method: cvs
> Using CVSROOT: :pserver:[EMAIL PROTECTED]:/home/cvspublic
> Using module: maven-plugins/abbot/

Note the anoncvs above.


Some plugins have:
scm:cvs:ext:[EMAIL 
PROTECTED]:/home/cvs:maven-plugins/nsis/

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

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