To do this work with the maven materialized web application, I had to do three things.
1) Create a new eclipse project with the source code of a third-party jar.
2) Remove jar reference from pom.xml dependencies.
3) Add a new eclipse project to the deployment assembly in the project properties.
4) Add a new eclipse project to the project Properties → Java Build Path → Projects of an existing project that references a third-party project.
If the third project was added to your maven repository correctly, with sources, maven will automatically download the appropriate source code and add breakpoints without having to perform any of the steps above; however, I found out that you cannot always count on it.
Ted Gulesserian Oct. 12 '15 at 19:43 2015-10-12 19:43
source share