Subversion support is still in beta. Please see the instructions here:
http://www.apache.org/~brett/maven-stage-site/reference/plugins/scm/

You can get maven-scm-plugin 1.5-beta-3 using "maven plugin:download".

Cheers,
Brett


On Mon, 28 Feb 2005 17:20:08 -0500, Thomas Porter
<[EMAIL PROTECTED]> wrote:
> First, my apologies to everyone for the first post with a bad subject
> line, too fast on the draw w/ mutt!!
> 
> I am a relative newcomer to maven, but have been using subversion for
> a while.
> 
> I have what appears to be a trivial question:
> 
> If I have a maven enabled project stored in subversion (with
> project.xml, etc. etc.) how do I check out the project to an empty
> directory using maven?
> 
> Assuming my subversion repo is at /home/tporter/svn_repo and my
> project is in /home/tporter/svn_repo/hfj, I have tried the following
> in an ampty working directory:
> 
>   maven scm:checkout-project \
>    -Dmaven.scm.method=svn \
>    -Dmaven.scm.svn.module=hfj/ \
>    -Dmaven.scm.svn.root=file:///home/tporter/svn_repo \
>    -Dmaven.scm.checkout.dir=.
> 
> and all I get is:
> 
>   __  __
>   |  \/  |__ _Apache__ ___
>   | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>   |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> 
>   BUILD SUCCESSFUL
>   Total time: 4 seconds
>   Finished at: Mon Feb 28 16:41:15 EST 2005
> 
> with nothing checked out from subversion, empty directory ,etc.
> 
> If I issue:
> 
>   svn co file:///home/tporter/svn_repo/hfj .
> 
> I get what  I expect and can then issue:
> 
> maven site to compile, run unit tests, build site, etc.
> 
> Between deprecated properties and not very well documented scm goals,
> I'm pretty confused.
> 
> Any help greatly appreciated.
> 
> --
> Tom Porter                                       [EMAIL PROTECTED] 
> ------------------------------------------------------------------------
> "On two occasions I have been asked [by members of Parliament],
> 'Pray, Mr. Babbage, if you put into the machine wrong figures, will
> the right answers come out?'  I am not able rightly to apprehend the
> kind of confusion of ideas that could provoke such a question."
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to