一般标准的maven webapp项目结构如下,请问下其中的.setting
文件夹,.classpath
文件,.project
文件需要提交到git仓库吗?
考虑到开发者用不同的IDE,是否如上所述文件都是eclipse的产物,我们版本仓库应该忽略?
希望有洁癖的开发者提供一个标准的这类规范,谢谢!
|_.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: