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. |
lukegleeson | 15b93e7 | 2021-07-07 15:25:30 +0100 | [diff] [blame] | 6 | Modifications Copyright (C) 2021 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> |
seanbeirne | f8e980a | 2023-01-27 18:09:33 +0000 | [diff] [blame] | 31 | <version>3.2.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 | <jib-maven-plugin.version>2.8.0</jib-maven-plugin.version> |
| 40 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
ToineSiebelink | 73001f6 | 2021-09-17 15:07:38 +0100 | [diff] [blame] | 41 | <minimum-coverage>0.82</minimum-coverage> |
ToineSiebelink | a401e72 | 2021-06-30 08:38:51 +0100 | [diff] [blame] | 42 | <base.image>${docker.pull.registry}/onap/integration-java11:8.0.0</base.image> |
Renu Kumari | bd35b4d | 2021-05-17 07:16:48 -0400 | [diff] [blame] | 43 | <image.tag>${project.version}-${maven.build.timestamp}</image.tag> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 44 | </properties> |
| 45 | |
| 46 | <dependencies> |
| 47 | <dependency> |
| 48 | <groupId>org.springframework.boot</groupId> |
| 49 | <artifactId>spring-boot-starter-web</artifactId> |
| 50 | <exclusions> |
| 51 | <exclusion> |
| 52 | <groupId>org.springframework.boot</groupId> |
| 53 | <artifactId>spring-boot-starter-tomcat</artifactId> |
| 54 | </exclusion> |
| 55 | </exclusions> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.springframework.boot</groupId> |
Ruslan Kashapov | 0d6bbae | 2021-03-11 14:15:49 +0200 | [diff] [blame] | 59 | <artifactId>spring-boot-starter-jetty</artifactId> |
| 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>org.springframework.boot</groupId> |
| 63 | <artifactId>spring-boot-starter-security</artifactId> |
| 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>org.springframework.boot</groupId> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 67 | <artifactId>spring-boot-starter-actuator</artifactId> |
| 68 | </dependency> |
| 69 | <dependency> |
puthuparambil.aditya | b46d137 | 2021-07-09 12:51:10 +0100 | [diff] [blame] | 70 | <groupId>io.micrometer</groupId> |
| 71 | <artifactId>micrometer-registry-prometheus</artifactId> |
| 72 | </dependency> |
| 73 | <dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 74 | <groupId>org.springframework.cloud</groupId> |
| 75 | <artifactId>spring-cloud-starter-sleuth</artifactId> |
| 76 | </dependency> |
Ruslan Kashapov | 0d6bbae | 2021-03-11 14:15:49 +0200 | [diff] [blame] | 77 | <!-- T E S T D E P E N D E N C I E S --> |
| 78 | <dependency> |
| 79 | <groupId>org.springframework.security</groupId> |
| 80 | <artifactId>spring-security-test</artifactId> |
| 81 | <scope>test</scope> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>org.codehaus.groovy</groupId> |
| 85 | <artifactId>groovy</artifactId> |
| 86 | <scope>test</scope> |
| 87 | </dependency> |
| 88 | <dependency> |
| 89 | <groupId>org.spockframework</groupId> |
| 90 | <artifactId>spock-core</artifactId> |
| 91 | <scope>test</scope> |
| 92 | </dependency> |
| 93 | <dependency> |
| 94 | <groupId>org.spockframework</groupId> |
| 95 | <artifactId>spock-spring</artifactId> |
| 96 | <scope>test</scope> |
| 97 | </dependency> |
| 98 | <dependency> |
| 99 | <groupId>cglib</groupId> |
| 100 | <artifactId>cglib-nodep</artifactId> |
| 101 | <scope>test</scope> |
| 102 | </dependency> |
| 103 | <dependency> |
| 104 | <groupId>org.springframework.boot</groupId> |
| 105 | <artifactId>spring-boot-starter-test</artifactId> |
| 106 | <scope>test</scope> |
| 107 | <exclusions> |
| 108 | <exclusion> |
| 109 | <groupId>org.junit.vintage</groupId> |
| 110 | <artifactId>junit-vintage-engine</artifactId> |
| 111 | </exclusion> |
| 112 | </exclusions> |
| 113 | </dependency> |
DylanB95EST | db1f378 | 2021-06-22 16:57:16 +0100 | [diff] [blame] | 114 | <dependency> |
| 115 | <groupId>com.tngtech.archunit</groupId> |
| 116 | <artifactId>archunit-junit5</artifactId> |
| 117 | </dependency> |
Michal Jagiello | 6ce84d9 | 2022-12-13 07:40:19 +0000 | [diff] [blame] | 118 | <dependency> |
| 119 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 120 | <artifactId>jackson-dataformat-xml</artifactId> |
| 121 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 122 | </dependencies> |
| 123 | |
| 124 | <build> |
| 125 | <pluginManagement> |
| 126 | <plugins> |
| 127 | <plugin> |
| 128 | <groupId>com.google.cloud.tools</groupId> |
| 129 | <artifactId>jib-maven-plugin</artifactId> |
Claudio D. Gasparini | 4ec225c | 2021-02-04 14:57:39 +0100 | [diff] [blame] | 130 | <version>${jib-maven-plugin.version}</version> |
| 131 | <configuration> |
| 132 | <container> |
| 133 | <mainClass>${app}</mainClass> |
| 134 | <creationTime>USE_CURRENT_TIMESTAMP</creationTime> |
| 135 | </container> |
| 136 | <from> |
| 137 | <image>${base.image}</image> |
| 138 | </from> |
| 139 | <to> |
Ruslan Kashapov | aad2240 | 2021-02-23 10:08:00 +0200 | [diff] [blame] | 140 | <tags> |
| 141 | <tag>latest</tag> |
| 142 | </tags> |
ToineSiebelink | a401e72 | 2021-06-30 08:38:51 +0100 | [diff] [blame] | 143 | <image>${docker.push.registry}/onap/${image.name}:${image.tag}</image> |
Claudio D. Gasparini | 4ec225c | 2021-02-04 14:57:39 +0100 | [diff] [blame] | 144 | </to> |
| 145 | </configuration> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 146 | <executions> |
| 147 | <execution> |
| 148 | <phase>package</phase> |
| 149 | <id>build</id> |
| 150 | <goals> |
| 151 | <goal>dockerBuild</goal> |
| 152 | </goals> |
| 153 | </execution> |
| 154 | <execution> |
| 155 | <phase>deploy</phase> |
| 156 | <id>buildAndPush</id> |
| 157 | <goals> |
| 158 | <goal>build</goal> |
| 159 | </goals> |
| 160 | </execution> |
| 161 | </executions> |
| 162 | </plugin> |
| 163 | </plugins> |
| 164 | </pluginManagement> |
| 165 | <plugins> |
| 166 | <plugin> |
| 167 | <groupId>org.springframework.boot</groupId> |
| 168 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 169 | </plugin> |
| 170 | </plugins> |
| 171 | </build> |
| 172 | <profiles> |
| 173 | <profile> |
| 174 | <id>cps-docker</id> |
| 175 | <activation> |
| 176 | <activeByDefault>false</activeByDefault> |
| 177 | </activation> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 178 | |
| 179 | <properties> |
| 180 | <image.name>cps-service</image.name> |
| 181 | </properties> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 182 | <dependencies> |
| 183 | <dependency> |
| 184 | <groupId>${project.groupId}</groupId> |
| 185 | <artifactId>cps-rest</artifactId> |
| 186 | </dependency> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 187 | <dependency> |
| 188 | <groupId>${project.groupId}</groupId> |
| 189 | <artifactId>cps-ri</artifactId> |
| 190 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 191 | </dependencies> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 192 | <build> |
| 193 | <plugins> |
| 194 | <plugin> |
| 195 | <groupId>com.google.cloud.tools</groupId> |
| 196 | <artifactId>jib-maven-plugin</artifactId> |
| 197 | </plugin> |
| 198 | </plugins> |
| 199 | </build> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 200 | </profile> |
| 201 | <profile> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 202 | <id>ncmp-docker</id> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 203 | <activation> |
| 204 | <activeByDefault>false</activeByDefault> |
| 205 | </activation> |
| 206 | |
| 207 | <properties> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 208 | <image.name>cps-ncmp</image.name> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 209 | </properties> |
| 210 | |
| 211 | <dependencies> |
| 212 | <dependency> |
| 213 | <groupId>${project.groupId}</groupId> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 214 | <artifactId>cps-ncmp-rest</artifactId> |
| 215 | <version>${project.version}</version> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 216 | </dependency> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 217 | <dependency> |
| 218 | <groupId>${project.groupId}</groupId> |
| 219 | <artifactId>cps-ri</artifactId> |
| 220 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 221 | </dependencies> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 222 | <build> |
| 223 | <plugins> |
| 224 | <plugin> |
| 225 | <groupId>com.google.cloud.tools</groupId> |
| 226 | <artifactId>jib-maven-plugin</artifactId> |
| 227 | </plugin> |
| 228 | </plugins> |
| 229 | </build> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 230 | </profile> |
| 231 | <profile> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 232 | <id>cps-ncmp-docker</id> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 233 | <activation> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 234 | <activeByDefault>true</activeByDefault> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 235 | </activation> |
| 236 | |
| 237 | <properties> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 238 | <image.name>cps-and-ncmp</image.name> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 239 | </properties> |
| 240 | |
| 241 | <dependencies> |
| 242 | <dependency> |
| 243 | <groupId>${project.groupId}</groupId> |
| 244 | <artifactId>cps-rest</artifactId> |
| 245 | </dependency> |
| 246 | <dependency> |
| 247 | <groupId>${project.groupId}</groupId> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 248 | <artifactId>cps-ncmp-rest</artifactId> |
| 249 | <version>${project.version}</version> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 250 | </dependency> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 251 | <dependency> |
| 252 | <groupId>${project.groupId}</groupId> |
| 253 | <artifactId>cps-ri</artifactId> |
| 254 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 255 | </dependencies> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 256 | <build> |
| 257 | <plugins> |
| 258 | <plugin> |
| 259 | <groupId>com.google.cloud.tools</groupId> |
| 260 | <artifactId>jib-maven-plugin</artifactId> |
| 261 | </plugin> |
| 262 | </plugins> |
| 263 | </build> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 264 | </profile> |
| 265 | </profiles> |
lukegleeson | 15b93e7 | 2021-07-07 15:25:30 +0100 | [diff] [blame] | 266 | </project> |