Mention how profiles are specified in Maven?
Answer / Puneet Kumar Srivastava
Profiles in Maven are defined using the `<profile>` element within the `<profiles>` section of the POM.xml file. Each profile can have its own configuration, and it can be activated using the command line flag `-P`, followed by the profile ID.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between version and snapshot?
what is Maven artifact?
What do you mean by maven?
What is archetype?
How would you see the version of maven?
What does dependency management mean with respect to transitive dependency?
What would the command mvn clean do?
Where are maven dependencies stored?
What would the command mvn clean dependency:copy-dependencies package do?
What are gradle and maven?
How does maven look for a dependency or resource?
How to specify the sequence in which sub modules needs to be built?