my first.
I am looking for a way to disable maven resource and jar plugin phases from command line specifically,
something like -Dmaven.test.skip=true
which seems to disable maven-surefire-plugin:version:test
-Dmaven.{jar,resource}.skip=true
kind of.
Is this possible ?
For dependency plugin use maven.resources.skip
property.
Regarding maven jar plugin, it seems there is not a similar property, but in the links below you may find alternatives.