Maven Quiz (Set 7) Maven (Set 7) 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 POM? To configure plugin repository URLs. To specify 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-compiler maven-compile maven-javac-plugin 4 / 10 What is the purpose of the 'repositories' section in the parent POM? To configure repository URLs. To define project dependencies. To declare profiles with customized build configurations. To share common repository information across child modules. 5 / 10 Which goal is used to generate a WAR file for a web application in Maven? mvn war mvn package mvn compile mvn war:war 6 / 10 What is the purpose of the 'plugins' section in the POM? To define project dependencies. To specify repository URLs. To declare the project's plugins and their configurations. To list the developers and their roles. 7 / 10 Which goal is used to generate project documentation and reports in Maven? mvn generate-docs mvn create-reports mvn report mvn site 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 package a project's resources into a distributable format (e.g., ZIP) in Maven? maven-resources-plugin maven-packager-plugin maven-zip-plugin maven-archiver-plugin 10 / 10 What is the purpose of the 'buildPlugins' section in the POM? To define project dependencies. To specify repository URLs. To declare the project's plugins and their configurations. To list the developers and their roles. Your score isThe average score is 0% 0% Restart quiz