Hi, in my project I use "scm:checkout-project" plugin inside a "forEach" loop, in 
order to, checkout all modules I need. In this loop I set "maven.scm.cvs.module" with 
module name, and "maven.scm.bootstrap.pom.dir" this way: 
value="${basedir}/${maven.scm.cvs.module}".
This is checkout directory: maven.scm.checkout.dir=.
It works perfectly.
        Regards,


     Roberto de Castro 
     Analista de Suporte 
     Cetip - Desus Rio de Janeiro 
     +55 21 2276-7439 
     mailto:[EMAIL PROTECTED] 




-----Mensagem original-----
De: Carlos Sanchez [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 12 de agosto de 2004 13:46
Para: 'Maven Users List'
Assunto: RE: source folder not recognised unless already existing


Hi,

Check scm:perform-release goal, I think that's exactly what you need instead
of changing maven.src.dir.

Regards

Carlos Sanchez
A Coru�a, Spain

Oness Project
http://oness.sourceforge.net


> -----Original Message-----
> From: Karan-Sahni (Contractor) [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, August 12, 2004 4:38 PM
> To: Maven Users List
> Subject: source folder not recognised unless already existing
> 
> I am defining my source folder in the project.properties as 
> 
> maven.src.dir=${maven.scm.checkout.dir}/${maven.scm.cvs.module}
> 
> because I have subprojects that I call using reactor. Each 
> subproject downloads files from cvs , then builds the jar.
> 
> Problem is that if the specific 
> ${maven.scm.checkout.dir}/${maven.scm.cvs.module} do not 
> exist before I run maven, the source folder is not recognised 
> and the resulting jar is empty.
> 
> what can I do to work around this problem?
> 
> ---------------------------------------------------------------------
> 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]

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

Reply via email to