Maven Quiz (Set 8) Maven (Set 8) 1 / 10 Which goal is used to deploy a project's artifact to a remote repository in Maven? mvn deploy mvn package mvn install mvn compile 2 / 10 What is the purpose of the 'pluginRepositories' section in the 'settings.xml' file? To configure plugin repository URLs. To specify repository URLs. To declare project-specific plugin repositories. To configure global plugin settings. 3 / 10 Which plugin is used to compile the project's Java source code in Maven? maven-compiler-plugin maven-compile-plugin maven-javac-plugin java-compiler-plugin 4 / 10 What is the purpose of the 'dependencies' section in the 'settings.xml' file? To define global settings for Maven. To specify repository URLs. To declare project-specific dependencies. To configure dependency management. 5 / 10 Which goal is used to package a project's resources into a distributable format (e.g., ZIP) in Maven? mvn package mvn zip mvn package-resources mvn resources:resources 6 / 10 What is the purpose of the 'dependencies' section in the parent POM? To define project dependencies. To specify repository URLs. To declare profiles with customized build configurations. To share common dependency information across child modules. 7 / 10 Which goal is used to generate a project site documentation in Maven? mvn generate-docs mvn create-site mvn site mvn report 8 / 10 What is the purpose of the 'properties' section in the parent POM? To define global settings for Maven. To centralize common property values for child modules. To declare project-specific properties. To specify repository URLs. 9 / 10 Which plugin is used to run a project's unit tests in Maven? maven-junit-plugin maven-test-plugin maven-unit-plugin maven-surefire-plugin 10 / 10 What is the purpose of the 'resources' section in the POM? To define project dependencies. To specify repository URLs. To configure resource filtering and copying. To list the developers and their roles. Your score isThe average score is 0% 0% Restart quiz