IAdapter
IAdapter

Reputation: 64727

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?

Upvotes: 5

Views: 3144

Answers (3)

Umesh Awasthi
Umesh Awasthi

Reputation: 23587

this will help

 mvn help:active-profiles

for more details refer Maven Build profile

Upvotes: 3

khmarbaise
khmarbaise

Reputation: 97359

You can simply check by using:

mvn help:active-profiles

Upvotes: 12

Peter Szanto
Peter Szanto

Reputation: 7722

Enable the debug mode with

mvn -X install

Upvotes: 0

Related Questions