Mark Needham

Thoughts on Software Development

IntelliJ 14.1.5: Unable to import maven project

without comments

After a recent IntelliJ upgrade I’ve been running into the following error when trying to attach the sources of any library being pulled in via Maven:

Unable to import maven project

It seems like this is a recent issue in the 14.x series and luckily is reasonably easy to fix by adding the following flag to the VM options passed to the Maven importer:

-Didea.maven3.use.compat.resolver

And this is where you need to add it:

2015 09 30 00 18 17

Cmd + , -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing

Be Sociable, Share!

Written by Mark Needham

September 30th, 2015 at 5:54 am

Posted in Java

Tagged with ,