maven Goals list in eclipse using m2eclipse
I am running a simple spring hello world project through maven within eclipse(helios). I have installed m2eclipse plugin.
when i right click on
myproject>>>>Run As>>>>Run configurations>>>>and press 'select' in front of 'Goals'
it shows empty list with no Goals. why??? i have tried solution given in Empty goals list in m2Eclipse (MAVEN) but it did not worked
Actually what i want to do is to compile my project as i do in command line by using
In eclipse i am able to use clean, resources:resources but i could not compile my project.
EDIT: It is showing error:
Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable.
My list is also empty, but if you already know the goal you want to execute you can simply type it. So if you want to compile your project, just type "compile" after "Goals:" and click Run.