1. Add Restful API
2. Add outputDirectory to POM.xml