I used the following code to get maven to recognise my source files because the files 
are being checked out from cvs during the build process and maven doesnt recognise 
source folders unless they exist when the build starts.

                <path id="my.path" location="${maven.src.dir}" />
                <m:addPath id="maven.compile.src.set" refid="my.path" />
                <j:set var="sourcesPresent" value="true" />


The problem now is that if the folder does exist, the java:compile goal throws a 
duplicate class error. There are 6 java files in maven.src.dir but maven tries to 
compile 12 files. Where is it getting these extra files from?

Any ideas?





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

Reply via email to