Plugin with id 'maven' not found.
I got this error in IDEA that uses with 7.1, that is strange as maven
is built-in plugin, and should be distributed with gradle.
subprojects {
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'maven'
When running Gradle 6.3, it seems there is no such error.
In Gradle 7.x,
The maven plugin has been removed. You should use the maven-publish plugin instead.
Reference: https://docs.gradle.org/7.0/userguide/upgrading_version_6.html#removal_of_the_legacy_maven_plugin
The maven plugin was removed in Gradle 7. The documentation suggests to use maven-publish
plugin instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With