1.

What are the different types of Maven build profiles? In what ways can build profiles of maven be activated?

Answer»

The different types of Maven build profiles are:

  • Per-User: This is defined in the Maven settings.xml file.
  • Per PROJECT: This is defined in the project’s pom.xml.
  • Global: This is defined in the global Maven settings.xml file.

Maven build profiles can be activated or TRIGGERED in the FOLLOWING ways:

  • Using explicit commands
  • Maven settings
  • On the BASIS of environment variables
  • Configuration of the operating system
  • Present/missing FILES


Discussion

No Comment Found