Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. Yes , we have been using this plugin with our projects and its purpose is to warn and stop the Build if there are duplicates of the same package and class are being carried either directly or through transitive dependencies. the duplicate could be coming through different types of dependencies or through different versions of the same dependency. Its purpose is to make sure that there is only one copy thats being used at compile time and runtime and hence shouldnt later result in runtime problems.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  maven   ban duplicate classes enforcer plugin|
|What is a transitive dependency ? Can we override Transitive Dependency version and If Yes, how ?|
|What is a cyclic dependency ?|
|Which of the following is dependency exclusion ?|
|Which of the following is not a build tool ?|
|How do you resolve Maven Dependencies issue while upgrading dependencies versions ?|
|What is Maven's order of inheritance?|
|What is a Mojo?|
|Where do we configure repositories in Maven ?|
|What are different type of repositories in Maven ?|
|How does Maven looks for a resource ?|