Eclipse know troubleshooting

Maven raise error 206 the filename or extension is too long

When you build an application on windows you can get the error create process error 206 the filename or extension is too long this is caused to a Windows OS limitation. To solve it:

  • Move .m2 repository to c:\
  • Go to Eclipse > Windows/Preferences/Maven/User Settings -> Create your own setting.xml with its content:
<settings>
  <localRepository>c:/.m2/repository</localRepository>
</settings>