diff options
author | wasala <przemyslaw.wasala@nokia.com> | 2018-03-28 14:20:58 +0200 |
---|---|---|
committer | wasala <przemyslaw.wasala@nokia.com> | 2018-03-28 14:20:58 +0200 |
commit | d8e4e88b6080dfd701ea7aa64d033c38899e77c6 (patch) | |
tree | 87e23a50375086b4c3737084f9e9d6f6d17229a2 /prh-app-server/pom.xml | |
parent | 961af3e21239edd4714e7e586ed5db902bd85d53 (diff) |
Added logs
Improve Dockerfile and build fat jar
Change-Id: I8b4dd1a56350af310c70236d6843ae1c357ad95e
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
Diffstat (limited to 'prh-app-server/pom.xml')
-rw-r--r-- | prh-app-server/pom.xml | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/prh-app-server/pom.xml b/prh-app-server/pom.xml index a03e27f3..5a62e40e 100644 --- a/prh-app-server/pom.xml +++ b/prh-app-server/pom.xml @@ -22,6 +22,17 @@ <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>repackage</goal> + </goals> + </execution> + </executions> + <configuration> + <finalName>prh-app-server</finalName> + <mainClass>org.onap.dcaegen2.services.prh.MainApp</mainClass> + </configuration> </plugin> </plugins> </build> @@ -39,18 +50,16 @@ <!-- LOGGING DEPENDENCIES--> <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> </dependency> - <dependency> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-core</artifactId> + <groupId>org.slf4j</groupId> + <artifactId>jul-to-slf4j</artifactId> </dependency> - <dependency> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-classic</artifactId> + <groupId>org.slf4j</groupId> + <artifactId>log4j-over-slf4j</artifactId> </dependency> <!--TESTS DEPENDENCIES --> |