Maven Interview Question and Answer

Maven Interview Question and Answer
What is Transitive Dependency in Maven? Simply put, there're two types of dependencies in Maven direct and transitive. Direct dependencies are the ones that are explicitly included in the project. These can be included in the project using <dependency> tags: 1 2 3 4 5 <dependency>     <groupId>junit</groupId>     <artifactId>junit</artifactId>     <version>4.12</version> </dependency> Transitive...