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