The .factorypath
file is a generated file, which eclipse requires for annotation-processing. The m2eclipse
plugin does generate this file when using "Update Maven Project" (Alt+F5) and checking "Update project configuration from pom.xml
".
However, I don't want to check this file into version control. But if not, and someone from the team does a fresh checkout, and imports the project in eclipse, the .factorypath
does not get generated until the "Update Maven Project" is performed manually. I don't want this manual step when a project gets imported, this has to happen automatically. Is there an option, that a project has to be updated upon import?
Since this is an IDE related question, and you seem to be using Eclipse IDE:
Menu Window
> Preferences
> Maven
> Automatically update Maven projects configuration
.
This will make it for you on project import so you would not need that manual step anymore.