Hi,

Odd.. cayenne-server.jar should not have a dependency on 
cayenne-jdk1.5-unpublished or cayenne-legal-unpublished. In fact it is an 
aggregated jar that *contains* the contents of those 2 jars. I never had this 
problem with Maven. Not sure how Ivy calculates the dependency tree, but if 
there's a way to add an "exclude", try it out, as these 2 jars are not needed...

Another guess... Do you have cgen class generator in your Ivy config? Could it 
be that cgen is the culprit here?

Andrus


On Feb 23, 2012, at 11:03 PM, Erlend Birkenes wrote:
> Hi
> 
> I'm trying to add Cayenne to a project using Ivy.
> 
> I've added these dependencies:
> <dependency org="org.apache.cayenne" name="cayenne-server"
> rev="3.0.2"></dependency>
> <dependency org="org.apache.cayenne" name="cayenne-client"
> rev="3.0.2"></dependency>
> 
> But it fails because it can't find
> 
> org.apache.cayenne.unpublished#cayenne-jdk1.5-unpublished;3.0.2 and
> org.apache.cayenne.unpublished#cayenne-legal-unpublished;3.0.2
> 
> Do anyone know how I can avoid that? Do I really need those files?
> 
> 
> Best regards,
> 
> Erlend Birkenes
> Dataloy Systems AS
> Phone: +47 98 81 41 57

Reply via email to