Hi,

On 12.10.2010, at 12:02, Andrey Razumovsky wrote:
> These ones are defined in cayenne-parent POM and should've been downloaded
> automatically.

I just looked at the cayenne-parent-3.0.1.pom, and there are no repository 
definitions there. The dependencies are there, yes, but from where should they 
be downloaded?

> Are you trying to build Cayenne or just add Cayenne via
> dependency?

No building, just trying to use it.

I added the cayenne-client-3.0.1 and cayenne-server-3.0.1 depencencies to my 
pom, and then got the errors about the missing dependencies:

Missing:
----------
1) com.caucho:resin-hessian:jar:3.1.6

and after resolving that I get:

Missing:
----------
1) foundrylogic.vpp:vpp:jar:2.2.1

Marc

> 2010/10/12 Marc Guenther <[email protected]>
> 
>> Hi,
>> 
>> while cayenne itself is available at repo1.maven.org, some of its
>> dependencies are not.
>> 
>> When following the instructions here:
>> http://cayenne.apache.org/doc30/cayenne-and-maven.html
>> 
>> I get errors about missing foundrylogic.vpp and resin-hessian libraries.
>> The first one is available at http://objectstyle.org/maven2, the other at
>> http://caucho.com/m2.
>> 
>> I had to add the following repositories to my pom to make it work:
>>   <repositories>
>>       <repository>
>>           <id>caucho</id>
>>           <url>http://caucho.com/m2</url>
>>           <snapshots>
>>               <enabled>true</enabled>
>>               <updatePolicy>always</updatePolicy>
>>           </snapshots>
>>           <releases>
>>               <enabled>true</enabled>
>>           </releases>
>>       </repository>
>>       <repository>
>>           <id>objectstyle</id>
>>           <url>http://objectstyle.org/maven2</url>
>>           <snapshots>
>>               <enabled>true</enabled>
>>               <updatePolicy>always</updatePolicy>
>>           </snapshots>
>>           <releases>
>>               <enabled>true</enabled>
>>           </releases>
>>       </repository>
>>   </repositories>
>> 
>> Would be nice to add this to the doc, or make the libs available at central
>> somehow.
>> 
>> Marc
>> 
>> 
> 
> 
> -- 
> Andrey

Reply via email to