Reputation: 23
I installed M2E plugin in Eclipse Mars and also Maven is installed in my system but I was unable to see an Maven option while I'm trying to import the maven project and also unable to see Maven option while trying to configure existing Java project to Maven project.
Upvotes: 0
Views: 623
Reputation: 1446
If you have all correct (64b) versions, follow this steps.
Extract Maven zipped file in any folder (preferible C:\Program Files\
)
Add the bin
directory of the created directory apache-maven-3.0.3
to the PATH
environment variable.
Check environment variable value e.g.
echo %JAVA_HOME%
Must look like:
C:\Program Files\Java\jdk1.7.0_51
Adding Maven folder to PATH:
bin
directory to your user PATH
environment variable by opening up the system properties (WinKey + Pause)C:\Program Files\apache-maven-3.0.9\bin
. Check your folder is same!!!JAVA_HOME
to the location of your JDK
, e.g. C:\Program Files\Java\jdk1.7.0_51
Verifying
cmd
mvn -v
to verify the installation.Upvotes: 1