[
http://jira.codehaus.org/browse/MCLIRR-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Casey closed MCLIRR-12.
----------------------------
Assignee: John Casey
Resolution: Fixed
I just ran across this same problem, and fixed it in the code. The SVN revision
is: 7157.
It looks like the current version snapshot in SVN is 2.3-snapshot, though, so
the fix-for version in this issue is going to be incorrect...I'll leave it
empty for now.
> 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
> Assignee: John Casey
> 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