You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Nishant Neeraj <nn...@yahoo.com> on 2010/01/17 17:38:37 UTC
Setting Up Cayenne as a Dependency
Hi,
I wanted to use Cayenne 3+ as dependency in my Maven build. I have used Cayenne earlier with ANT where I downloaded Cayenne.jar (2.78MB), now I am moving to Maven -- however, I do not find the right artifact-id that matches this Jar.
Can anyone tell me the correct dependency? I am very new to Maven.
Thanks - Nishant
PS: This http://cwiki.apache.org/CAY/cayenne-maven.html seems to be outdated.
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
Re: Setting Up Cayenne as a Dependency
Posted by Michael Gentry <mg...@masslight.net>.
<version>3.1RC1</version>
That should be 3.0 ... :-)
On Sun, Jan 17, 2010 at 11:52 AM, Andrus Adamchik
<an...@objectstyle.org> wrote:
>
> On Jan 17, 2010, at 6:38 PM, Nishant Neeraj wrote:
>
>> Hi,
>> I wanted to use Cayenne 3+ as dependency in my Maven build. I have used
>> Cayenne earlier with ANT where I downloaded Cayenne.jar (2.78MB), now I am
>> moving to Maven -- however, I do not find the right artifact-id that matches
>> this Jar.
>> Can anyone tell me the correct dependency? I am very new to Maven.
>
>
> <dependency>
> <groupId>org.apache.cayenne</groupId>
> <artifactId>cayenne-server</artifactId>
> <version>3.1RC1</version>
> </dependency>
>
>
>> Thanks - Nishant
>> PS: This http://cwiki.apache.org/CAY/cayenne-maven.html seems to be
>> outdated.
>
> yeah, this page is garbage. I just deleted it. The right instructions are in
> the Cayenne Guide (online or bundled with Cayenne download) :
>
> http://cayenne.apache.org/doc/cayenne-and-maven.html
>
> Andrus
>
>
>
Re: Setting Up Cayenne as a Dependency
Posted by Andrus Adamchik <an...@objectstyle.org>.
On Jan 17, 2010, at 6:38 PM, Nishant Neeraj wrote:
> Hi,
> I wanted to use Cayenne 3+ as dependency in my Maven build. I have
> used Cayenne earlier with ANT where I downloaded Cayenne.jar
> (2.78MB), now I am moving to Maven -- however, I do not find the
> right artifact-id that matches this Jar.
> Can anyone tell me the correct dependency? I am very new to Maven.
<dependency>
<groupId>org.apache.cayenne</groupId>
<artifactId>cayenne-server</artifactId>
<version>3.1RC1</version>
</dependency>
> Thanks - Nishant
> PS: This http://cwiki.apache.org/CAY/cayenne-maven.html seems to be
> outdated.
yeah, this page is garbage. I just deleted it. The right instructions
are in the Cayenne Guide (online or bundled with Cayenne download) :
http://cayenne.apache.org/doc/cayenne-and-maven.html
Andrus
Re: Setting Up Cayenne as a Dependency
Posted by Michael Gentry <mg...@masslight.net>.
If you use Eclipse, you should have the Eclipse M2 Maven plugin
installed -- it'll make life easier (you can search for dependencies
when editing the pom.xml, for example).
That being said, though, I have this in one of my project's pom.xml files:
<dependency>
<groupId>org.apache.cayenne</groupId>
<artifactId>cayenne-server</artifactId>
<version>3.0B1</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
Given that RC1 is out now, though, you may want to change the version to 3.0RC1.
mrg
On Sun, Jan 17, 2010 at 11:38 AM, Nishant Neeraj <nn...@yahoo.com> wrote:
> Hi,
> I wanted to use Cayenne 3+ as dependency in my Maven build. I have used Cayenne earlier with ANT where I downloaded Cayenne.jar (2.78MB), now I am moving to Maven -- however, I do not find the right artifact-id that matches this Jar.
> Can anyone tell me the correct dependency? I am very new to Maven.
> Thanks - Nishant
> PS: This http://cwiki.apache.org/CAY/cayenne-maven.html seems to be outdated.
>
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/