You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Karan-Sahni (Contractor)" <KS...@OfficeDepot.com> on 2004/08/12 16:38:06 UTC

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: source folder not recognised unless already existing

Posted by Carlos Sanchez <ap...@carlos.cousas.net>.
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:KSahni@OfficeDepot.com] 
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 



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