How to determine which maven profiles are activated?

I am using a very complicated maven project and I would like to know which maven profiles are activated when I do mvn install .

How to find out?

+4
source share
3 answers

You can just check using:

 mvn help:active-profiles 
+6
source

it will help

  mvn help:active-profiles 

see Maven Creation Profile for more information.

+2
source

Enable debug mode with

 mvn -X install 
0
source

Source: https://habr.com/ru/post/1379625/


All Articles