A commons case is probably the dependencies of a maven plugin are all inlined using e.g. shadow jar. In this case the plugin descriptor should not have any dependencies declared. This is already possible but required defining an empty configuration. There should be a convenience method to make this easier:
mavenPlugin {
withoutDependencies()
}