Hi,

First of all, sorry if I talk about something already well debated. But I haven't found informations (best practice), about this point.

If I understand well the maven documentation, I MUST added into my pom.xml any dependences with which I currently work (at least any dependency from which a class is used as import). The fact is that some dependencies that I use, handles other dependencies that I use too. My IDE is therefore unable to tell me that I forget to add a dependency because of the transitivity.

The question I just come to asked me is why transitive dependencies are not seen as 'RUNTIME' dependencies so they are not part of the compilation of my own code ? With such a feature, my IDE is able to enlights packages, classes that I don't explicitly includes in my pom.xml

Guess that it isn't that easy but then, can I have some inputs on this ?

Thanks in advance.

Stéphane Toussaint

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to