Eclipse known troubleshooting
Maven raises error 206: the filename or extension is too long
Section titled “Maven raises 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 by a Windows OS limitation. To solve it:
- Move .m2 repository to C:\
- Go to Eclipse > Windows/Preferences/Maven/User Settings -> Create your own settings.xml with its content:
<settings> <localRepository>c:/.m2/repository</localRepository></settings>