sonatype/m2eclipse-cvs — Issue #2: Materialize without username in scm connection fails
Author: fjakop
Created: 2011-10-13 11:42:13+00:00
State: open

We are using maven with eclipse integration m2e and connector m2e-cvs. Since we also use the maven-release-plugin we are forced to set scm urls like this in our poms:

scm:cvs:pserver:@cvsserver:/cvs/root/dir:module

This is, because our CVS-server authenticates our users and the maven-scm-plugin is able to replace the @-sign with the current logged in username to "user@"

Now when we try to materialize a dependency in eclipse by opening the node "Maven Dependencies", right click on the jar and choose"Maven"-> "Import Project(s)from SCM" the checkout fails, displaying the input box for username and password with the username field disabled and empty, so there's no chance to enter the username.

So what here should happen in my opinion, if there's no username but an @-sign in the connection string, ist should be replaced with the current user.

I will try to create a patch or fork the project.

Regards

Frank