[
https://issues.apache.org/jira/browse/IVY-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502035#comment-13502035
]
Janelle Dahling commented on IVY-1389:
--------------------------------------
Some background information:
This behavior seems to be a lot like IVY-577. Here is my dependency
configuration:
<dependency org="spring" name="spring-framework"
rev="3.1.2.RELEASE"
conf="default->jsr107;test->mock" >
</dependency>
<dependency org="spring" name="spring-security"
rev="3.1.3.RELEASE"
conf="default->default" >
</dependency>
I will attach the ivy.xml for spring-framework 3.1.2.RELEASE and
spring-security 3.1.3.RELEASE and spring-framework 3.0.7.RELEASE-2 (the
transitive dependency of spring-security 3.1.3.RELEASE)
With this configuration when I resolve dependencies, ivy correctly evicts
3.0.7.RELEASE-2 spring-framework but only sources the subset of libraries
listed as the transitive dependencies of spring-security.
Heres what's in my default directory after resolving (note that only the subset
of transitive dependencies of the spring-framework 3.1.2.RELEASE libraries are
available):
11/21/2012 07:12 AM <DIR> .
11/21/2012 07:12 AM <DIR> ..
03/06/2012 06:12 AM 4,467 aopalliance-1.0.jar
05/18/2007 02:08 PM 327,810 backport-util-concurrent-3.0.jar
10/25/2012 01:08 PM 86,226 cas-client-core-3.1.12.jar
10/25/2012 12:12 PM 232,771 commons-codec-1.6.jar
03/18/2010 12:58 PM 261,809 commons-lang-2.4.0.jar
04/14/2008 04:12 PM 60,841 commons-logging-1.1.1.jar
10/02/2009 11:53 AM 62,086 commons-pool-1.3.0.jar
06/30/2010 02:43 PM 263,854 ehcache-1.5.0-2.jar
10/25/2012 12:45 PM 666,665 guice-2.0.jar
10/25/2012 12:26 PM 351,132 httpclient-4.1.1.jar
10/25/2012 12:26 PM 105,864 httpclient-cache-4.1.1.jar
10/25/2012 12:27 PM 181,041 httpcore-4.1.1.jar
10/25/2012 12:27 PM 26,889 httpmime-4.1.1.jar
08/23/2010 11:07 AM 8,277 jsr107cache-1.5.0-2.jar
10/25/2012 12:56 PM 197,480 openid4java-0.9.6.662.jar
11/02/2012 06:38 AM 332,641 org.springframework.aop-3.1.2.RELEASE.jar
11/02/2012 06:38 AM 592,232
org.springframework.beans-3.1.2.RELEASE.jar
11/02/2012 06:38 AM 245,031
org.springframework.transaction-3.1.2.RELEASE.jar
11/02/2012 06:38 AM 548,703 org.springframework.web-3.1.2.RELEASE.jar
09/28/2012 05:46 AM 242,753 spring-ldap-all-1.3.0.RELEASE-2.jar
10/25/2012 06:04 AM 79,531 spring-security-acl-3.1.3.RELEASE.jar
10/25/2012 06:04 AM 6,471 spring-security-aspects-3.1.3.RELEASE.jar
10/25/2012 06:04 AM 24,191 spring-security-cas-3.1.3.RELEASE.jar
10/25/2012 06:04 AM 203,704 spring-security-config-3.1.3.RELEASE.jar
10/25/2012 06:04 AM 340,254 spring-security-core-3.1.3.RELEASE.jar
10/25/2012 06:04 AM 41,435 spring-security-crypto-3.1.3.RELEASE.jar
10/25/2012 06:04 AM 92,777 spring-security-ldap-3.1.3.RELEASE.jar
10/25/2012 06:04 AM 19,373 spring-security-openid-3.1.3.RELEASE.jar
10/25/2012 06:04 AM 11,302
spring-security-remoting-3.1.3.RELEASE.jar
10/25/2012 06:04 AM 33,311
spring-security-samples-contacts-3.1.3.RELEASE.jar
10/25/2012 06:04 AM 7,079
spring-security-samples-tutorial-3.1.3.RELEASE.jar
10/25/2012 06:04 AM 20,981 spring-security-taglibs-3.1.3.RELEASE.jar
10/25/2012 06:04 AM 253,820 spring-security-web-3.1.3.RELEASE.jar
33 File(s) 5,932,801 bytes
2 Dir(s) 200,135,892,992 bytes free
And likewise in my ivy cache:
Directory of C:\Users\jmdahli\.ivy\cache\spring\spring-framework\jars
11/21/2012 07:12 AM <DIR> .
11/21/2012 07:12 AM <DIR> ..
11/02/2012 06:38 AM 332,641 org.springframework.aop-3.1.2.RELEASE.jar
11/02/2012 06:38 AM 592,232
org.springframework.beans-3.1.2.RELEASE.jar
11/02/2012 06:38 AM 229,461
org.springframework.test-3.1.2.RELEASE.jar
11/02/2012 06:38 AM 245,031
org.springframework.transaction-3.1.2.RELEASE.jar
11/02/2012 06:38 AM 548,703 org.springframework.web-3.1.2.RELEASE.jar
> Missing artifacts on double (all direct and specific artifact by way of
> transitive) dependency to lib
> -----------------------------------------------------------------------------------------------------
>
> Key: IVY-1389
> URL: https://issues.apache.org/jira/browse/IVY-1389
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.2.0
> Reporter: Janelle Dahling
>
> Libraries of a componentA are missing from configuration when componentB has
> a subset of an older version of componentA's libraries as a transitive
> dependency.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira