Jon Strayer a écrit :
On 5/21/07, Wayne Fay <[EMAIL PROTECTED]> wrote:

I'm not clear -- is this response not sufficient and you're asking for
more help, or do you have things working?

If you still need help, I'd suggest looking at example pom.xml files
for some open source projects to see how they have configured their
SCM. Here's a few links:
http://svn.plexus.codehaus.org/browse/plexus/trunk/pom.xml?r=1500
http://vmgump.apache.org/gump/public/jline/jline/gump_file/pom.xml.html
http://fisheye1.cenqua.com/browse/wsmo4j/ext/pom.xml?r=1.4

If you're having specific problems, tell us what you've done, what
specifically isn't working, what error messages you're receiving, etc.

Wayne


This is my scm section:
   <scm>
       <connection>
           scm:cvs:pserver:js6285:[EMAIL PROTECTED]:12310
:/appl/pkg1/cvs/reps/theteam/cvs:CSPCookieFilter
       </connection>
       <developerConnection>
           scm:cvs:pserver:js6285:[EMAIL PROTECTED]:12310
:/appl/pkg1/cvs/reps/theteam/cvs:CSPCookieFilter
       </developerConnection>
       <tag>HEAD</tag>
       <url></url>
   </scm>

This is the command I'm executing:
$ mvn -e  scm:update

This is the error message:

[ERROR] No CVS root is set. Check your <repository> information in the POM.
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR]

Do you use this command in a CVS working copy directory?



Nothing I've read says anything about cvsroot in the POM.

Slightly more interesting is that if I execute the same command with the
same POM in a directory where I've already checked out the code I get this
error:
[ERROR] Didn't find password for CVSROOT ':
pserver:[EMAIL PROTECTED]:12310/appl/pkg1/cvs/reps/theteam/cvs'.

The user ID in the error message is always the one I used to check out the
code, not the one in the POM (when they are different).  The password is in
the POM but it's not being used.  Also, there seems to be a colon missing
between the port number and the path to the repository.

colon isn't missing, it's the format used in .cvspass
how did you checked out your project?
What is the version of your scm plugin?

Emmanuel





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

Reply via email to