Sri Sankaran wrote:

<snip/>

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.


For some reason, when you step through the execution in a debugger, the AbstractChangeLogGenerator's getEntries() method is getting invoked and not the overridden version in CvsChangeLogGenerator. Puzzling. Anyway I haven't fussed with it too much.


That's strange !



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


Don't know. What is it used for? Can you not just set it on the command line?

It seems that many maven plugins use the contents of project.properties, so my idea was to add a new variable in this file, and modify the changelog plugin to use it. But I don't know how to access the variable.


Carl


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



Reply via email to