简体   繁体   中英

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?

您可以使用以下方法进行检查:

mvn help:active-profiles

this will help

 mvn help:active-profiles

for more details refer Maven Build profile

启用调试模式

mvn -X install

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM