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> |
mpriyank | a1703ea | 2024-02-29 17:47:47 +0000 | [diff] [blame] | 31 | <version>3.4.7-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> |
| 73 | <groupId>org.eclipse.jetty</groupId> |
| 74 | <artifactId>jetty-http</artifactId> |
| 75 | </dependency> |
| 76 | <dependency> |
| 77 | <groupId>jakarta.servlet</groupId> |
| 78 | <artifactId>jakarta.servlet-api</artifactId> |
| 79 | </dependency> |
| 80 | <dependency> |
puthuparambil.aditya | b46d137 | 2021-07-09 12:51:10 +0100 | [diff] [blame] | 81 | <groupId>io.micrometer</groupId> |
| 82 | <artifactId>micrometer-registry-prometheus</artifactId> |
| 83 | </dependency> |
| 84 | <dependency> |
egernug | 477bd46 | 2023-09-21 17:51:21 +0100 | [diff] [blame] | 85 | <groupId>io.micrometer</groupId> |
| 86 | <artifactId>micrometer-tracing-bridge-brave</artifactId> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 87 | </dependency> |
egernug | 42daf63 | 2023-10-03 12:56:29 +0100 | [diff] [blame] | 88 | <dependency> |
| 89 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 90 | <artifactId>jackson-dataformat-xml</artifactId> |
| 91 | </dependency> |
| 92 | |
Ruslan Kashapov | 0d6bbae | 2021-03-11 14:15:49 +0200 | [diff] [blame] | 93 | <!-- T E S T D E P E N D E N C I E S --> |
| 94 | <dependency> |
| 95 | <groupId>org.springframework.security</groupId> |
| 96 | <artifactId>spring-security-test</artifactId> |
| 97 | <scope>test</scope> |
| 98 | </dependency> |
| 99 | <dependency> |
| 100 | <groupId>org.codehaus.groovy</groupId> |
| 101 | <artifactId>groovy</artifactId> |
| 102 | <scope>test</scope> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>org.spockframework</groupId> |
| 106 | <artifactId>spock-core</artifactId> |
| 107 | <scope>test</scope> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>org.spockframework</groupId> |
| 111 | <artifactId>spock-spring</artifactId> |
| 112 | <scope>test</scope> |
| 113 | </dependency> |
| 114 | <dependency> |
| 115 | <groupId>cglib</groupId> |
| 116 | <artifactId>cglib-nodep</artifactId> |
| 117 | <scope>test</scope> |
| 118 | </dependency> |
| 119 | <dependency> |
egernug | 42daf63 | 2023-10-03 12:56:29 +0100 | [diff] [blame] | 120 | <groupId>com.tngtech.archunit</groupId> |
| 121 | <artifactId>archunit-junit5</artifactId> |
| 122 | </dependency> |
| 123 | <dependency> |
Ruslan Kashapov | 0d6bbae | 2021-03-11 14:15:49 +0200 | [diff] [blame] | 124 | <groupId>org.springframework.boot</groupId> |
| 125 | <artifactId>spring-boot-starter-test</artifactId> |
| 126 | <scope>test</scope> |
| 127 | <exclusions> |
| 128 | <exclusion> |
| 129 | <groupId>org.junit.vintage</groupId> |
| 130 | <artifactId>junit-vintage-engine</artifactId> |
| 131 | </exclusion> |
| 132 | </exclusions> |
| 133 | </dependency> |
egernug | 42daf63 | 2023-10-03 12:56:29 +0100 | [diff] [blame] | 134 | |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 135 | </dependencies> |
| 136 | |
| 137 | <build> |
| 138 | <pluginManagement> |
| 139 | <plugins> |
| 140 | <plugin> |
| 141 | <groupId>com.google.cloud.tools</groupId> |
| 142 | <artifactId>jib-maven-plugin</artifactId> |
egernug | 2b8268f | 2023-07-03 10:09:09 +0100 | [diff] [blame] | 143 | <version>3.3.2</version> |
Claudio D. Gasparini | 4ec225c | 2021-02-04 14:57:39 +0100 | [diff] [blame] | 144 | <configuration> |
| 145 | <container> |
| 146 | <mainClass>${app}</mainClass> |
| 147 | <creationTime>USE_CURRENT_TIMESTAMP</creationTime> |
| 148 | </container> |
| 149 | <from> |
| 150 | <image>${base.image}</image> |
| 151 | </from> |
| 152 | <to> |
Ruslan Kashapov | aad2240 | 2021-02-23 10:08:00 +0200 | [diff] [blame] | 153 | <tags> |
| 154 | <tag>latest</tag> |
| 155 | </tags> |
ToineSiebelink | a401e72 | 2021-06-30 08:38:51 +0100 | [diff] [blame] | 156 | <image>${docker.push.registry}/onap/${image.name}:${image.tag}</image> |
Claudio D. Gasparini | 4ec225c | 2021-02-04 14:57:39 +0100 | [diff] [blame] | 157 | </to> |
| 158 | </configuration> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 159 | <executions> |
| 160 | <execution> |
| 161 | <phase>package</phase> |
| 162 | <id>build</id> |
| 163 | <goals> |
| 164 | <goal>dockerBuild</goal> |
| 165 | </goals> |
| 166 | </execution> |
| 167 | <execution> |
| 168 | <phase>deploy</phase> |
| 169 | <id>buildAndPush</id> |
| 170 | <goals> |
| 171 | <goal>build</goal> |
| 172 | </goals> |
| 173 | </execution> |
| 174 | </executions> |
| 175 | </plugin> |
| 176 | </plugins> |
| 177 | </pluginManagement> |
| 178 | <plugins> |
| 179 | <plugin> |
| 180 | <groupId>org.springframework.boot</groupId> |
| 181 | <artifactId>spring-boot-maven-plugin</artifactId> |
danielhanrahan | 81f61b5 | 2024-02-02 12:25:47 +0000 | [diff] [blame] | 182 | <executions> |
| 183 | <execution> |
| 184 | <goals> |
| 185 | <goal>repackage</goal> |
| 186 | </goals> |
| 187 | <configuration> |
| 188 | <classifier>springboot</classifier> |
| 189 | </configuration> |
| 190 | </execution> |
| 191 | </executions> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 192 | </plugin> |
| 193 | </plugins> |
| 194 | </build> |
| 195 | <profiles> |
| 196 | <profile> |
| 197 | <id>cps-docker</id> |
| 198 | <activation> |
| 199 | <activeByDefault>false</activeByDefault> |
| 200 | </activation> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 201 | |
| 202 | <properties> |
| 203 | <image.name>cps-service</image.name> |
| 204 | </properties> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 205 | <dependencies> |
| 206 | <dependency> |
| 207 | <groupId>${project.groupId}</groupId> |
| 208 | <artifactId>cps-rest</artifactId> |
| 209 | </dependency> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 210 | <dependency> |
| 211 | <groupId>${project.groupId}</groupId> |
| 212 | <artifactId>cps-ri</artifactId> |
| 213 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 214 | </dependencies> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 215 | <build> |
| 216 | <plugins> |
| 217 | <plugin> |
| 218 | <groupId>com.google.cloud.tools</groupId> |
| 219 | <artifactId>jib-maven-plugin</artifactId> |
| 220 | </plugin> |
| 221 | </plugins> |
| 222 | </build> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 223 | </profile> |
| 224 | <profile> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 225 | <id>ncmp-docker</id> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 226 | <activation> |
| 227 | <activeByDefault>false</activeByDefault> |
| 228 | </activation> |
| 229 | |
| 230 | <properties> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 231 | <image.name>cps-ncmp</image.name> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 232 | </properties> |
| 233 | |
| 234 | <dependencies> |
| 235 | <dependency> |
| 236 | <groupId>${project.groupId}</groupId> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 237 | <artifactId>cps-ncmp-rest</artifactId> |
| 238 | <version>${project.version}</version> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 239 | </dependency> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 240 | <dependency> |
| 241 | <groupId>${project.groupId}</groupId> |
| 242 | <artifactId>cps-ri</artifactId> |
| 243 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 244 | </dependencies> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 245 | <build> |
| 246 | <plugins> |
| 247 | <plugin> |
| 248 | <groupId>com.google.cloud.tools</groupId> |
| 249 | <artifactId>jib-maven-plugin</artifactId> |
| 250 | </plugin> |
| 251 | </plugins> |
| 252 | </build> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 253 | </profile> |
| 254 | <profile> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 255 | <id>cps-ncmp-docker</id> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 256 | <activation> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 257 | <activeByDefault>true</activeByDefault> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 258 | </activation> |
| 259 | |
| 260 | <properties> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 261 | <image.name>cps-and-ncmp</image.name> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 262 | </properties> |
| 263 | |
| 264 | <dependencies> |
| 265 | <dependency> |
| 266 | <groupId>${project.groupId}</groupId> |
| 267 | <artifactId>cps-rest</artifactId> |
| 268 | </dependency> |
| 269 | <dependency> |
| 270 | <groupId>${project.groupId}</groupId> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 271 | <artifactId>cps-ncmp-rest</artifactId> |
| 272 | <version>${project.version}</version> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 273 | </dependency> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 274 | <dependency> |
| 275 | <groupId>${project.groupId}</groupId> |
| 276 | <artifactId>cps-ri</artifactId> |
| 277 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 278 | </dependencies> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 279 | <build> |
| 280 | <plugins> |
| 281 | <plugin> |
| 282 | <groupId>com.google.cloud.tools</groupId> |
| 283 | <artifactId>jib-maven-plugin</artifactId> |
egernug | 2b8268f | 2023-07-03 10:09:09 +0100 | [diff] [blame] | 284 | <version>3.3.2</version> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 285 | </plugin> |
| 286 | </plugins> |
| 287 | </build> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 288 | </profile> |
| 289 | </profiles> |
lukegleeson | 15b93e7 | 2021-07-07 15:25:30 +0100 | [diff] [blame] | 290 | </project> |