Selenium – Failed to parse plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.4.1

mavenseleniumteamcity

I have a Maven project and uploaded it to SubVersion. For Continutuous Integration we are using Team City. I did configure a build in Team City and tried to run my project through Team City. I am getting the following error when I run the build. Please advise.

[com.testing:MavenTestUC] Failed to parse plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.4.1 (C:\Users\autobuild.m2\repository\org\apache\maven\plugins\maven-clean-plugin\2.4.1\maven-clean-plugin-2.4.1.jar): error in opening zip file

Best Answer

It seems like the downloaded artifact is corrupt. Try removing the following directory and retrying:

C:\Users\autobuild.m2\repository\org\apache\maven\plugins\maven-clean-plugin\2.4.1