I want to have a profile that runs a specific plugin (like PMD), but I want to explicitly disable this plugin execution.
So I want to have a profile that is always active, unless the property is defined.
Something like mvn -Dnopmd clean install, and the profile is deactivated. In addition, the profile must always be active.
maven
Ravi sanwal
source share