Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.10
-
Labels:None
-
Number of attachments :
Description
Change scm String to make it work:
maven scm:checkout -Dmaven.scm.url=scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-components -Dmaven.scm.checkout.dir=./m2
The -Dmaven.scm.checkout.dir=. does not work it tries to use delete the current directory (maven-scm-plugin-1.5-beta-3) before checkout this fails of course.
Futher more more the target scm:checkout-project is deprecated.
I have tried this and everything seems to work as it should. Maven is no longer available in the cvs repository, so I used another (small) module instead:
maven scm:checkout -Dmaven.scm.url=scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:db-site -Dmaven.scm.checkout.dir=./db-site
This checks out the module from cvs nicely. It does not try to delete the current directory.
Regarding the deprecation, I don't understand what the reporter want us to do. scm:checkout-project is deprecated and is replaced by scm:checkout which is reported to the user when scm:checkout-project is called.
I would close this issue.