This post is in English because I find many solutions but all was wrong.
When You install m2eclipse plug-in probably You get error like this:
Eclipse is running in a JRE, but a JDK is required
You start search a solution and find something like

add
-vm
C:\Program Files\Java\jdk1.6.0_10\bin\javaw.exe
to Your eclipse.ini file

but it doesn’t work. Problem is that all authors ignore „next line character” difference between Unix-like OS and M$ Windows. If You put this two lines as last lines in eclipse.ini file, eclipse ignore it. Why? Probably eclipse can understand only Unix-like „next line character”. How to resolve this? Just put this two lines of code somewhere high. My eclipse.ini file:

-showsplash
org.eclipse.platform
-vm
C:Program Files\Java\jdk1.6.0_10\bin\javaw.exe
--launcher.XXMaxPermSize
128M
-vmargs
-Xms40m
-Xmx512m