Should a pom declare transitive dependencies?

Viewed 435

My module MyLibrary depends on artifact ThirdPartyLibrary.

My module MyApplication depends on MyLibrary but also directly invokes the code in ThirdPartyLibrary.

Should MyApplication explicitly include ThirdPartyLibrary as a dependency in the pom, or rely on the fact that MyLibrary includes it as a dependency?

1 Answers
Related