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?
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?
You can simply check by using:
mvn help:active-profiles
© 2022 - 2024 — McMap. All rights reserved.
mvn help:active-profiles clean package
. This will print the active profile at the beginning of your output and you can be sure the subsequent steps are running in your desired context. – Cooley