I am trying to set a project that can be used by developers using Intellij or Eclipse on Github. I am not sure I am doing it right.
I know I need the .classpath and project from Eclipse and *.iml for Intellij but I have concerns about the project structure (I am using Maven). In Intellij, everything is fine and I can commit the project as I usually do and the top level contains src folders, pom.xml and so on. With Eclipse the top level is the project folder itself and then inside that folder, I see the pom.xml and src folder.
I am looking for details and found this other SO (eclipse intellij can use Github for same project) but this is really about the file and not the structure.
Can you please help with the project structure ?