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 you activate profiles?



How can you activate profiles?..

Answer / Km.kanchan

Activating a profile in Apache Maven can be done by including the `-P` option followed by the profile name when running the mvn command. For example, if you have a profile named 'myProfile', you would run: `mvn clean install -P myProfile`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Maven Interview Questions

What are the maven’s order of inheritance?

1 Answers  


How does maven looks for a dependency or resource?

1 Answers  


Explain what is maven artifact?

1 Answers  


What is build profile?

1 Answers  


What is an uber jar? What does an uber-jar mean and what are its features/advantages?

1 Answers  


What are the uses of maven plugins?

1 Answers  


What phases does a clean lifecycle consist of?

1 Answers  


What is a maven dependency?

1 Answers  


What is pluginmanagement?

1 Answers  


What is snapshot in maven?

1 Answers  


What are the tasks which are performed by maven?

1 Answers  


What would you do if you have to add a jar to the project using maven?

1 Answers  


Categories