From 7343beeaf260747aef6a6b9c22acd91de67c5ca0 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Mon, 19 Sep 2022 16:55:36 +0200 Subject: Add instructions to invoke the linter and code formatter plugins to the README and invoke the formatter Issue-ID: AAI-3526 Signed-off-by: Fiete Ostkamp Change-Id: Ibd383994732cea6460153704a1153beb530dc6c3 --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a504159..6b8bcab 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,20 @@ # AAI Schema Service +## Development ### Local setup - In order to start the service locally, here is what needs to be done - -``` -> mvn clean install +``` bash +mvn clean install ``` -Above command only needs to be run the first time +Above command only needs to be run the first time. The command below actually starts the microservice - +``` bash +mvn -pl aai-schema-service -PrunAjsc ``` -> mvn -pl aai-schema-service -PrunAjsc + +### Run code formatter +``` bash +mvn formatter:format spotless:apply process-sources ``` -- cgit