In multimodule projects, what do child POMs inherit from the parent POM?
all of these answers dependencies groupId version
Suppose you are using Maven in a corporate environment and, to save bandwidth, you want to prevent the need for large numbers of developers to download the same dependency from the internet. What do you do to limit this?
Create an internal corporate repository to store copies of the necessary artifacts. It is not possible to do this. When…
The settings.xml file that provides the user-specific settings for Maven is contained in which directory by default?
${maven.home}/${user.name}/settings.xml ${user.home}/.m2/settings.xml ${maven.home}/conf/settings.xml ${user.home}/maven/settings.xml
Why might you not want to include groupId and version elements in child POM files?
all of these answers dependencies version groupId
Suppose you are packaging a Mave project and see the following error “[WARNING] Using platform encoding (CP1252 actually) to copy filtered resources, i.e. build platform dependent!” What do you add to your POM file to set platform encoding to ensure your build is not platform dependet ?
<project.build.resources> <maven.compiler.source> <project.build.sourceEncoding> <project.compiler.encoding>
Bellow is a definition of the Maven JAR Plugin, where the main class is set to com.palmer.bethan.App. What is the effect of this?
<configuration> <archive> <manifest> <addClasspath>true</addClasspath> …
What does the mvn clean command do?
It removes the target directory It updates the version of the plugins defned in the POM file. It removes unused…
These are two general uses of plugins. The first is build and the second is _____
reporting servers dependencies distribution management