Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to detect what maven profiles are activated?

I use a very complex maven project and I would like to know what maven profiles are activated when I do mvn install.

How to find this out?

like image 993
IAdapter Avatar asked Dec 17 '22 07:12

IAdapter


2 Answers

You can simply check by using:

mvn help:active-profiles
like image 78
khmarbaise Avatar answered Dec 24 '22 01:12

khmarbaise


this will help

 mvn help:active-profiles

for more details refer Maven Build profile

like image 37
Umesh Awasthi Avatar answered Dec 24 '22 01:12

Umesh Awasthi