Sri Sankaran wrote:

a) It assumes that only one person on a project (the one named
   in the <connection> element will generate the site.  The only
   alternative I know is to override the site plugin (i.e. write
   your own) and dynamically change the user info before invoking
   site:generate

That's not a big deal, you could always create a sp�cial cvs user decatided in the scm connection.


b) Users must *know* to run the 'cvs login' command first.  I have
   tried to preGoal with a call to the ant:cvspass task.  Even
   though this task executes correctly and a .cvspass file is
   created, changelog merrily ignores it.

There is the problem. After a look in the soucre of chanlog plugin, it appears that it use org.netbeans.lib.cvsclient to manage cvs connection. All requiered methodes to log with a password seems to be present, however I don't see how to modify the maven plugin to take a password parameter.


Do you know a way in java to access the "maven.cvs.password" value define in project.properties ?

Carl


Sri


-----Original Message-----
From: Carl [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 1:16 PM
To: [EMAIL PROTECTED]
Subject: password for CVS pserver ?

Hello,

I'm not sure it's the right place for this question, sorry if it's not.

I'm new in maven world and start to use it for a simple project. I used
to commit all my sources on a CVS server.

When maven try to generate activity report (file & developper) it fails
to connect to the cvs server because the cvs server need a password.
Here is the relevant part of my project.xml :

<repository>
<connection>scm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cvsroot:javaprojec
t</connection>
</repository>

I looked arround the maven site, the source of the changlog pluqin, but
havent found yet the solution.

Is there a way to specify such a passord (may be in project.properties
?) and how ?

Thanks for all reply,

Carl


--------------------------------------------------------------------- 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