The general standard maven webapp project structure is as follows. Do the .setting
folders, .classpath
files, and .project
files need to be submitted to the git repository?
Considering that developers use different IDEs, are the above files all products of eclipse and should our version repository ignore them?
I hope developers with mysophobia can provide a standard specification of this type, thank you!
|_.settings
|_src
| |_main
| | |_java
| | |_resources
| |_test
| |_java
| |_resources
|_target
|_.classpath
|_.gitignore
|_.project
|_pom.xml
|_README.MD
No need. Just submit
src
pom.xml
README.MD
.gitignore
Other files are not required and should not be submitted, otherwise conflicts may easily occur.
Provide a java gitignore template: