
Apache Maven Beginner to Guru - Maven Dependencies
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a transitive dependency in Maven?
A dependency that is cyclic in nature.
A dependency of a dependency that your project relies on.
A dependency that is directly declared in your project.
A dependency that is not supported by Maven.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does Maven handle cyclic dependencies?
It resolves them automatically.
It breaks the build process.
It ignores them completely.
It supports them with a warning.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What determines which version of a dependency is used when multiple versions are present?
The oldest version in the repository.
The version specified in the project's POM file.
The nearest definition in the dependency tree.
The version with the highest performance.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default dependency scope in Maven?
Compile
Test
Runtime
Provided
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which dependency scope is used for dependencies needed only during testing?
System
Compile
Runtime
Test
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the Maven dependency tree command?
To delete unused dependencies.
To visualize the project's dependency hierarchy.
To list all available plugins.
To compile the project.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the Maven dependency:purge-local-repository goal do?
It updates all dependencies to the latest version.
It lists all dependencies in the local repository.
It removes corrupted dependencies from the local repository.
It compiles the project with a clean slate.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?