When I'm debugging in a Maven dependency, which source I've downloaded and I can view in the Eclipse Java perspective, the source doesn't get displayed.
Shouldn't Eclipse wire the sources automatically?
When I'm debugging in a Maven dependency, which source I've downloaded and I can view in the Eclipse Java perspective, the source doesn't get displayed.
Shouldn't Eclipse wire the sources automatically?
Go to
Window->Preferences->Maven
and check
"download artifact sources"
When you debug code, eclipse should automatically download missing sources (at least for me it works in such way).
The question appears to be very similar or a duplicate to another on StackOverflow. Look at this.
I thought you had to have the m2 plugin for this, but I haven't checked.