I don't have an answer, but i would suggest changing the subject line to
something more relevant to get any response.  please don't piggyback
someone else's thread with a different topic.

-----Original Message-----
From: Thomas Porter [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005 3:49 PM
To: Maven Users List
Subject: Re: Junit with maven does it work


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]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to