Looks like M2_REPO in Ecilpse also has to be defined. Probably
something like this, although the exact location will vary. In
Eclipse 3.1, it's done by going to windows -> preferences -> java ->
build path -> classpath variables, then clicking New and entering the
following values:
Name: M2_REPO
Path: C:/m2/repository
On 2/27/07, Mike Kienenberger <mkienen..mail.com> wrote:
> Using Eclipse with Mavenized Cayenne - http://cayenne.apache.org/eclipse.html
>
> Unfortunately this page needs some details.
>
> ==========================
> # Get code from Subversion and build it from command line to seed the
> local repository.
> # Create two workspaces - one for JDK 1.4 and one for 1.5 code.
> ==========================
>
> I'm guessing from my MyFaces maven experience that the checkout
> directory must be external to the workspaces created. There should
> probably be more explicit instructions on how to import the projects,
> and I suspect that "mvn eclipse:eclipse" has to be executed
> beforehand. You might be able to crib notes from
> http://wiki.apache.org/myfaces/Eclipse_IDE (The first paragraph now
> seems out of place with the original document, so you'll want to sort
> through it).
>
> ==========================
> # Most Maven modules that contain source code include Eclipse project
> files, so they can be imported in a corresponding workspace, depending
> on the required JDK compliance level. You don't have to import all
> modules, only those that you are planning to work on, as the projects
> do not have Eclipse-level dependencies on each other (dependencies are
> resolved via Maven).
> ==========================
>
> It's also unclear which modules should be imported into which workspace.
>
This archive was generated by hypermail 2.0.0 : Tue Feb 27 2007 - 22:53:41 EST