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