<cpp>
<!-- Suppress all warnings
-->
<options>
<option>-w</option>
</options>
<sourceDirectory>../../../sources/cpp-sources/foo/src/main</sourceDirectory>
</cpp>
Next, I add teh <includes> block as shown below:
<cpp>
<!-- Suppress all warnings
-->
<options>
<option>-w</option>
</options>
<sourceDirectory>../../../sources/cpp-sources/foo/src/main</sourceDirectory>
<includes>
<include>../../../sources/cpp-sources/bar/src/main/include/blah.h</include>
</includes>
</cpp>
This time, it finds no sources to compile. Build succeeds, with no NAR generated. NOTE: It does find the dependency NAR that was packaged in bar and unpacked during goal executions. This is bizzare! Why would including headers, eliminate sources? And why are headers not being found once the includes are specified?
Does NAR plugin have any restrictions on location of header files?
Any help is greatly appreciated.
Thanks
KAnand
--
You received this message because you are subscribed to the Google Groups "NAR Maven plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-nar+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.