I have a maven plugin with a profile that is active by default. I want to disable this profile and there doesn't seem to be an option to disable it using the plugin's configuration.
I have tried De-activate a maven profile from command line and it didn't work. I am not sure if I placed the arguments in the right place.
How can I deactivate the profile which is active by default?
Asked
Active
Viewed 66 times
0

RobotWizard
- 25
- 7
1 Answers
0
... -P !myProfileId
You should be able to disable it prefixing its identifier with either the character '!' or '-' as shown above.
Make sure you are using the correct profile id

Ramon Lopez
- 11
- 2
-
This does not work. The profile I am trying to deactivate is in the plugin. – RobotWizard Oct 08 '18 at 11:16