Fatjar Shade Dependency Package[...]
Category: LinkedIn Maven Skill Assessment Test
In multimodule projects, what do child POMs inherit from the parent POM?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?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?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?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 ?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?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> [...]
If you want to utilize a locally develop JAR file in another project and that JAR file has not been deployed to either the Maven central repository or your own locally sourced mirror repository, what Maven goal do you need to execute on the locally developed JAR project?If you want to utilize a locally develop JAR file in another project and that JAR file has not been deployed to either the Maven central repository or your own locally sourced mirror repository, what Maven goal do you need to execute on the locally developed JAR project?
install test compile package[...]
What does the mvn clean command do?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 _____These are two general uses of plugins. The first is build and the second is _____
reporting servers dependencies distribution management[...]