It now works fine.
I was having a wrong path in the source dir property.
After chaging it to:
<source>${basedir}/generated/cxf</source>
it now works as expected.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${basedir}/generated/cxf</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
Thanks.
--
View this message in context:
http://maven.40175.n5.nabble.com/Added-source-directory-still-allows-for-compile-errors-tp5501630p5569927.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]