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?

Hi Alex,

Thanks for your information! Sorry to reply so late.

I attached two screen shots with the problem I faced. In fact the
editing doesn't have problem, and I can compile cdt correctly by
terminal. Just wondering about where
"<packagin>eclipse-plugin</packaging>" is supported.

Greatly appreciate any replies on this!

Best Regards,

On Thu, Sep 8, 2011 at 2:22 AM, Alex Blewitt <alex.blewitt@xxxxxxxxx> wrote:
> On Sep 8, 2011, at 08:07, 郭晓峰 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.
>> 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?
> The org.eclipse.m2e plugin shipped with Indigo uses Maven 3 by default. I'm
> fairly sure the old Maven version used an embedded Maven 3 as well.
> Note that there are some additional constraints which may not be present for
> Maven 3 builds in Eclipse, which might be giving you the errors you are
> seeing:
> Alex
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx

Attachment: eclipse-plugin-packaging-problem.png
Description: PNG image

Attachment: eclipse-plugin-packagin-problem2.png
Description: PNG image

Back to the top