Template for REST webservice with spring
- Java 8
- Spring Boot
- Maven 3
- Release plugin
- FindBugs plugin
 
- JUnit
To generate local builds with maven:
 mvn clean installTo generate versioned builds for production and homologation enviroments:
  mvn release:clean
  mvn release:prepare
After building project, get .war file and run on your current web server:
- Tomcat
	./startup.shCall this curl to get your access token:
	curl -X POST clientIdPassword:secret@localhost:8080//basic-oauth/oauth/token -d grant_type=password -d username=john -d password=123 -d client_id=clientIdPasswordCall the curl with token like this to make use of the methods:
	curl -H "Authorization: Bearer $TOKEN" localhost:8080/basic-oauth/