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 |
What are the maven’s order of inheritance?
How does maven looks for a dependency or resource?
Explain what is maven artifact?
What is build profile?
What is an uber jar? What does an uber-jar mean and what are its features/advantages?
What are the uses of maven plugins?
What phases does a clean lifecycle consist of?
What is a maven dependency?
What is pluginmanagement?
What is snapshot in maven?
What are the tasks which are performed by maven?
What would you do if you have to add a jar to the project using maven?