The default Java Maven project structure is usually
src/
main/
java/
org/example/Main.java
test/
java/
If I have a project with C++/JNI code, would it be right to extend on this idea and put the C++ code into the folder src/main/cpp
or would it be usually put somewhere else? If so, what is the rationale behind the java
folder?