Debug a local maven dependency with eclipse

Posted by mcamier on Stack Overflow See other posts from Stack Overflow or by mcamier
Published on 2013-10-27T09:49:43Z Indexed on 2013/10/27 9:53 UTC
Read the original article Hit count: 253

i have two maven projects, the first one is a library and the other one use it to works properly, the both have to elvolve regardless each other, this is why i use two different project.

But breakpoints on my library code doesn't work when i launch my app (the second application).

This is how i include my library in the second project's POM (my IDE is eclipse and projects are in the same workspaces)

<dependency>
        <groupId>com.mcamier</groupId>
        <artifactId>lazyEngine</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <scope>system</scope>
        <systemPath>${basedir}/../lazyEngine/target/lazyEngine-0.0.1-SNAPSHOT-jar-with-dependencies.jar</systemPath>
    </dependency>

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about maven