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. |
|
| |||||||||||
Maven - Interview Questions and Answers for 'Maven dependencie' - 4 question(s) found - Order By Newest | |||||||||||
| |||||||||||
Ans. Transitive dependency is the dependencies not defined directly in the current POM but the POM of the dependent projects. Yes we can override transitive dependency version by specifying the dependency in the current POM. | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  maven   maven dependencies   maven transitive dependency   technical lead   build management | |||||||||||
| |||||||||||
Ans. If its already there in Maven local repository, We can add that as a dependency in the project pom file with its Group Id, Artifact Id and version. We can provide additional attribute SystemPath if its unable to locate the jar in the local repository. If its not there in the local repository, we can install it first in the local repository and then can add it as dependency. | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  maven   maven dependencies   jar   architecture | |||||||||||
| |||||||||||
Ans. Using mvn dependency:tree | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  maven   maven repository   maven dependencies   dependency tree | |||||||||||
| |||||||||||
Ans. Export | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  maven   maven dependencies | |||||||||||
| |||||||||||