summaryrefslogtreecommitdiffstats
path: root/cps-application/pom.xml
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2024-02-02 12:25:47 +0000
committerdanielhanrahan <daniel.hanrahan@est.tech>2024-02-06 10:22:03 +0000
commit81f61b526eb28a6633101e0e80fd377cbba20438 (patch)
treeed77debcc27219c9e204d1fe0b9961162cf82e7f /cps-application/pom.xml
parent90b28d4b0eb228fd5906dabc50e1b543f1e3afed (diff)
Add maven classifier to Spring Boot JAR
Use a classifier so that both thin jar and spring boot jar are built. Issue-ID: CPS-2072 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iafa35992db09abf01b82668cde0eb75f12db7258
Diffstat (limited to 'cps-application/pom.xml')
-rw-r--r--cps-application/pom.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/cps-application/pom.xml b/cps-application/pom.xml
index b3e1fe9679..be7664aa5d 100644
--- a/cps-application/pom.xml
+++ b/cps-application/pom.xml
@@ -3,7 +3,7 @@
============LICENSE_START=======================================================
Copyright (c) 2021 Pantheon.tech.
Modifications Copyright (C) 2021 Bell Canada.
- Modifications Copyright (C) 2021-2023 Nordix Foundation
+ Modifications Copyright (C) 2021-2024 Nordix Foundation
Modifications Copyright (C) 2022 Deutsche Telekom AG
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
@@ -183,6 +183,16 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>repackage</goal>
+ </goals>
+ <configuration>
+ <classifier>springboot</classifier>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>