Maven Quiz (Set 11) Maven (Set 11) 1 / 10 Which goal is used to deploy a project's artifact to a remote repository in Maven? mvn package mvn install mvn deploy mvn compile 2 / 10 What is the purpose of the 'pluginRepositories' section in the POM? To specify repository URLs. To configure plugin repository URLs. To declare the project's plugins and their configurations. To list the developers and their roles. 3 / 10 Which plugin is used to compile the project's Java source code in Maven? maven-compiler-plugin maven-javac-plugin maven-compile-plugin java-compiler-plugin 4 / 10 What is the purpose of the 'pluginManagement' section in the POM? To configure plugin repository URLs. To specify repository URLs. To declare the project's plugins and their configurations. To centralize plugin versions for the project. 5 / 10 Which goal is used to package a project's resources into a distributable format (e.g., JAR, ZIP) in Maven? mvn package-resources mvn package mvn resources:resources mvn resources:package 6 / 10 What is the purpose of the 'dependencyManagement' section in the POM? To define the project's dependencies. To centralize dependency versions for child modules. To specify repository URLs. To declare project-specific properties. 7 / 10 Which goal is used to generate project site documentation and reports in Maven? mvn generate-site mvn create-reports mvn site mvn report 8 / 10 What is the purpose of the 'dependencyManagement' section in the parent POM? To define the project's dependencies. To centralize dependency versions for child modules. To specify repository URLs. To declare project-specific properties. 9 / 10 Which plugin is used to execute integration tests in a Maven project? maven-integration-test-plugin maven-test-plugin maven-unit-plugin maven-surefire-plugin 10 / 10 What is the purpose of the 'scope' attribute for a Maven dependency? To define the version of the dependency. To specify repository URLs. To declare custom reports and their configurations. To define the context in which the dependency is used. Your score isThe average score is 0% 0% Restart quiz