[ http://jira.codehaus.org/browse/MCLIRR-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130711#action_130711 ]
werner mueller commented on MCLIRR-12: -------------------------------------- hallo i have the same error. the comparison version is detected correctly even if it is not in the local repo, the according pom is downloaded but not any of the jars. so i run into the same checker exception below Maven version: 2.0.9 Java version: 1.5.0_15 OS name: "linux" version: "2.6.18-6-686" arch: "i386" Family: "unix" [INFO] Comparing to version: 2007.2.15 Downloading: http://dev.edoras.ch/mvn/internal/ch/edoras/edoras-core-build-tools/2007.2.15/edoras-core-build-tools-2007.2.15.pom Downloading: http://dev.edoras.ch/mvn/releases-edoras/ch/edoras/edoras-core-build-tools/2007.2.15/edoras-core-build-tools-2007.2.15.pom 655b downloaded [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot open /home/mvn5/.m2/repository/ch/edoras/edoras-core-build-tools/2007.2.15/edoras-core-build-tools-2007.2.15.jar for reading error in opening zip file [INFO] ------------------------------------------------------------------------ [INFO] Trace net.sf.clirr.core.CheckerException: Cannot open /home/mvn5/.m2/repository/ch/edoras/edoras-core-build-tools/2007.2.15/edoras-core-build-tools-2007.2.15.jar for reading at net.sf.clirr.core.internal.bcel.BcelTypeArrayBuilder.createClassSet(BcelTypeArrayBuilder.java:73) at org.codehaus.mojo.clirr.AbstractClirrMojo.resolvePreviousReleaseClasses(AbstractClirrMojo.java:299) at org.codehaus.mojo.clirr.AbstractClirrMojo.executeClirr(AbstractClirrMojo.java:191) at org.codehaus.mojo.clirr.ClirrReport.doReport(ClirrReport.java:250) at org.codehaus.mojo.clirr.ClirrReport.generate(ClirrReport.java:226) at org.codehaus.mojo.clirr.ClirrReport.generate(ClirrReport.java:382) at org.codehaus.mojo.clirr.ClirrReport.execute(ClirrReport.java:189) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:203) at net.sf.clirr.core.internal.bcel.BcelTypeArrayBuilder.createClassSet(BcelTypeArrayBuilder.java:69) ... 24 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Mon Apr 14 12:31:13 CEST 2008 [INFO] Final Memory: 13M/165M [INFO] ------------------------------------------------------------------------ > Exception if previous version artifact is not in local repo > ----------------------------------------------------------- > > Key: MCLIRR-12 > URL: http://jira.codehaus.org/browse/MCLIRR-12 > Project: Maven 2.x Clirr Plugin > Issue Type: Bug > Affects Versions: 2.2 > Reporter: luke w patterson > Priority: Minor > Attachments: MCLIRR-12-clirr-maven-plugin-2.2.patch > > > Patch is included. I'll try to submit sample project/repo and tests later. > ---------------------------------- > Scenario: > Running "clirr:check" with default comparisonVersion and comparisonArtifacts, > and previous version artifact is not in local repo > yields > net.sf.clirr.core.CheckerException: Cannot open > /home/user/.m2/repository/org/group/artifact/1.0/artifact-1.0.jar for reading > ---------------------------------- > AbstractClirrMojo finds previous versions with ArtifactMetadataSource, > resulting in the download of POMs, but not the associated artifacts. > I don't know if my patch is the most elegant solution, but at least it > highlights the problem area. After an artifact version is selected, it > explicitly requests resolution. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email