maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karan-Sahni \(Contractor\)" <>
Subject RE: sourcesPresent
Date Tue, 17 Aug 2004 21:23:08 GMT
I create a source directory dynamically in maven.xml and checkout files from cvs into that
folder. I call scm:checkout-project before java:compile, but the java plugin thinks I have
no sources present. I tried setting the sourcesPresent property to true before java:compile
but the plugin throws an exception. The process works fine as long as the source directory
was there before I call maven.

Anyone have ideas how I can get maven to recognise my source directory if it is created in

-----Original Message-----
From: Jefferson K. French []
Sent: Tuesday, August 17, 2004 3:42 PM
To: Karan-Sahni (Contractor)
Cc: Maven Users List
Subject: Re: sourcesPresent

I think Maven checks if the directory you define in your POM's
<sourceDirectory/> exists, and if so, it sets the 'sourcesPresent'

On Tue, 17 Aug 2004, at 13:39:55 [GMT -0400] Karan-Sahni (Contractor)

> can anyone explain to me how does the construct - when test="${sourcesPresent == 'true'
> work?
> Where does maven look to check if sources are present and when is the value of the sourcesPresent
property actually set?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message