evgeny-goldin / gradle-plugins

Gradle plugins
http://evgeny-goldin.com/wiki/Gradle_Plugins
Other
27 stars 4 forks source link

duplicates plugin: ZipExceptions in console under gradle 1.10 #12

Open phiryll opened 10 years ago

phiryll commented 10 years ago

Whether gradle 1.10 is the problem, I'm not sure. But I'm getting this, for lots of pom files attempting to be opened as zip files:

Unable to read Zip entries of [/..../.gradle/caches/modules-2/files-2.1/com.cloudera.cdh/hadoop-ant/0.20.2-cdh3u6/552cf52ec1daba40835c5e058f59a9fd0eba21e4/hadoop-ant-0.20.2-cdh3u6.pom] java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:214) at java.util.zip.ZipFile.(ZipFile.java:144) at java.util.zip.ZipFile.(ZipFile.java:158) at sun.reflect.GeneratedConstructorAccessor113.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at com.github.goldin.plugins.gradle.duplicates.DuplicatesTask.classNames(DuplicatesTask.groovy:138) ....