Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Bruno Sakoto | 5c7c489 | 2021-02-08 21:51:05 -0500 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | Copyright (c) 2021 Pantheon.tech. |
| 5 | Modifications Copyright (C) 2021 Bell Canada. |
danielhanrahan | 81f61b5 | 2024-02-02 12:25:47 +0000 | [diff] [blame] | 6 | Modifications Copyright (C) 2021-2024 Nordix Foundation |
Michal Jagiello | 6ce84d9 | 2022-12-13 07:40:19 +0000 | [diff] [blame] | 7 | Modifications Copyright (C) 2022 Deutsche Telekom AG |
Bruno Sakoto | 5c7c489 | 2021-02-08 21:51:05 -0500 | [diff] [blame] | 8 | ================================================================================ |
| 9 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | you may not use this file except in compliance with the License. |
| 11 | You may obtain a copy of the License at |
| 12 | |
| 13 | http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | |
| 15 | Unless required by applicable law or agreed to in writing, software |
| 16 | distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | See the License for the specific language governing permissions and |
| 19 | limitations under the License. |
| 20 | ============LICENSE_END========================================================= |
| 21 | --> |
| 22 | |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 23 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 24 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 25 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | |
| 28 | <parent> |
| 29 | <groupId>org.onap.cps</groupId> |
| 30 | <artifactId>cps-parent</artifactId> |
danielhanrahan | 64ff458 | 2024-08-21 16:14:53 +0100 | [diff] [blame] | 31 | <version>3.5.3-SNAPSHOT</version> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 32 | <relativePath>../cps-parent/pom.xml</relativePath> |
| 33 | </parent> |
| 34 | |
| 35 | <artifactId>cps-application</artifactId> |
| 36 | |
| 37 | <properties> |
Claudio D. Gasparini | 4ec225c | 2021-02-04 14:57:39 +0100 | [diff] [blame] | 38 | <app>org.onap.cps.Application</app> |
Rishi.Chail | 3f6f5b8 | 2021-03-15 13:35:57 +0000 | [diff] [blame] | 39 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
danielhanrahan | 4a87570 | 2024-02-28 07:13:50 +0000 | [diff] [blame] | 40 | <minimum-coverage>0.68</minimum-coverage> |
egernug | 2b8268f | 2023-07-03 10:09:09 +0100 | [diff] [blame] | 41 | <base.image>${docker.pull.registry}/onap/integration-java17:12.0.0</base.image> |
Renu Kumari | bd35b4d | 2021-05-17 07:16:48 -0400 | [diff] [blame] | 42 | <image.tag>${project.version}-${maven.build.timestamp}</image.tag> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 43 | </properties> |
| 44 | |
| 45 | <dependencies> |
| 46 | <dependency> |
| 47 | <groupId>org.springframework.boot</groupId> |
| 48 | <artifactId>spring-boot-starter-web</artifactId> |
| 49 | <exclusions> |
| 50 | <exclusion> |
| 51 | <groupId>org.springframework.boot</groupId> |
| 52 | <artifactId>spring-boot-starter-tomcat</artifactId> |
| 53 | </exclusion> |
| 54 | </exclusions> |
| 55 | </dependency> |
| 56 | <dependency> |
| 57 | <groupId>org.springframework.boot</groupId> |
Ruslan Kashapov | 0d6bbae | 2021-03-11 14:15:49 +0200 | [diff] [blame] | 58 | <artifactId>spring-boot-starter-jetty</artifactId> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>org.springframework.boot</groupId> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 62 | <artifactId>spring-boot-starter-actuator</artifactId> |
| 63 | </dependency> |
| 64 | <dependency> |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 65 | <groupId>org.springdoc</groupId> |
| 66 | <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
| 67 | </dependency> |
| 68 | <dependency> |
mpriyank | a7f3568 | 2024-02-28 14:10:54 +0000 | [diff] [blame] | 69 | <groupId>org.eclipse.jetty</groupId> |
| 70 | <artifactId>jetty-server</artifactId> |
| 71 | </dependency> |
| 72 | <dependency> |
puthuparambil.aditya | b46d137 | 2021-07-09 12:51:10 +0100 | [diff] [blame] | 73 | <groupId>io.micrometer</groupId> |
| 74 | <artifactId>micrometer-registry-prometheus</artifactId> |
| 75 | </dependency> |
| 76 | <dependency> |
egernug | 477bd46 | 2023-09-21 17:51:21 +0100 | [diff] [blame] | 77 | <groupId>io.micrometer</groupId> |
david.mcweeney | 2293486 | 2024-04-25 14:37:33 +0100 | [diff] [blame] | 78 | <artifactId>micrometer-tracing-bridge-otel</artifactId> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 79 | </dependency> |
egernug | 42daf63 | 2023-10-03 12:56:29 +0100 | [diff] [blame] | 80 | <dependency> |
| 81 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 82 | <artifactId>jackson-dataformat-xml</artifactId> |
| 83 | </dependency> |
| 84 | |
Ruslan Kashapov | 0d6bbae | 2021-03-11 14:15:49 +0200 | [diff] [blame] | 85 | <!-- T E S T D E P E N D E N C I E S --> |
| 86 | <dependency> |
Ruslan Kashapov | 0d6bbae | 2021-03-11 14:15:49 +0200 | [diff] [blame] | 87 | <groupId>org.codehaus.groovy</groupId> |
| 88 | <artifactId>groovy</artifactId> |
| 89 | <scope>test</scope> |
| 90 | </dependency> |
| 91 | <dependency> |
| 92 | <groupId>org.spockframework</groupId> |
| 93 | <artifactId>spock-core</artifactId> |
| 94 | <scope>test</scope> |
| 95 | </dependency> |
| 96 | <dependency> |
| 97 | <groupId>org.spockframework</groupId> |
| 98 | <artifactId>spock-spring</artifactId> |
| 99 | <scope>test</scope> |
| 100 | </dependency> |
| 101 | <dependency> |
| 102 | <groupId>cglib</groupId> |
| 103 | <artifactId>cglib-nodep</artifactId> |
| 104 | <scope>test</scope> |
| 105 | </dependency> |
| 106 | <dependency> |
egernug | 42daf63 | 2023-10-03 12:56:29 +0100 | [diff] [blame] | 107 | <groupId>com.tngtech.archunit</groupId> |
| 108 | <artifactId>archunit-junit5</artifactId> |
danielhanrahan | 43a5d4b | 2024-08-18 01:28:39 +0100 | [diff] [blame] | 109 | <scope>test</scope> |
egernug | 42daf63 | 2023-10-03 12:56:29 +0100 | [diff] [blame] | 110 | </dependency> |
| 111 | <dependency> |
Ruslan Kashapov | 0d6bbae | 2021-03-11 14:15:49 +0200 | [diff] [blame] | 112 | <groupId>org.springframework.boot</groupId> |
| 113 | <artifactId>spring-boot-starter-test</artifactId> |
| 114 | <scope>test</scope> |
Ruslan Kashapov | 0d6bbae | 2021-03-11 14:15:49 +0200 | [diff] [blame] | 115 | </dependency> |
egernug | 42daf63 | 2023-10-03 12:56:29 +0100 | [diff] [blame] | 116 | |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 117 | </dependencies> |
| 118 | |
| 119 | <build> |
| 120 | <pluginManagement> |
| 121 | <plugins> |
| 122 | <plugin> |
| 123 | <groupId>com.google.cloud.tools</groupId> |
| 124 | <artifactId>jib-maven-plugin</artifactId> |
egernug | 2b8268f | 2023-07-03 10:09:09 +0100 | [diff] [blame] | 125 | <version>3.3.2</version> |
Claudio D. Gasparini | 4ec225c | 2021-02-04 14:57:39 +0100 | [diff] [blame] | 126 | <configuration> |
| 127 | <container> |
| 128 | <mainClass>${app}</mainClass> |
| 129 | <creationTime>USE_CURRENT_TIMESTAMP</creationTime> |
| 130 | </container> |
| 131 | <from> |
| 132 | <image>${base.image}</image> |
| 133 | </from> |
| 134 | <to> |
Ruslan Kashapov | aad2240 | 2021-02-23 10:08:00 +0200 | [diff] [blame] | 135 | <tags> |
| 136 | <tag>latest</tag> |
| 137 | </tags> |
ToineSiebelink | a401e72 | 2021-06-30 08:38:51 +0100 | [diff] [blame] | 138 | <image>${docker.push.registry}/onap/${image.name}:${image.tag}</image> |
Claudio D. Gasparini | 4ec225c | 2021-02-04 14:57:39 +0100 | [diff] [blame] | 139 | </to> |
| 140 | </configuration> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 141 | <executions> |
| 142 | <execution> |
| 143 | <phase>package</phase> |
| 144 | <id>build</id> |
| 145 | <goals> |
| 146 | <goal>dockerBuild</goal> |
| 147 | </goals> |
| 148 | </execution> |
| 149 | <execution> |
| 150 | <phase>deploy</phase> |
| 151 | <id>buildAndPush</id> |
| 152 | <goals> |
| 153 | <goal>build</goal> |
| 154 | </goals> |
| 155 | </execution> |
| 156 | </executions> |
| 157 | </plugin> |
| 158 | </plugins> |
| 159 | </pluginManagement> |
| 160 | <plugins> |
| 161 | <plugin> |
| 162 | <groupId>org.springframework.boot</groupId> |
| 163 | <artifactId>spring-boot-maven-plugin</artifactId> |
danielhanrahan | 81f61b5 | 2024-02-02 12:25:47 +0000 | [diff] [blame] | 164 | <executions> |
| 165 | <execution> |
| 166 | <goals> |
| 167 | <goal>repackage</goal> |
| 168 | </goals> |
| 169 | <configuration> |
| 170 | <classifier>springboot</classifier> |
| 171 | </configuration> |
| 172 | </execution> |
| 173 | </executions> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 174 | </plugin> |
| 175 | </plugins> |
| 176 | </build> |
| 177 | <profiles> |
| 178 | <profile> |
| 179 | <id>cps-docker</id> |
| 180 | <activation> |
| 181 | <activeByDefault>false</activeByDefault> |
| 182 | </activation> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 183 | |
| 184 | <properties> |
| 185 | <image.name>cps-service</image.name> |
| 186 | </properties> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 187 | <dependencies> |
| 188 | <dependency> |
| 189 | <groupId>${project.groupId}</groupId> |
| 190 | <artifactId>cps-rest</artifactId> |
| 191 | </dependency> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 192 | <dependency> |
| 193 | <groupId>${project.groupId}</groupId> |
| 194 | <artifactId>cps-ri</artifactId> |
| 195 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 196 | </dependencies> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 197 | <build> |
| 198 | <plugins> |
| 199 | <plugin> |
| 200 | <groupId>com.google.cloud.tools</groupId> |
| 201 | <artifactId>jib-maven-plugin</artifactId> |
| 202 | </plugin> |
| 203 | </plugins> |
| 204 | </build> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 205 | </profile> |
| 206 | <profile> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 207 | <id>ncmp-docker</id> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 208 | <activation> |
| 209 | <activeByDefault>false</activeByDefault> |
| 210 | </activation> |
| 211 | |
| 212 | <properties> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 213 | <image.name>cps-ncmp</image.name> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 214 | </properties> |
| 215 | |
| 216 | <dependencies> |
| 217 | <dependency> |
| 218 | <groupId>${project.groupId}</groupId> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 219 | <artifactId>cps-ncmp-rest</artifactId> |
| 220 | <version>${project.version}</version> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 221 | </dependency> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 222 | <dependency> |
| 223 | <groupId>${project.groupId}</groupId> |
| 224 | <artifactId>cps-ri</artifactId> |
| 225 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 226 | </dependencies> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 227 | <build> |
| 228 | <plugins> |
| 229 | <plugin> |
| 230 | <groupId>com.google.cloud.tools</groupId> |
| 231 | <artifactId>jib-maven-plugin</artifactId> |
| 232 | </plugin> |
| 233 | </plugins> |
| 234 | </build> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 235 | </profile> |
| 236 | <profile> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 237 | <id>cps-ncmp-docker</id> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 238 | <activation> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 239 | <activeByDefault>true</activeByDefault> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 240 | </activation> |
| 241 | |
| 242 | <properties> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 243 | <image.name>cps-and-ncmp</image.name> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 244 | </properties> |
| 245 | |
| 246 | <dependencies> |
| 247 | <dependency> |
| 248 | <groupId>${project.groupId}</groupId> |
| 249 | <artifactId>cps-rest</artifactId> |
| 250 | </dependency> |
| 251 | <dependency> |
| 252 | <groupId>${project.groupId}</groupId> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 253 | <artifactId>cps-ncmp-rest</artifactId> |
| 254 | <version>${project.version}</version> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 255 | </dependency> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 256 | <dependency> |
| 257 | <groupId>${project.groupId}</groupId> |
| 258 | <artifactId>cps-ri</artifactId> |
| 259 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 260 | </dependencies> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 261 | <build> |
| 262 | <plugins> |
| 263 | <plugin> |
| 264 | <groupId>com.google.cloud.tools</groupId> |
| 265 | <artifactId>jib-maven-plugin</artifactId> |
egernug | 2b8268f | 2023-07-03 10:09:09 +0100 | [diff] [blame] | 266 | <version>3.3.2</version> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 267 | </plugin> |
| 268 | </plugins> |
| 269 | </build> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 270 | </profile> |
| 271 | </profiles> |
lukegleeson | 15b93e7 | 2021-07-07 15:25:30 +0100 | [diff] [blame] | 272 | </project> |