You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 21:50:13 UTC
[jira] (MANTTASKS-200) cacheDepedencyRefs not compatible with ant
or antcall tasks
[ https://jira.codehaus.org/browse/MANTTASKS-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MANTTASKS-200.
------------------------------------
Resolution: Won't Fix
Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.
> cacheDepedencyRefs not compatible with ant or antcall tasks
> -----------------------------------------------------------
>
> Key: MANTTASKS-200
> URL: https://jira.codehaus.org/browse/MANTTASKS-200
> Project: Maven Ant Tasks
> Issue Type: Bug
> Components: dependencies task
> Affects Versions: 2.1.1
> Reporter: Peter Phillips
> Priority: Minor
> Attachments: build_with_antcache.xml, build_with_cache.xml, build.xml
>
>
> Adding cacheDependencyRefs to the artifact:dependencies task changes the scope of declared references.
> Attached are two ant build files identical apart from the first (build.xml) has no caching, the second (build_with_cache) with cache set to true.
> With caching turned off the test.path is set correctly for the build2 antcall, set to log4j.
> With caching turned on, the test.path is not remembered for the build2 antcall, even though inheritRefs is set to true. Instead it reverts to the original test.path fileset declaration instead.
> Unfortunately I have found that cacheDependencyRefs is required, as otherwise the permanent generation requirements get huge (in my case I gave up after allocating 500mb of perm gen to ant).
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)