To run tomcat:
mvn clean install tomcat7:run
To launch unit Tests:
mvn -P integration verify
To launch specific Unit test:
mvn -P integration -Dit.test=Module2_* verify
To import Maven project in eclipse: File > Import... > Maven > Existing maven project
Run > run configuration... > Maven buils > add
to launch tomcat
name: Tomcat
base directory: ${workspace_loc:/bookstore}
goal: tomcat7:run
and to perform unit tests
name: Integration Tests
base directory: ${workspace_loc:/bookstore}
goal: -P integration verify