Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How to import cdt maven projects into eclipse?

On 8 September 2011 08:07, 郭晓峰 <lamuguo@xxxxxxxxx> wrote:
> I pull the latest CDT code, and glad to find it supports maven now. I
> found I need to use maven3 for using tycho plugins, and the
> compilation successfully done in my Ubuntu. However, once I tried to
> import a small project into eclipse with m2eclipse, Eclipse gave me
> errors and mention the compilation error. Looks it still used old
> maven2 in the machine.

In the IDE the plugins build with the normal Plugin Development
Environment. I've never had to use m2e plugins to work with CDT in
eclipse, so not sure why you need to.

> Is there any way to make eclipse (or m2eclipse plugin) using maven3 to
> skip this problem? Or, do you guys have other ways to import projects
> into eclipse?

Just File > Import > Existing Projects into workspace.  I have a
project set that excludes various bits with external dependencies
(lrparser primarily), but it all just works.

Cheers,
James


Back to the top