aboutsummaryrefslogtreecommitdiffstats
path: root/certService
diff options
context:
space:
mode:
authorAleksandra Maciaga <aleksandra.maciaga@nokia.com>2020-02-17 16:01:58 +0100
committerAleksandra Maciaga <aleksandra.maciaga@nokia.com>2020-02-18 12:44:43 +0100
commit6e45f9f98b6a27ef5b2b3134b4974f004cfc6e31 (patch)
treea571cae4caa2c3b2a4cea7a6f5a0a026e731bd21 /certService
parent6e639f193bcae8b8dfbd286dce456a39275dd988 (diff)
Add spring developer tools
Issue-ID: AAF-997 Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Change-Id: I86f9b41efa4157650149290c91509325d5bad7ca
Diffstat (limited to 'certService')
-rw-r--r--certService/README.md6
-rw-r--r--certService/pom.xml10
2 files changed, 16 insertions, 0 deletions
diff --git a/certService/README.md b/certService/README.md
index 443390b3..d133e9a3 100644
--- a/certService/README.md
+++ b/certService/README.md
@@ -18,6 +18,12 @@ More information about the project and all its functionalities you can find unde
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 a8a5296c..2064d58e 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>