The maven eclipse plugin is not compatible with m2e.

On 21 November 2012 10:49, Shumail Arshad <[email protected]> wrote:

> I am quit new to maven, I have seen this problem and I fixed it via:
>
> In command line for each project folder (which contains pom):
> mvn eclipse:clean
>
> And then
> mvn eclipse:eclipse
>
> This will remove old project files and install new.
>
> Regards
> Shumail
>
>
> On Wed, Nov 21, 2012 at 2:32 PM, Matthew Piggott <[email protected]>wrote:
>
>> You should also be able to use the 'Convert to Maven Project' on the
>> context menus or simply remove the projects from the workspace and use one
>> of the Maven import wizards.
>>
>>
>>
>> On 21 November 2012 09:22, Marc Pasteur <[email protected]> wrote:
>>
>>> look at your .classpath file.
>>> If there is some "org.maven.ide.eclipse" things then :
>>>    * delete your project from your workspace
>>>    * delete .classpath, .project files and .settings folder
>>>    * reimport your project in eclipse
>>>
>>> regards
>>>
>>>
>>> 2012/11/21 Anders Hammar <[email protected]>
>>>
>>>> You were re-using a Maven project on disk? So there was probably old
>>>> Eclipse project files there which you need to remove.
>>>>
>>>> /Anders
>>>>
>>>>
>>>>
>>>> On Wed, Nov 21, 2012 at 1:27 PM, Kristian Lind <[email protected]>wrote:
>>>>
>>>>> U created a fresh one. Only the project is reused.
>>>>>
>>>>> On Wed, Nov 21, 2012 at 1:25 PM, Anders Hammar <[email protected]>wrote:
>>>>>
>>>>>> Did you use a fresh workspace or re-used the old one? m2e 1.x is not
>>>>>> compatible with Eclipse project config files created by m2e 0.x.
>>>>>>
>>>>>> /Anders
>>>>>>
>>>>>>
>>>>>> On Wed, Nov 21, 2012 at 1:17 PM, Kristian Lind <[email protected]>wrote:
>>>>>>
>>>>>>> Updated eclipse from Indigo to Juno.
>>>>>>>
>>>>>>> In Indigo there was Maven plugin
>>>>>>> Maven Integration for Eclipse (Required) 0.12.1.20110112-1712
>>>>>>> org.maven.ide.eclipse.feature.feature.group Sonatype, Inc.
>>>>>>>
>>>>>>> Installed Maven plugin in Juno
>>>>>>> m2e - Maven Integration for Eclipse 1.2.0.20120903-1050
>>>>>>> org.eclipse.m2e.feature.feature.group Eclipse.org - m2e
>>>>>>>
>>>>>>> Imported project that was used in Indigo.
>>>>>>>
>>>>>>> Maven dependencies is no longer on classpath, hence project cannot
>>>>>>> compile.
>>>>>>>
>>>>>>> Any suggestions ??
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> m2e-users mailing list
>>>>>>> [email protected]
>>>>>>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> m2e-users mailing list
>>>>>> [email protected]
>>>>>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Med venlig hilsen / Best regards
>>>>>
>>>>> Kristian Lind
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> m2e-users mailing list
>>>>> [email protected]
>>>>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> m2e-users mailing list
>>>> [email protected]
>>>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>>>>
>>>>
>>>
>>> _______________________________________________
>>> m2e-users mailing list
>>> [email protected]
>>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>>>
>>>
>>
>> _______________________________________________
>> m2e-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>>
>>
>
> _______________________________________________
> m2e-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
>
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to