You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jiangshachina <ji...@gmail.com> on 2006/11/19 12:23:23 UTC

Why don't need maven-scm-plugin and password?

Hi guys,
I set scm(CVS) connection in pom.xml
<scm>
	<connection>
		scm:cvs:pserver:myuser@server:port:repository:module
	</connection>
</scm>
then I run mvn scm:checkout, the files were checkout sccusessfully.
But I'm very puzzled!
I didn't set password!
maven-scm-plugin didn't downloaded!

When I used
scm:cvs:pserver:myuser:password@server:port:repository:module
it was sucessful, too.

a cup of Java, cheers!
Sha Jiang
-- 
View this message in context: http://www.nabble.com/Why-don%27t-need-maven-scm-plugin-and-password--tf2663461s177.html#a7428158
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Why don't need maven-scm-plugin and password?

Posted by jiangshachina <ji...@gmail.com>.
Hi,
I think that's right.
Thanks very much!

a cup of Java, cheers!
Sha Jiang


Gisbert Amm-3 wrote:
> 
> jiangshachina wrote:
>> Hi guys,
>> I set scm(CVS) connection in pom.xml
>> <scm>
>> 	<connection>
>> 		scm:cvs:pserver:myuser@server:port:repository:module
>> 	</connection>
>> </scm>
>> then I run mvn scm:checkout, the files were checkout sccusessfully.
>> But I'm very puzzled!
>> I didn't set password!
> 
> You certainly did a "cvs login" on the command line prompt before, 
> otherwise pserver would have give you an error. In this case, the CVS 
> password was stored lightly encrypted in a file named .cvspass in your 
> $HOME directory.
> 
> See http://cvsbook.red-bean.com/cvsbook.html#login
> 
> -Gisbert Amm
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Why-don%27t-need-maven-scm-plugin-and-password--tf2663461s177.html#a7463993
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Why don't need maven-scm-plugin and password?

Posted by Gisbert Amm <gi...@webde.de>.
jiangshachina wrote:
> Hi guys,
> I set scm(CVS) connection in pom.xml
> <scm>
> 	<connection>
> 		scm:cvs:pserver:myuser@server:port:repository:module
> 	</connection>
> </scm>
> then I run mvn scm:checkout, the files were checkout sccusessfully.
> But I'm very puzzled!
> I didn't set password!

You certainly did a "cvs login" on the command line prompt before, 
otherwise pserver would have give you an error. In this case, the CVS 
password was stored lightly encrypted in a file named .cvspass in your 
$HOME directory.

See http://cvsbook.red-bean.com/cvsbook.html#login

-Gisbert Amm

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Why don't need maven-scm-plugin and password?

Posted by jiangshachina <ji...@gmail.com>.
Hello,
I checked the matter carefully.
Then found that all is my fault.
In fact, Maven had downloaed maven-scm-plugin,
occasionally, I didn't monitor the action at that time.
And I have serveral local repositories, and I searched a wrong one.
God!

a cup of Java, cheers!
Sha Jiang


jiangshachina wrote:
> 
> Although I set the fowllowing at pom.xml
> <plugin>
> 	<groupId>org.apache.maven.plugins</groupId>
> 	<artifactId>maven-scm-plugin</artifactId>
> 	<version>1.0-beta-3</version>
> </plugin>
> maven-scm-plugin wasn't downloaded.
> 
> a cup of Java, cheers!
> Sha Jiang
> 
> 
> jiangshachina wrote:
>> 
>> Hi guys,
>> I set scm(CVS) connection in pom.xml
>> <scm>
>> 	<connection>
>> 		scm:cvs:pserver:myuser@server:port:repository:module
>> 	</connection>
>> </scm>
>> then I run mvn scm:checkout, the files were checkout sccusessfully.
>> But I'm very puzzled!
>> I didn't set password!
>> maven-scm-plugin didn't downloaded!
>> 
>> When I used
>> scm:cvs:pserver:myuser:password@server:port:repository:module
>> it was sucessful, too.
>> 
>> a cup of Java, cheers!
>> Sha Jiang
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Why-don%27t-need-maven-scm-plugin-and-password--tf2663461s177.html#a7468198
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Why don't need maven-scm-plugin and password?

Posted by jiangshachina <ji...@gmail.com>.
Although I set the fowllowing at pom.xml
<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-scm-plugin</artifactId>
	<version>1.0-beta-3</version>
</plugin>
maven-scm-plugin wasn't downloaded.

a cup of Java, cheers!
Sha Jiang


jiangshachina wrote:
> 
> Hi guys,
> I set scm(CVS) connection in pom.xml
> <scm>
> 	<connection>
> 		scm:cvs:pserver:myuser@server:port:repository:module
> 	</connection>
> </scm>
> then I run mvn scm:checkout, the files were checkout sccusessfully.
> But I'm very puzzled!
> I didn't set password!
> maven-scm-plugin didn't downloaded!
> 
> When I used
> scm:cvs:pserver:myuser:password@server:port:repository:module
> it was sucessful, too.
> 
> a cup of Java, cheers!
> Sha Jiang
> 

-- 
View this message in context: http://www.nabble.com/Why-don%27t-need-maven-scm-plugin-and-password--tf2663461s177.html#a7428186
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org