Maven SVN checkout example

Posted by c0mrade on Stack Overflow See other posts from Stack Overflow or by c0mrade
Published on 2010-05-12T11:40:32Z Indexed on 2010/05/12 11:44 UTC
Read the original article Hit count: 488

Filed under:
|

Concerning my previous question -> http://stackoverflow.com/questions/2622191/is-there-a-svn-maven , I went trough usage page -> http://maven.apache.org/scm/maven-scm-plugin/usage.html didn't found quite what I was looking for, here what I would like to do :

  • Checkout list of projects which I specify for ex :

http://mysvnurl/myprojectname where I could parametrize the project name

Then lets say if there is 3-4 or n number of sub-projects(modules)(for which I can specify the names as well) that I want to checkout, and that I could specify branch(trunk) and revision. To simplify :

  • Checkout certain sub-projects(modules) trunk of myprojectname

Ex :

http://mysvnurl/myprojectname/project1/trunk/* // get everything
http://mysvnurl/myprojectname/project2/trunk/* // get everything

How would I do that with maven, can someone with more expirience explain how to do this or point me to somewhere where I can read how to, I've googled nothing specific to my needs.

Thank you

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about svn