There are a few steps that can be followed to resolve the issue of MavenDeployment being unresolved after updating the gradle wrapper:
Check that the Maven plugin is applied correctly in the build.gradle file. Ensure that the correct version of Maven is specified and that the plugin is applied to the correct tasks.
Check that the necessary repositories have been added to the build.gradle file. Ensure that the correct repositories for the plugin and dependencies have been added.
Clean the project by running the 'clean' task in gradle. This will ensure that any old artifacts are removed and the project is rebuilt from scratch.
Refresh dependencies by running the 'dependencies' task in gradle. This will ensure that all dependencies and plugins are up to date.
Try running the build again. If the issue persists, try deleting the .gradle and .m2 directories in the user's home directory and rebuilding the project.
If the issue still persists after trying the above steps, try updating the Maven plugin version to the latest version and ensure that it is compatible with the version of Gradle being used.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-08-28 11:00:00 +0000
Seen: 12 times
Last updated: Dec 25 '22