diff options
author | Lee Anjella Macabuhay <lee.anjella.macabuhay@est.tech> | 2024-02-06 14:35:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-02-06 14:35:04 +0000 |
commit | 72f2fb7eca73cc91338026c734778dd1dcba01b9 (patch) | |
tree | 30a31f3790c3a1ebe391ec61dbafe40256b682ce | |
parent | 627e9cb5f6bf7ea66bba15a376bbbfc134e588d9 (diff) | |
parent | 81f61b526eb28a6633101e0e80fd377cbba20438 (diff) |
Merge "Add maven classifier to Spring Boot JAR"
-rw-r--r-- | cps-application/pom.xml | 12 | ||||
-rw-r--r-- | docs/release-notes.rst | 7 |
2 files changed, 18 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> diff --git a/docs/release-notes.rst b/docs/release-notes.rst index f5cef76eda..4c93dd1f4c 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -44,6 +44,13 @@ Bug Fixes Features -------- - `CPS-1824 <https://jira.onap.org/browse/CPS-1824>`_ CPS Delta between 2 anchors. + - `CPS-2072 <https://jira.onap.org/browse/CPS-2072>`_ Add maven classifier to Spring Boot JAR. + +Notes +----- +The maven build of cps-application has been changed so that the JAR produced by spring-boot-maven-plugin has a +*-springboot* classifier (`CPS-2072 <https://jira.onap.org/browse/CPS-2072>`_). This means that the filename +of the Spring Boot JAR is *cps-application-3.4.3-springboot.jar*. Version: 3.4.2 ============== |