Java Tools - leoroque/Webapp-01 GitHub Wiki

Maven

Java dependency manager

Useful Commands

  • mvn package :compile java classes and generate the final artifact to be deployed into an environment (a *.jar file)

  • mvn spring-boot:run :execute the web application

Git

Distributed version control system

  • git init initiate a local git repository

  • git remote add origin [git location] add a remote git repository to a local repository

  • git status verify files status after some change

  • git add . add all the files (new files or updated files) to be available to commit

  • git commit -m 'some comment' locally commit files into git repository

  • git push origin master commit changes into remote git repository