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

mvn compiler:compile


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 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.

Need Your Help

Position divs on top of background image with relative position

css html imagemap

I have full-width div with a background image in it. The background image has people in it and I'd like to show a tooltip when you hover over each person.

Redshift SQL Workbench doesnot show Object Explorer

amazon-redshift sql-workbench-j

I am relatively new to Redshift but have used the SQL Server Management Studio(SSMS) to work with SQL Server.