This issue is discussed in https://groups.google.com/forum/#!topic/maven-nar/SJOHdss-J-8
nar-maven-plugin compiles c/c++ files into same directory. When compiling files with same basename but under different directories, it gives a Output filename conflict error.
This makes it inconvenient when compiling c/c++ project with tons of same name files. Will it be possible that compiling files into mirrored directory structure to avoid such error, just like scons or CMake does.