Further to this, you''l find that the eclipse projects base the locations of jars that they depend on a variable called M2_REPO, but that variable is not set. So you'll either need to set this variable and use maven to install these dependencies into your maven repository, or you will need redirect the dependencies to other projects in your eclipse workspace.
You can set the M2_REPO variable by right clicking on the java project, select Properties -=> Java Build Path and click "Add Variable". The variable should be set to a Folder which is ~/.m2/repository where ~ is your home folder/directory. Regards, Kelvin. On 16/10/06, Luciano Resende <[EMAIL PROTECTED]> wrote:
Once you generate the project files, you should be able to go to eclipse and do an import : Existing projects into Workspace, and select the directory you ran mvn -Peclipse eclipse:eclipse. Note that the command will generate eclipse project files for all projects contained on the sub directory tree you ran the command. - Luciano On 10/16/06, Brent Daniel <[EMAIL PROTECTED]> wrote: > > Adriano, > > Did you generate the eclipse artifacts using the maven build first? > If not, you can generate the .project and .classpath by doing: > > mvn -Peclipse eclipse:eclipse > > Brent > > On 10/16/06, Adriano Crestani <[EMAIL PROTECTED]> wrote: > > I've already downloaded all the source code using the subversion and now > I'm > > trying to import the projeto into the eclipse, but when I select the > folder > > where the .project was supposed to be the eclipse doesn't find any > project > > into this folder. Can anybody help me? > > > > Adriano Crestani > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
