[
https://issues.apache.org/jira/browse/IVY-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590691#action_12590691
]
Xavier Hanin commented on IVY-803:
----------------------------------
Workaround for the cache:
Set the artifactPattern on caches element:
http://ant.apache.org/ivy/history/latest-milestone/configuration/caches.html
Example:
{noformat}
<ivysettings>
<caches
artifactPattern="[organisation]/[module]/[type]s/[artifact]-[revision](-[classifier]).[ext]"
/>
</ivysettings>
{noformat}
If you use retrieve, you may have to change the pattern to and add the
classifier.
In the resolver for ibiblio in m2compatible mode, there's nothing to do, it
should work.
> Cache can't distinguish artifacts with classifiers
> --------------------------------------------------
>
> Key: IVY-803
> URL: https://issues.apache.org/jira/browse/IVY-803
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.0.0-beta-2
> Reporter: James P. White
>
> Once an artifact with a Maven classifier is in the cache, then that will
> match any classifier value.
> Presumably the fix is to include the classifier in the artifact pattern for
> the cache.
> But this seems a little obnoxious since AFAICT this problem may exist with
> all artifact patterns.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.