maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Porter <>
Subject Re: Junit with maven does it work
Date Mon, 28 Feb 2005 21:49:07 GMT
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 \

and all I get is:

  __  __
  |  \/  |__ _Apache__ ___
  | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
  |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

  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                             
"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:
For additional commands, e-mail:

View raw message