0

I am trying build my project using Maven in Eclipse. I have an existing repository which has all required JARs, but still Eclipse tries to download a lower version (2.4.1) of maven-clean-plugin-2.5 and throws the below error in log.

[WARNING] Checksum validation failed, expected c3ad1d9e5ee3daeac15f8e18e987a214bbaa343a but is 541613ad92f57707672f5989d37cf83ae9f3f31b for

[ERROR]

Failed to parse plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.4.1 (C:\Users\577103\.m2\repository\org\apache\maven\plugins\maven-clean-plugin\2.4.1\maven-clean-plugin-2.4.1.jar): error in opening zip file -> [Help 1]

Please help me to resolve the issue.

THelper
  • 15,333
  • 6
  • 64
  • 104

1 Answers1

0

The checksum warning indicates that the downloaded jar is most likely corrupt. Try deleting the plugin folder in your local repository. Maven will download it again when it is needed (run maven clean and/or package). Also check that you are referring to the desired version of the plugins in your pom.xml.

THelper
  • 15,333
  • 6
  • 64
  • 104