eclipse debugger: attaching source-code of maven managed libraries
Posted
by meriton
on Stack Overflow
See other posts from Stack Overflow
or by meriton
Published on 2009-11-27T13:01:55Z
Indexed on
2010/04/23
12:33 UTC
Read the original article
Hit count: 601
I'd like to use the source code of maven-managed dependencies when debugging our webapp in eclipse.
I have managed to attach the sources to the libraries in the "Maven Managed Depedencies" classpath container, i.e. when I open a class file from a depedency (e.g. using Ctrl-Shift-T), I see the source code.
However, when I launch the tomcat within eclipse, and execution halts on a breakpoint in that same class, the editor pane only displays the text "source not found", and a button to edit the "source lookup path". I have attempted to manually add the "Maven Managed Dependencies" classpath container, only to be told "Use maven project settings to configure depedency resolution". However, I see no useful setting in that property pane ...
How can I attach those sources?
© Stack Overflow or respective owner