Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can I change the default location of the generated jar when I command "mvn package"?



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

Post New Answer

More Apache Maven Interview Questions

If you fail to define any information, where does your pom inherits that information from?

1 Answers  


What would the “jar: jar” goal do?

1 Answers  


Define snapshot in terms of maven.

1 Answers  


Tell me the command to install jar file in local repository.

1 Answers  


Why should we use maven?

1 Answers  


Have you ever had problem getting your projects in eclipse refreshed after you made changes in the pom files?

1 Answers  


What is the purpose of maven?

1 Answers  


What is a test dependency scope in maven?

1 Answers  


What is snapshot in maven?

1 Answers  


What is a cyclic dependency?

1 Answers  


What is the use of snapshot in maven?

1 Answers  


What is maven selenium?

1 Answers  


Categories