Issue
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.
Solution
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
Answered By - Gokul Nath KP
Answer Checked By - Dawn Plyler (JavaFixing Volunteer)