-
1. Re: Ivy dependency problem with Infinispan 5.x
dmitry123 Oct 17, 2011 5:54 PM (in response to dmitry123)here's the error from the ivy-resolve target on Linux.
2011-10-17 14:27:57,178 [Thread-14085] INFO - [ivy-resolve] :: problems summary ::
2011-10-17 14:27:57,178 [Thread-14085] INFO - [ivy-resolve] :::: WARNINGS
2011-10-17 14:27:57,178 [Thread-14085] INFO - [ivy-resolve] [NOT FOUND ] org.infinispan#infinispan-core;5.1.0.BETA1!infinispan-core.${packaging} (0ms)
2011-10-17 14:27:57,178 [Thread-14085] INFO - [ivy-resolve] ==== repo-maven: tried
2011-10-17 14:27:57,178 [Thread-14085] INFO - [ivy-resolve] http://xyz.com/artifactory/repo/org/infinispan/infinispan-core/5.1.0.BETA1/infinispan-core-5.1.0.BETA1.${packaging}
2011-10-17 14:27:57,178 [Thread-14085] INFO - [ivy-resolve] ::::::::::::::::::::::::::::::::::::::::::::::
2011-10-17 14:27:57,178 [Thread-14085] INFO - [ivy-resolve] :: FAILED DOWNLOADS ::
2011-10-17 14:27:57,178 [Thread-14085] INFO - [ivy-resolve] :: ^ see resolution messages for details ^ ::
2011-10-17 14:27:57,178 [Thread-14085] INFO - [ivy-resolve] ::::::::::::::::::::::::::::::::::::::::::::::
2011-10-17 14:27:57,178 [Thread-14085] INFO - [ivy-resolve] :: org.infinispan#infinispan-core;5.1.0.BETA1!infinispan-core.${packaging}
2011-10-17 14:27:57,178 [Thread-14085] INFO - [ivy-resolve] ::::::::::::::::::::::::::::::::::::::::::::::
2011-10-17 14:27:57,178 [Thread-14085] INFO - [ivy-resolve]
-
2. Re: Ivy dependency problem with Infinispan 5.x
galder.zamarreno Oct 18, 2011 5:40 AM (in response to dmitry123)The parent pom clearly indicates what the packaging property value should be (value: jar):
No idea why Ivy ignores it, maybe it's not finding the parent pom? If it did not, it would not be able to determine thirdparty library versions either.
-
3. Re: Ivy dependency problem with Infinispan 5.x
dmitry123 Oct 18, 2011 9:52 AM (in response to galder.zamarreno)Galder,
There's definitely a problem with how Infinispan is setup with Ivy. I was able to get it working, but in a hacky way. If I don't clean my ivy cache from one build to the next build it retrieves most of the dependencies. If the ivy cache is cleaned and the dependencies have to be resolved again it gives that ${packaging} error. The other problem is the infinispan-query dependency doesn't retrieve lucene-core. I had to include an explicit dependency in my own ivy.xml.
Can somebody please take a look at this Ivy problem closer? All you need is Eclipse, IvyDE plugin for Eclipse and a simple Java project.
-
4. Re: Ivy dependency problem with Infinispan 5.x
galder.zamarreno Oct 19, 2011 11:53 AM (in response to dmitry123)Dmitry, why don't you open a JIRA with the issues you've found so far in https://issues.jboss.org/browse/ISPN ?
Btw, we don't have a particular Ivy set up, we're just using maven as is. Could it be a problem in ivy itself?
Also, you seem to be pretty knowledgeable in ivy, so maybe you can tackle this yourself?
-
5. Re: Ivy dependency problem with Infinispan 5.x
antony.blakey Nov 6, 2011 8:51 PM (in response to galder.zamarreno)This problem occurs when using gradle to pull infinispan as well. I fixed it by replacing all of the ${packaging} parameters with 'jar' and then rebuilding. Using gradle we have less control over ivy, so ivy specific fixes aren't that useful.
Why is packaging parametric? Can it be changed?
-
8. Re: Ivy dependency problem with Infinispan 5.x
galder.zamarreno Nov 7, 2011 4:23 AM (in response to antony.blakey)As said on the JIRA:
"Hibernate uses Gradle and we have no problems linking Infinispan there. See: