On Tue, Mar 01, 2005 at 10:07:51AM +1100, Brett Porter thoughtfully expounded:
> 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".

Brett,

Thanks for the pointer.  I had seen that link before, but had not
realized that I needed a new version of the SCM plugin.  If I run the
example command from inside my working directory, say ~/foo2, I get
~/foo2/target/checkout created with my project under it, which has
its own /src, /target, and /xdocs after I finish doing a 'maven site'
from inside ~/foo2/target/checkout, since this is where my
project.xml, etc. is at.  Trying:
  
  maven scm:checkout \
    -Dmaven.scm.url=scm:svn:file:///home/tporter/svn_repo/hfj \
    -Dmaven.scm.checkout.dir=. 

from inside ~/foo2 causes an exception as the task tries to delete the
current directory.  Backing up one directory to my home dir and trying
:

  maven scm:checkout \
    -Dmaven.scm.url=scm:svn:file:///home/tporter/svn_repo/hfj \
    -Dmaven.scm.checkout.dir=foo2
 
causes an exception as well.

Can I control the destination directory for a checkout?

Thanks,

-- 
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]

Reply via email to