InterviewSolution
Saved Bookmarks
| 1. |
What do you understand about ‘Transitive Dependency’ in Maven? What is dependency exclusion? |
|
Answer» By incorporating transitive DEPENDENCIES automatically, Maven eliminates the NEED to discover and define libraries that the dependencies require. ACCORDING to transitive DEPENDENCY, if X is DEPENDENT on Y and Y is dependent on Z, then X is dependent on both Y and Z. The "exclusion" element can be used to exclude any transitive dependency. If X is reliant on Y and Y is reliant on Z, then X can declare Z as excluded. |
|