0 votes
in Maven - Coalescing Pipeline by
What are the different types of Maven build profiles? In what ways can build profiles of maven be activated?

1 Answer

0 votes
by

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

Related questions

0 votes
asked Apr 6, 2021 in Maven - Coalescing Pipeline by SakshiSharma
+1 vote
asked Aug 6, 2020 in Maven - Coalescing Pipeline by Robindeniel
...