> If you are copying the sources to a directory that does not yet exist
> then you will have a problem. Use this as a work around:
>
> <preGoal name="java:compile">
>
> <!-- This will force maven into believing the source directory exists -->
> <path id="maven.compile.src.set">
> <pathelement location="${pom.build.SourceDirectory}"/>
> </path>
>
> ... whatever else you have ...
>
> </preGoal>
You may have to set sourcesPresent to true as well. E.g.
<j:set var="sourcesPresent" value="true"/>
Regards,
--mike
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>