I am trying to work with a Jenkins plugin (which uses Maven) in Intellij Idea (latest version, 13.02, licensed, running on JDK 1..70_51, Linux 64bit).
I have used Intellij + Maven before and generally things "just work". But for some reason in this project the dependencies defined by maven are not being found by Intellij. That means that all the Java imports are marked by red squiggles, for example.
Note that Maven (mvn on the command line) works just fine and can build the project and run the tests. Also, I can buidl the project from inside Intellij by using the Maven plugin. So Maven itself seems to be fine; it's just that the dependencies are not being picked up.
I can't remember what a valid project looks like with Maven, but there are none of the expected jars in "External Libraries" (which shows only those provided by the JDK),
The code is available at https://github.com/andrewcooke-isti/JiraTestResultReporter/tree/9ddbd8f66b2bfa20ff5fcfa74e84d864d019e2e6 and I will include a snapshot of what I am seeing.
Any suggestions on how to fix this would be appreciated. Maven appears to be configured correctly. The only wanring I have is that git is too old a version (yay CentOS), but I don't think that can be the cause of this problem. I have deleted and re-imported the project - nothing changed.