Add spring developer tools
Issue-ID: AAF-997
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com>
Change-Id: I86f9b41efa4157650149290c91509325d5bad7ca
diff --git a/certService/README.md b/certService/README.md
index 443390b..d133e9a 100644
--- a/certService/README.md
+++ b/certService/README.md
@@ -18,6 +18,12 @@
mvn spring-boot:run
```
+
+### Running Locally with Developer Tools
+ ```
+ mvn spring-boot:run -Pdev
+
+ ```
### Project building
```
diff --git a/certService/pom.xml b/certService/pom.xml
index a8a5296..2064d58 100644
--- a/certService/pom.xml
+++ b/certService/pom.xml
@@ -141,6 +141,16 @@
<profiles>
<profile>
+ <id>dev</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-devtools</artifactId>
+ <optional>true</optional>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
<id>docker-staging</id>
<properties>
<docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>