I am trying to use Eclipse, Subversion and Maven for my projects and everyone is telling me never to check in the following files:
target/
.classpath
.project
.settings
But if I dont check them in and some other project checkouts the project from within Eclipse, Eclipse does not know what type of project it is.. Are we doing something wroung?
How do you work?
Eclipse has a plug-in for Maven; I believe it is called m2eclipse. After having it installed you can select Import from Maven project and select the
pom.xmlwhich will import your project to eclipse even if.projectand.settingsare not present. So there is no need for you to commit them to svn. This comes with the advantage of IDE neutrality; other members of your team may use Intellij IDEA or NetBeans without any concern.Also Maven has a plug-in for eclipse; you can go where
pom.xmlis located, open a terminal and typemvn eclipse:eclipseand it will automatically generate.projectand.settings.. However the first option is more recommended.