• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mvn release:prepare with CVS extssh

 
Salomo Petrus
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody know how to get extssh to work with the maven release:prepare plug-in.

If I use a developersConnection like this:


It tries to execute the following command:


The plug-in throws the following exception:
org.netbeans.lib.cvsclient.connection.AuthenticationException:
Failed to execute: /bin/ssh username@server cvs server

When I try to with the option -Dmaven.scm.provider.cvs.implementation=cvs_native

Maven hangs here:


Anyone have an idea how to fix this?

Thanks in advance.

Cheers
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17646
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Funny you should ask. I spent most of yesterday learning how to use this feature. Unfortunately, the archive I was using was subversion-based.

There are 2 things you might look at, though:

1. Instead of "ssh", try "extssh" in the scm URL.

2. I'm not sure that "web/cvs/:module" is valid. Shouldn't it just be "/web/cvs/module"?
 
Salomo Petrus
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your lucky.. subversion is much easier to configure.

I now got the authentication to work but now it cannot commit the changed POM file

Now I get this:


If you put extssh which I tried before Maven starts complaining that it's not supported.

The Maven documentation states that the format should be like this:


Anyone a clue how to fix this problem?

 
Tim Holloway
Saloon Keeper
Pie
Posts: 17646
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The message you're getting indicates that you're successfully connecting to the CVS server.

However it doesn't look like the directory /web/cvs on that machine is a CVS archive. There should be a /web/cvs/CVSROOT directory on that machine. If there is, make sure that the userID you're connecting with has read/write writes to both that directory and the /web/cvs directory.
 
Salomo Petrus
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I use my own developer account which is already able to checkout and commit to the CVS repository so I don't think that could be the issue.

The directory excists and I double checked the permissions and everyhting seems to be ok.

Do you have any other idea why this is happening?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic