How can I change the default location of the generated jar when I command "mvn package"?
Answer / Vishal Kumar Sinha
To change the default location of the generated JAR file, you can use the assembly plugin. You can modify the assembly descriptor (pom.xml) to define a new directory for the output.
| Is This Answer Correct ? | 0 Yes | 0 No |
If you fail to define any information, where does your pom inherits that information from?
What would the “jar: jar” goal do?
Define snapshot in terms of maven.
Tell me the command to install jar file in local repository.
Why should we use maven?
Have you ever had problem getting your projects in eclipse refreshed after you made changes in the pom files?
What is the purpose of maven?
What is a test dependency scope in maven?
What is snapshot in maven?
What is a cyclic dependency?
What is the use of snapshot in maven?
What is maven selenium?