Link from Compilation Failures to Source Code
I finally got around to upgrading from IDEA 15.0.1 to 2017.2.1 (Ultimate edition).
In 15.0 when I do a Maven build in the IDE and get an error, it gives me a link to the source code. In 2017 it doesn't. Do I have a setting wrong somewhere or is it something else?
In 15.0, when I see:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project idx-initialize: Compilation failure: Compilation failure:
[ERROR] \dev\xxx\idx-initialize\src\main\java\com\xxx\initialize\InitializeModule.java:[17,39] error: package com.xxx.auth.library does not exist
the path to the file is a link, which I can click on to take me to the line in the source code where the error exists.
Please sign in to leave a comment.
There was a similar issue reported and fixed some time ago: https://youtrack.jetbrains.com/issue/IDEA-142056.
It should not occur in 2017.2.1. Could you please file a new bug at https://youtrack.jetbrains.com/issues/IDEA and attach a small sample project to reproduce it?
Thanks for the link. Turns out we were using an ancient version of the maven-compiler-plugin (2.3.2). Upgrading to 3.5.1 fixed the problem.