You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michael Mattox <mi...@verideon.com> on 2004/07/29 15:31:24 UTC

how to use maven scm bootstrap-project

I can't get the scm bootstrap to work.  I have a flat directory structure,
with my "master" maven project.xml file in a subdirectory called maven.  For
example:

module is sources

sources/project1
sources/project2
sources/maven    (contains project.xml)

I'm not sure what to put for the maven.scm.bootstrap.pom.dir and whatever I
put, it doesn't seem to make a difference.  If I set the module to be
sources/maven it works but it doesn't get all the projects, just maven.  If
I set the module to sources I get this error:

C:\tmp>maven -Dmaven.scm.method=cvs -Dmaven.scm.bootstrap.goals=clean
-Dmaven.scm.bootstrap.pom.dir=maven -Dmaven.scm.cvs.module=sources
-Dmaven.scm.cvs.quiet=false scm:bootstrap-project

BUILD FAILED
File...... C:\Documents and
Settings\user\.maven\cache\maven-scm-plugin-1.4\plug
in.jelly
Element... maven:maven
Line...... 158
Column.... 9
Error parsing project.xml 'C:\tmp\target\checkouts\sources\project.xml'
Total time: 2 minutes 42 seconds
Finished at: Thu Jul 29 14:45:38 CEST 2004

I now think maybe there is a limitation where the project.xml has to be
located in the module directory instead of a subdirectory?  Can anyone give
me some advice on this?

Thanks,
Michael

PS: Using Maven 1.0


--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org