/java-tech

Java technologies

Primary LanguageJava

maven-kickstart

Step 1: the user info
// check the user and email of the project
cmd:> git config --local user.name
cmd:> git config --local user.email

// set the right user info cmd:> git config --local user.email "yourUserName or Name Surname"
cmd:> git config --local user.email your.email@google.com

Deploy on Tomcat

There is Tomcat7 embedded in the pom.xml. To deploy the application and run the command:

  • to compile and generate the war file: mvn clean package -DskipTests
  • to deploy and run: mvn tomcat7:run

Or in one step: mvn clean package -DskipTests tomcat7:run