Set eclipse work space:
mvn -Declipse.workspace="your Eclipse Workspace" eclipse:configure-workspacemvn -Declipse.workspace="your Eclipse Workspace" eclipse:add-maven-repo
mvn -Declipse.workspace=D:\eclipse-ws\20120229 eclipse:add-maven-repo
mvn -Declipse.workspace=D:\eclipse-ws\20120229 eclipse:configure-workspace
Create eclipse project resource files:
mvn ecliplse:cleanmvn ecliplse:eclise
Run Single test class or method:
mvn test -Dtest=ClassName
mvn test -Dtest=ClassName#methodName
mvn test -Dtest=com.gwt.server.service.CertServTest
mvn test -Dtest=com.gwt.server.service.CertServTest#testCertDetail
Running a Single Test
mvn test -Dtest=com.gwt.server.service.CertServTest#testCertDetail
Running a Single Test