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 | 7e243c9 | 2023-04-20 15:32:12 +0100 | [diff] [blame] | 6 | Modifications Copyright (C) 2021-2023 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 | 8caa342 | 2023-06-30 11:14:10 +0100 | [diff] [blame] | 31 | <version>3.3.4-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 | 73001f6 | 2021-09-17 15:07:38 +0100 | [diff] [blame] | 40 | <minimum-coverage>0.82</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> |
puthuparambil.aditya | b46d137 | 2021-07-09 12:51:10 +0100 | [diff] [blame] | 69 | <groupId>io.micrometer</groupId> |
| 70 | <artifactId>micrometer-registry-prometheus</artifactId> |
| 71 | </dependency> |
| 72 | <dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 73 | <groupId>org.springframework.cloud</groupId> |
| 74 | <artifactId>spring-cloud-starter-sleuth</artifactId> |
| 75 | </dependency> |
Ruslan Kashapov | 0d6bbae | 2021-03-11 14:15:49 +0200 | [diff] [blame] | 76 | <!-- T E S T D E P E N D E N C I E S --> |
| 77 | <dependency> |
| 78 | <groupId>org.springframework.security</groupId> |
| 79 | <artifactId>spring-security-test</artifactId> |
| 80 | <scope>test</scope> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>org.codehaus.groovy</groupId> |
| 84 | <artifactId>groovy</artifactId> |
| 85 | <scope>test</scope> |
| 86 | </dependency> |
| 87 | <dependency> |
| 88 | <groupId>org.spockframework</groupId> |
| 89 | <artifactId>spock-core</artifactId> |
| 90 | <scope>test</scope> |
| 91 | </dependency> |
| 92 | <dependency> |
| 93 | <groupId>org.spockframework</groupId> |
| 94 | <artifactId>spock-spring</artifactId> |
| 95 | <scope>test</scope> |
| 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>cglib</groupId> |
| 99 | <artifactId>cglib-nodep</artifactId> |
| 100 | <scope>test</scope> |
| 101 | </dependency> |
| 102 | <dependency> |
| 103 | <groupId>org.springframework.boot</groupId> |
| 104 | <artifactId>spring-boot-starter-test</artifactId> |
| 105 | <scope>test</scope> |
| 106 | <exclusions> |
| 107 | <exclusion> |
| 108 | <groupId>org.junit.vintage</groupId> |
| 109 | <artifactId>junit-vintage-engine</artifactId> |
| 110 | </exclusion> |
| 111 | </exclusions> |
| 112 | </dependency> |
DylanB95EST | db1f378 | 2021-06-22 16:57:16 +0100 | [diff] [blame] | 113 | <dependency> |
| 114 | <groupId>com.tngtech.archunit</groupId> |
| 115 | <artifactId>archunit-junit5</artifactId> |
| 116 | </dependency> |
Michal Jagiello | 6ce84d9 | 2022-12-13 07:40:19 +0000 | [diff] [blame] | 117 | <dependency> |
| 118 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 119 | <artifactId>jackson-dataformat-xml</artifactId> |
| 120 | </dependency> |
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> |
| 168 | </plugin> |
| 169 | </plugins> |
| 170 | </build> |
| 171 | <profiles> |
| 172 | <profile> |
| 173 | <id>cps-docker</id> |
| 174 | <activation> |
| 175 | <activeByDefault>false</activeByDefault> |
| 176 | </activation> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 177 | |
| 178 | <properties> |
| 179 | <image.name>cps-service</image.name> |
| 180 | </properties> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 181 | <dependencies> |
| 182 | <dependency> |
| 183 | <groupId>${project.groupId}</groupId> |
| 184 | <artifactId>cps-rest</artifactId> |
| 185 | </dependency> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 186 | <dependency> |
| 187 | <groupId>${project.groupId}</groupId> |
| 188 | <artifactId>cps-ri</artifactId> |
| 189 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 190 | </dependencies> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 191 | <build> |
| 192 | <plugins> |
| 193 | <plugin> |
| 194 | <groupId>com.google.cloud.tools</groupId> |
| 195 | <artifactId>jib-maven-plugin</artifactId> |
| 196 | </plugin> |
| 197 | </plugins> |
| 198 | </build> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 199 | </profile> |
| 200 | <profile> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 201 | <id>ncmp-docker</id> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 202 | <activation> |
| 203 | <activeByDefault>false</activeByDefault> |
| 204 | </activation> |
| 205 | |
| 206 | <properties> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 207 | <image.name>cps-ncmp</image.name> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 208 | </properties> |
| 209 | |
| 210 | <dependencies> |
| 211 | <dependency> |
| 212 | <groupId>${project.groupId}</groupId> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 213 | <artifactId>cps-ncmp-rest</artifactId> |
| 214 | <version>${project.version}</version> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 215 | </dependency> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 216 | <dependency> |
| 217 | <groupId>${project.groupId}</groupId> |
| 218 | <artifactId>cps-ri</artifactId> |
| 219 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 220 | </dependencies> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 221 | <build> |
| 222 | <plugins> |
| 223 | <plugin> |
| 224 | <groupId>com.google.cloud.tools</groupId> |
| 225 | <artifactId>jib-maven-plugin</artifactId> |
| 226 | </plugin> |
| 227 | </plugins> |
| 228 | </build> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 229 | </profile> |
| 230 | <profile> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 231 | <id>cps-ncmp-docker</id> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 232 | <activation> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 233 | <activeByDefault>true</activeByDefault> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 234 | </activation> |
| 235 | |
| 236 | <properties> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 237 | <image.name>cps-and-ncmp</image.name> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 238 | </properties> |
| 239 | |
| 240 | <dependencies> |
| 241 | <dependency> |
| 242 | <groupId>${project.groupId}</groupId> |
| 243 | <artifactId>cps-rest</artifactId> |
| 244 | </dependency> |
| 245 | <dependency> |
| 246 | <groupId>${project.groupId}</groupId> |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 247 | <artifactId>cps-ncmp-rest</artifactId> |
| 248 | <version>${project.version}</version> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 249 | </dependency> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 250 | <dependency> |
| 251 | <groupId>${project.groupId}</groupId> |
| 252 | <artifactId>cps-ri</artifactId> |
| 253 | </dependency> |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 254 | </dependencies> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 255 | <build> |
| 256 | <plugins> |
| 257 | <plugin> |
| 258 | <groupId>com.google.cloud.tools</groupId> |
| 259 | <artifactId>jib-maven-plugin</artifactId> |
egernug | 2b8268f | 2023-07-03 10:09:09 +0100 | [diff] [blame^] | 260 | <version>3.3.2</version> |
Claudio D. Gasparini | 6e60380 | 2021-02-20 18:56:47 +0100 | [diff] [blame] | 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> |