mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 2 | <!-- |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 3 | ============LICENSE_START======================================================= |
| 4 | org.onap.aai |
| 5 | ================================================================================ |
| 6 | Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. |
| 7 | Copyright © 2017-2018 European Software Marketing Ltd. |
| 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 |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 12 | |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 13 | http://www.apache.org/licenses/LICENSE-2.0 |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 14 | |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 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 | --> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Niharika Sharma | d132185 | 2022-10-14 14:01:39 -0400 | [diff] [blame] | 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 24 | <modelVersion>4.0.0</modelVersion> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 25 | |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 26 | <parent> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 27 | <groupId>org.onap.oparent</groupId> |
| 28 | <artifactId>oparent</artifactId> |
| 29 | <version>2.1.0</version> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 30 | <relativePath /> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 31 | </parent> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 32 | |
Arul.Nambi | 059f42e | 2017-09-13 15:13:29 -0400 | [diff] [blame] | 33 | <groupId>org.onap.aai.model-loader</groupId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 34 | <artifactId>model-loader</artifactId> |
Gildas Lanilis | 5cb976c | 2018-09-06 11:21:12 -0700 | [diff] [blame] | 35 | <name>aai-model-loader</name> |
Fiete Ostkamp | 277fb3d | 2024-03-26 09:55:53 +0100 | [diff] [blame] | 36 | <version>1.13.6-SNAPSHOT</version> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 37 | |
| 38 | <dependencyManagement> |
| 39 | <dependencies> |
| 40 | <dependency> |
| 41 | <groupId>org.springframework.boot</groupId> |
| 42 | <artifactId>spring-boot-dependencies</artifactId> |
| 43 | <version>${spring-boot.version}</version> |
| 44 | <type>pom</type> |
| 45 | <scope>import</scope> |
| 46 | </dependency> |
Fiete Ostkamp | 0d67f83 | 2024-02-28 16:30:00 +0100 | [diff] [blame] | 47 | <dependency> |
| 48 | <groupId>org.springframework.cloud</groupId> |
| 49 | <artifactId>spring-cloud-dependencies</artifactId> |
| 50 | <version>${spring-cloud.version}</version> |
| 51 | <type>pom</type> |
| 52 | <scope>import</scope> |
| 53 | </dependency> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 54 | </dependencies> |
| 55 | </dependencyManagement> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 56 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 57 | <properties> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 58 | <start-class>org.onap.aai.modelloader.service.ModelLoaderApplication</start-class> |
Blackwell, Ian (ib733q) | 65757e7 | 2018-04-05 11:52:58 +0100 | [diff] [blame] | 59 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 60 | <docker.location>${basedir}/target</docker.location> |
Fiete Ostkamp | b5c15a4 | 2024-02-28 14:39:51 +0100 | [diff] [blame] | 61 | <spring-boot.version>2.4.13</spring-boot.version> |
Fiete Ostkamp | 0d67f83 | 2024-02-28 16:30:00 +0100 | [diff] [blame] | 62 | <spring-cloud.version>2020.0.2</spring-cloud.version> |
Fiete Ostkamp | 126843b | 2022-11-15 16:27:44 +0000 | [diff] [blame] | 63 | <apache.commons-text.version>1.10.0</apache.commons-text.version> |
| 64 | <commons-compress.version>1.22</commons-compress.version> |
Fiete Ostkamp | 5f6ec01 | 2024-03-07 08:33:48 +0100 | [diff] [blame] | 65 | <gson.version>2.10.1</gson.version> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 66 | <hamcrest-all.version>1.3</hamcrest-all.version> |
Fiete Ostkamp | 126843b | 2022-11-15 16:27:44 +0000 | [diff] [blame] | 67 | <babel.version>1.9.5</babel.version> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 68 | <aai.rest.client.version>1.2.1</aai.rest.client.version> |
Fiete Ostkamp | 5f6ec01 | 2024-03-07 08:33:48 +0100 | [diff] [blame] | 69 | <sdc-distribution-client.version>2.1.1</sdc-distribution-client.version> |
Fiete Ostkamp | 126843b | 2022-11-15 16:27:44 +0000 | [diff] [blame] | 70 | <logback.version>1.2.11</logback.version> |
Dmitry Puzikov | 86359a2 | 2019-04-16 16:52:05 +0200 | [diff] [blame] | 71 | <!-- docker related properties --> |
Niharika Sharma | d132185 | 2022-10-14 14:01:39 -0400 | [diff] [blame] | 72 | <docker.fabric.version>0.39.0</docker.fabric.version> |
Dmitry Puzikov | 86359a2 | 2019-04-16 16:52:05 +0200 | [diff] [blame] | 73 | <aai.docker.version>1.0.0</aai.docker.version> |
| 74 | <aai.build.directory>${project.build.directory}/${project.artifactId}-${project.version}-build/</aai.build.directory> |
| 75 | <aai.docker.namespace>onap</aai.docker.namespace> |
| 76 | <aai.base.image>alpine</aai.base.image> |
Fiete Ostkamp | c7d3869 | 2024-02-22 13:19:35 +0100 | [diff] [blame] | 77 | <aai.base.image.version>1.13.2</aai.base.image.version> |
Dmitry Puzikov | 86359a2 | 2019-04-16 16:52:05 +0200 | [diff] [blame] | 78 | <!-- This will be used for the docker images as the default format of maven build has issues --> |
| 79 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 80 | |
| 81 | <sonar.jacoco.reportPath /> |
| 82 | <sonar.jacoco.itReportPath /> |
| 83 | <sonar.jacoco.reportMissing.force.zero /> |
Sylvain Desbureaux | aecbb49 | 2021-02-01 16:09:23 +0100 | [diff] [blame] | 84 | |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 85 | <jacoco.line.coverage.limit>0.75</jacoco.line.coverage.limit> |
| 86 | <jacoco.version>0.8.5</jacoco.version> |
| 87 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 88 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 89 | <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> |
| 90 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 91 | |
| 92 | <sonar.scanner.version>3.7.0.1746</sonar.scanner.version> |
| 93 | |
Maharajh, Robby (rx2202) | e83a8f3 | 2021-02-24 13:32:28 -0500 | [diff] [blame] | 94 | <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version> |
| 95 | <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> |
| 96 | <maven-compiler-plugin.source>11</maven-compiler-plugin.source> |
| 97 | <maven-compiler-plugin.target>11</maven-compiler-plugin.target> |
| 98 | <maven-compiler-plugin.test.source>11</maven-compiler-plugin.test.source> |
| 99 | <maven-compiler-plugin.test.target>11</maven-compiler-plugin.test.target> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 100 | </properties> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 101 | |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 102 | <distributionManagement> |
| 103 | <repository> |
| 104 | <id>ecomp-releases</id> |
| 105 | <name>ECOMP Release Repository</name> |
| 106 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 107 | </repository> |
| 108 | <snapshotRepository> |
| 109 | <id>ecomp-snapshots</id> |
| 110 | <name>ECOMP Snapshot Repository</name> |
| 111 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 112 | </snapshotRepository> |
| 113 | </distributionManagement> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 114 | |
Dmitry Puzikov | 86359a2 | 2019-04-16 16:52:05 +0200 | [diff] [blame] | 115 | <profiles> |
| 116 | <!-- Docker profile to be used for building docker image and pushing to nexus --> |
| 117 | <profile> |
| 118 | <id>docker</id> |
| 119 | <build> |
| 120 | <plugins> |
| 121 | <plugin> |
| 122 | <groupId>org.codehaus.mojo</groupId> |
| 123 | <artifactId>build-helper-maven-plugin</artifactId> |
| 124 | <version>3.0.0</version> |
| 125 | <executions> |
| 126 | <execution> |
| 127 | <phase>pre-clean</phase> |
| 128 | <id>parse-version</id> |
| 129 | <goals> |
| 130 | <goal>parse-version</goal> |
| 131 | </goals> |
| 132 | </execution> |
| 133 | </executions> |
| 134 | </plugin> |
| 135 | <plugin> |
| 136 | <groupId>org.codehaus.groovy.maven</groupId> |
| 137 | <artifactId>gmaven-plugin</artifactId> |
| 138 | <version>1.0</version> |
| 139 | <executions> |
| 140 | <execution> |
| 141 | <phase>pre-clean</phase> |
| 142 | <goals> |
| 143 | <goal>execute</goal> |
| 144 | </goals> |
| 145 | <configuration> |
| 146 | <source> |
| 147 | def userAaiBaseImage = session.userProperties['aai.base.image']; |
| 148 | def userAaiCommonVersion = session.userProperties['aai.base.image.version']; |
| 149 | if (userAaiCommonVersion != null) { |
| 150 | project.properties['aai.base.image.version'] = userAaiCommonVersion; |
| 151 | } |
| 152 | if (userAaiBaseImage != null) { |
| 153 | project.properties['aai.base.image'] = userAaiBaseImage; |
| 154 | } |
| 155 | log.info 'Base image flavour: ' + project.properties['aai.base.image']; |
| 156 | log.info 'Base image version: ' + project.properties['aai.base.image.version']; |
| 157 | </source> |
| 158 | </configuration> |
| 159 | </execution> |
| 160 | </executions> |
| 161 | </plugin> |
| 162 | <plugin> |
| 163 | <groupId>io.fabric8</groupId> |
| 164 | <artifactId>docker-maven-plugin</artifactId> |
| 165 | <version>${docker.fabric.version}</version> |
| 166 | <configuration> |
| 167 | <verbose>true</verbose> |
| 168 | <apiVersion>1.23</apiVersion> |
| 169 | <images> |
| 170 | <image> |
| 171 | <name>${docker.push.registry}/${aai.docker.namespace}/${project.artifactId}:%l</name> |
| 172 | <build> |
| 173 | <filter>@</filter> |
| 174 | <tags> |
| 175 | <tag>latest</tag> |
| 176 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag> |
| 177 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-${maven.build.timestamp}</tag> |
| 178 | </tags> |
| 179 | <cleanup>try</cleanup> |
| 180 | <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir> |
| 181 | <assembly> |
| 182 | <inline> |
| 183 | <fileSets> |
| 184 | <fileSet> |
| 185 | <directory>${aai.build.directory}</directory> |
| 186 | <outputDirectory>/${project.artifactId}</outputDirectory> |
| 187 | </fileSet> |
| 188 | </fileSets> |
| 189 | </inline> |
| 190 | </assembly> |
| 191 | </build> |
| 192 | </image> |
| 193 | </images> |
| 194 | </configuration> |
| 195 | <executions> |
| 196 | <execution> |
| 197 | <id>clean-images</id> |
| 198 | <phase>pre-clean</phase> |
| 199 | <goals> |
| 200 | <goal>remove</goal> |
| 201 | </goals> |
| 202 | <configuration> |
| 203 | <removeAll>true</removeAll> |
| 204 | </configuration> |
| 205 | </execution> |
| 206 | <execution> |
| 207 | <id>generate-images</id> |
| 208 | <phase>package</phase> |
| 209 | <goals> |
| 210 | <goal>build</goal> |
| 211 | </goals> |
| 212 | </execution> |
| 213 | <execution> |
| 214 | <id>push-images</id> |
| 215 | <phase>deploy</phase> |
| 216 | <goals> |
| 217 | <goal>push</goal> |
| 218 | </goals> |
| 219 | </execution> |
| 220 | </executions> |
| 221 | </plugin> |
| 222 | </plugins> |
| 223 | </build> |
| 224 | </profile> |
| 225 | </profiles> |
Fiete Ostkamp | 0d67f83 | 2024-02-28 16:30:00 +0100 | [diff] [blame] | 226 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 227 | <dependencies> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 228 | <dependency> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 229 | <groupId>org.springframework.boot</groupId> |
jimmy | f3b1077 | 2018-12-20 15:18:47 -0500 | [diff] [blame] | 230 | <artifactId>spring-boot-starter-jetty</artifactId> |
| 231 | </dependency> |
| 232 | <dependency> |
| 233 | <groupId>org.springframework.boot</groupId> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 234 | <artifactId>spring-boot-starter-web</artifactId> |
jimmy | f3b1077 | 2018-12-20 15:18:47 -0500 | [diff] [blame] | 235 | <exclusions> |
Niharika Sharma | d132185 | 2022-10-14 14:01:39 -0400 | [diff] [blame] | 236 | <exclusion> |
| 237 | <groupId>org.springframework.boot</groupId> |
| 238 | <artifactId>spring-boot-starter-tomcat</artifactId> |
| 239 | </exclusion> |
jimmy | f3b1077 | 2018-12-20 15:18:47 -0500 | [diff] [blame] | 240 | </exclusions> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 241 | </dependency> |
| 242 | <dependency> |
Fiete Ostkamp | f999935 | 2024-04-05 11:38:01 +0200 | [diff] [blame] | 243 | <groupId>org.springframework.boot</groupId> |
| 244 | <artifactId>spring-boot-starter-aop</artifactId> |
| 245 | <scope>test</scope> |
| 246 | </dependency> |
| 247 | <dependency> |
efiacor | 117237a | 2022-11-08 10:26:11 +0000 | [diff] [blame] | 248 | <groupId>org.apache.kafka</groupId> |
| 249 | <artifactId>kafka-clients</artifactId> |
Fiete Ostkamp | f999935 | 2024-04-05 11:38:01 +0200 | [diff] [blame] | 250 | <!-- <version>3.3.1</version> --> |
| 251 | </dependency> |
| 252 | <dependency> |
| 253 | <groupId>org.springframework.kafka</groupId> |
| 254 | <artifactId>spring-kafka</artifactId> |
| 255 | <!-- <version>3.1.2</version> --> |
| 256 | </dependency> |
| 257 | <dependency> |
| 258 | <groupId>org.springframework.kafka</groupId> |
| 259 | <artifactId>spring-kafka-test</artifactId> |
| 260 | <!-- <version>3.1.1</version> --> |
| 261 | <scope>test</scope> |
efiacor | 117237a | 2022-11-08 10:26:11 +0000 | [diff] [blame] | 262 | </dependency> |
| 263 | <dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 264 | <groupId>org.onap.aai</groupId> |
| 265 | <artifactId>babel</artifactId> |
| 266 | <version>${babel.version}</version> |
| 267 | <classifier>client</classifier> |
| 268 | <exclusions> |
| 269 | <exclusion> |
| 270 | <groupId>*</groupId> |
| 271 | <artifactId>*</artifactId> |
| 272 | </exclusion> |
| 273 | </exclusions> |
| 274 | </dependency> |
| 275 | <dependency> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 276 | <groupId>org.glassfish.jersey.core</groupId> |
| 277 | <artifactId>jersey-common</artifactId> |
| 278 | <scope>test</scope> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 279 | </dependency> |
| 280 | <dependency> |
| 281 | <groupId>org.onap.aai</groupId> |
| 282 | <artifactId>rest-client</artifactId> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 283 | <version>${aai.rest.client.version}</version> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 284 | </dependency> |
| 285 | <dependency> |
| 286 | <groupId>com.google.code.gson</groupId> |
| 287 | <artifactId>gson</artifactId> |
Fiete Ostkamp | 5f6ec01 | 2024-03-07 08:33:48 +0100 | [diff] [blame] | 288 | <version>${gson.version}</version> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 289 | </dependency> |
| 290 | |
| 291 | <!-- Test dependencies --> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 292 | <!-- https://mvnrepository.com/artifact/com.mikesamuel/json-sanitizer --> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 293 | <dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 294 | <groupId>com.mikesamuel</groupId> |
| 295 | <artifactId>json-sanitizer</artifactId> |
Fiete Ostkamp | 5f6ec01 | 2024-03-07 08:33:48 +0100 | [diff] [blame] | 296 | <version>1.2.3</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 297 | </dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 298 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 299 | <!-- Common logging framework --> |
| 300 | <dependency> |
Arul.Nambi | af1121f | 2017-09-21 10:39:37 -0400 | [diff] [blame] | 301 | <groupId>org.onap.aai.logging-service</groupId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 302 | <artifactId>common-logging</artifactId> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 303 | <version>1.5.0</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 304 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 305 | <dependency> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 306 | <groupId>ch.qos.logback</groupId> |
mark.j.leonard | ddecfbc | 2018-05-01 11:57:53 +0100 | [diff] [blame] | 307 | <artifactId>logback-classic</artifactId> |
Fiete Ostkamp | b5c15a4 | 2024-02-28 14:39:51 +0100 | [diff] [blame] | 308 | <version>${logback.version}</version> |
| 309 | <!--$NO-MVN-MAN-VER$ --> |
mark.j.leonard | ddecfbc | 2018-05-01 11:57:53 +0100 | [diff] [blame] | 310 | </dependency> |
| 311 | <dependency> |
| 312 | <groupId>ch.qos.logback</groupId> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 313 | <artifactId>logback-core</artifactId> |
Fiete Ostkamp | b5c15a4 | 2024-02-28 14:39:51 +0100 | [diff] [blame] | 314 | <version>${logback.version}</version> |
| 315 | <!--$NO-MVN-MAN-VER$ --> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 316 | </dependency> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 317 | <dependency> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 318 | <groupId>org.onap.sdc.sdc-distribution-client</groupId> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 319 | <artifactId>sdc-distribution-client</artifactId> |
mark.j.leonard | c5aea4a | 2018-06-06 14:47:42 +0100 | [diff] [blame] | 320 | <version>${sdc-distribution-client.version}</version> |
Lee, Tian (tl5884) | 952a19d | 2017-08-18 16:45:23 +0100 | [diff] [blame] | 321 | </dependency> |
| 322 | <dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 323 | <groupId>org.json</groupId> |
| 324 | <artifactId>json</artifactId> |
Fiete Ostkamp | b5c15a4 | 2024-02-28 14:39:51 +0100 | [diff] [blame] | 325 | <version>20131018</version> |
| 326 | <!--$NO-MVN-MAN-VER$ --> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 327 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 328 | <dependency> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 329 | <groupId>org.eclipse.jetty</groupId> |
| 330 | <artifactId>jetty-security</artifactId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 331 | </dependency> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 332 | <dependency> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 333 | <groupId>jline</groupId> |
| 334 | <artifactId>jline</artifactId> |
| 335 | <version>2.12.1</version> |
| 336 | </dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 337 | <dependency> |
mark.j.leonard | 7e6fe8c | 2018-06-07 16:45:38 +0100 | [diff] [blame] | 338 | <groupId>org.apache.commons</groupId> |
| 339 | <artifactId>commons-compress</artifactId> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 340 | <version>${commons-compress.version}</version> |
mark.j.leonard | 7e6fe8c | 2018-06-07 16:45:38 +0100 | [diff] [blame] | 341 | </dependency> |
| 342 | <dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 343 | <groupId>commons-io</groupId> |
| 344 | <artifactId>commons-io</artifactId> |
wr148d | f849a77 | 2022-02-22 16:12:02 -0500 | [diff] [blame] | 345 | <version>2.11.0</version> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 346 | </dependency> |
| 347 | <dependency> |
| 348 | <groupId>org.apache.commons</groupId> |
| 349 | <artifactId>commons-text</artifactId> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 350 | <version>${apache.commons-text.version}</version> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 351 | </dependency> |
Fiete Ostkamp | 0d67f83 | 2024-02-28 16:30:00 +0100 | [diff] [blame] | 352 | <dependency> |
| 353 | <groupId>org.springframework.cloud</groupId> |
| 354 | <artifactId>spring-cloud-starter-sleuth</artifactId> |
| 355 | </dependency> |
| 356 | <dependency> |
| 357 | <groupId>org.springframework.cloud</groupId> |
| 358 | <artifactId>spring-cloud-sleuth-zipkin</artifactId> |
| 359 | </dependency> |
Gary Wu | 1c79241 | 2018-08-24 15:15:28 -0700 | [diff] [blame] | 360 | |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 361 | <!-- Test dependencies --> |
| 362 | <dependency> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 363 | <groupId>org.hamcrest</groupId> |
| 364 | <artifactId>hamcrest-all</artifactId> |
| 365 | <version>${hamcrest-all.version}</version> |
| 366 | <scope>test</scope> |
| 367 | </dependency> |
| 368 | <dependency> |
Fiete Ostkamp | b5c15a4 | 2024-02-28 14:39:51 +0100 | [diff] [blame] | 369 | <groupId>org.junit.jupiter</groupId> |
| 370 | <artifactId>junit-jupiter</artifactId> |
| 371 | <scope>test</scope> |
| 372 | </dependency> |
| 373 | <dependency> |
| 374 | <groupId>org.junit.jupiter</groupId> |
| 375 | <artifactId>junit-jupiter-api</artifactId> |
| 376 | <scope>test</scope> |
| 377 | </dependency> |
| 378 | <dependency> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 379 | <groupId>org.mockito</groupId> |
| 380 | <artifactId>mockito-core</artifactId> |
| 381 | <scope>test</scope> |
| 382 | </dependency> |
| 383 | <dependency> |
| 384 | <groupId>org.springframework.boot</groupId> |
| 385 | <artifactId>spring-boot-starter-test</artifactId> |
| 386 | <scope>test</scope> |
Fiete Ostkamp | df2ad94 | 2024-04-11 20:25:29 +0200 | [diff] [blame] | 387 | <exclusions> |
| 388 | <exclusion> |
| 389 | <groupId>com.vaadin.external.google</groupId> |
| 390 | <artifactId>android-json</artifactId> |
| 391 | </exclusion> |
| 392 | </exclusions> |
| 393 | </dependency> |
| 394 | <dependency> |
| 395 | <groupId>org.springframework.cloud</groupId> |
| 396 | <artifactId>spring-cloud-contract-wiremock</artifactId> |
| 397 | <scope>test</scope> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 398 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 399 | </dependencies> |
Steve Smokowski | e690871 | 2017-02-10 16:08:20 -0500 | [diff] [blame] | 400 | |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 401 | <!-- Plugins and repositories --> |
| 402 | <pluginRepositories> |
| 403 | <pluginRepository> |
| 404 | <id>central</id> |
Fiete Ostkamp | 126843b | 2022-11-15 16:27:44 +0000 | [diff] [blame] | 405 | <url>https://repo1.maven.org/maven2</url> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 406 | </pluginRepository> |
| 407 | <pluginRepository> |
| 408 | <id>EvoSuite</id> |
| 409 | <name>EvoSuite Repository</name> |
Fiete Ostkamp | 126843b | 2022-11-15 16:27:44 +0000 | [diff] [blame] | 410 | <url>https://www.evosuite.org/m2</url> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 411 | </pluginRepository> |
| 412 | </pluginRepositories> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 413 | |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 414 | <repositories> |
| 415 | <repository> |
| 416 | <id>central</id> |
| 417 | <name>Maven 2 repository 2</name> |
Fiete Ostkamp | 126843b | 2022-11-15 16:27:44 +0000 | [diff] [blame] | 418 | <url>https://repo2.maven.org/maven2/</url> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 419 | </repository> |
| 420 | <repository> |
| 421 | <id>ecomp-releases</id> |
| 422 | <name>ECOMP Release Repository</name> |
| 423 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 424 | </repository> |
| 425 | <repository> |
| 426 | <id>ecomp-snapshots</id> |
| 427 | <name>ECOMP Snapshot Repository</name> |
| 428 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 429 | </repository> |
| 430 | <repository> |
| 431 | <id>ecomp-staging</id> |
| 432 | <name>ECOMP Staging Repository</name> |
| 433 | <url>${nexusproxy}/content/repositories/staging/</url> |
| 434 | </repository> |
| 435 | </repositories> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 436 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 437 | <build> |
| 438 | <plugins> |
| 439 | <plugin> |
Maharajh, Robby (rx2202) | e83a8f3 | 2021-02-24 13:32:28 -0500 | [diff] [blame] | 440 | <groupId>org.apache.maven.plugins</groupId> |
| 441 | <artifactId>maven-compiler-plugin</artifactId> |
| 442 | <version>${maven-compiler-plugin.version}</version> |
| 443 | <inherited>true</inherited> |
| 444 | <configuration> |
| 445 | <source>${maven-compiler-plugin.source}</source> |
| 446 | <target>${maven-compiler-plugin.target}</target> |
| 447 | <testSource>${maven-compiler-plugin.test.source}</testSource> |
| 448 | <testTarget>${maven-compiler-plugin.test.target}</testTarget> |
| 449 | </configuration> |
| 450 | </plugin> |
| 451 | <plugin> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 452 | <groupId>org.springframework.boot</groupId> |
| 453 | <artifactId>spring-boot-maven-plugin</artifactId> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 454 | <version>${spring-boot.version}</version> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 455 | <configuration> |
| 456 | <executable>true</executable> |
| 457 | </configuration> |
| 458 | <executions> |
| 459 | <execution> |
| 460 | <goals> |
| 461 | <goal>repackage</goal> |
| 462 | </goals> |
| 463 | </execution> |
| 464 | </executions> |
| 465 | </plugin> |
| 466 | <plugin> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 467 | <groupId>com.mycila</groupId> |
| 468 | <artifactId>license-maven-plugin</artifactId> |
| 469 | <version>3.0</version> |
| 470 | <configuration> |
| 471 | <header>License.txt</header> |
| 472 | <includes> |
| 473 | <include>src/main/java/**</include> |
| 474 | <include>src/test/java/**</include> |
| 475 | <include>version/properties</include> |
| 476 | <include>pom.xml</include> |
| 477 | </includes> |
| 478 | <skipExistingHeaders>true</skipExistingHeaders> |
| 479 | </configuration> |
| 480 | <executions> |
| 481 | <execution> |
| 482 | <goals> |
| 483 | <!-- Set goal to "format" to auto update license headers --> |
| 484 | <goal>check</goal> |
| 485 | </goals> |
| 486 | <phase>process-sources</phase> |
| 487 | </execution> |
| 488 | </executions> |
| 489 | </plugin> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 490 | <plugin> |
Dmitry Puzikov | 86359a2 | 2019-04-16 16:52:05 +0200 | [diff] [blame] | 491 | <groupId>org.apache.maven.plugins</groupId> |
| 492 | <artifactId>maven-deploy-plugin</artifactId> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 493 | <configuration> |
Jimmy Forsyth | 9d64739 | 2020-04-01 16:10:31 -0400 | [diff] [blame] | 494 | <classifier>client</classifier> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 495 | </configuration> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 496 | </plugin> |
| 497 | <plugin> |
Dmitry Puzikov | 86359a2 | 2019-04-16 16:52:05 +0200 | [diff] [blame] | 498 | <artifactId>maven-assembly-plugin</artifactId> |
| 499 | <configuration> |
| 500 | <descriptors> |
| 501 | <descriptor>src/main/assembly/descriptor.xml</descriptor> |
| 502 | </descriptors> |
| 503 | </configuration> |
| 504 | <executions> |
| 505 | <execution> |
| 506 | <id>make-assembly</id> |
| 507 | <phase>package</phase> |
| 508 | <goals> |
| 509 | <goal>single</goal> |
| 510 | </goals> |
| 511 | </execution> |
| 512 | </executions> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 513 | </plugin> |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 514 | |
Sylvain Desbureaux | aecbb49 | 2021-02-01 16:09:23 +0100 | [diff] [blame] | 515 | <!-- once we connect aai-parent or oparent 3.0+ we can take out this |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 516 | whole section --> |
| 517 | |
| 518 | <plugin> |
Niharika Sharma | d132185 | 2022-10-14 14:01:39 -0400 | [diff] [blame] | 519 | <groupId>org.jacoco</groupId> |
| 520 | <artifactId>jacoco-maven-plugin</artifactId> |
| 521 | <version>${jacoco.version}</version> |
| 522 | <configuration> |
| 523 | <!-- Note: This exclusion list should match <sonar.exclusions> property |
| 524 | above --> |
| 525 | <excludes> |
| 526 | <exclude>**/gen/**</exclude> |
| 527 | <exclude>**/generated-sources/**</exclude> |
| 528 | <exclude>**/yang-gen/**</exclude> |
| 529 | <exclude>**/pax/**</exclude> |
| 530 | </excludes> |
| 531 | </configuration> |
| 532 | <executions> |
| 533 | <!-- Prepares the property pointing to the JaCoCo runtime agent which |
| 534 | is passed as VM argument when Maven the Surefire plugin is executed. --> |
| 535 | <execution> |
| 536 | <id>pre-unit-test</id> |
| 537 | <goals> |
| 538 | <goal>prepare-agent</goal> |
| 539 | </goals> |
| 540 | <configuration> |
| 541 | <!-- Sets the path to the file which contains the execution data |
| 542 | . --> |
| 543 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 544 | <!-- Sets the name of the property containing the settings for JaCoCo |
| 545 | runtime agent. --> |
| 546 | <propertyName>surefireArgLine</propertyName> |
| 547 | </configuration> |
| 548 | </execution> |
| 549 | <!-- Ensures that the code coverage report for unit tests is created |
| 550 | after unit tests have been run. --> |
| 551 | <execution> |
| 552 | <id>post-unit-test</id> |
| 553 | <phase>test</phase> |
| 554 | <goals> |
| 555 | <goal>report</goal> |
| 556 | </goals> |
| 557 | <configuration> |
| 558 | <!-- Sets the path to the file which contains the execution data |
| 559 | . --> |
| 560 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 561 | <!-- Sets the output directory for the code coverage report. --> |
| 562 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 563 | </configuration> |
| 564 | </execution> |
| 565 | <execution> |
| 566 | <id>pre-integration-test</id> |
| 567 | <phase>pre-integration-test</phase> |
| 568 | <goals> |
| 569 | <goal>prepare-agent</goal> |
| 570 | </goals> |
| 571 | <configuration> |
| 572 | <!-- Sets the path to the file which contains the execution data |
| 573 | . --> |
| 574 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 575 | <!-- Sets the name of the property containing the settings for JaCoCo |
| 576 | runtime agent. --> |
| 577 | <propertyName>failsafeArgLine</propertyName> |
| 578 | </configuration> |
| 579 | </execution> |
| 580 | <!-- Ensures that the code coverage report for integration tests after |
| 581 | integration tests have been run. --> |
| 582 | <execution> |
| 583 | <id>post-integration-test</id> |
| 584 | <phase>post-integration-test</phase> |
| 585 | <goals> |
| 586 | <goal>report</goal> |
| 587 | </goals> |
| 588 | <configuration> |
| 589 | <!-- Sets the path to the file which contains the execution data |
| 590 | . --> |
| 591 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 592 | <!-- Sets the output directory for the code coverage report. --> |
| 593 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 594 | </configuration> |
| 595 | </execution> |
| 596 | <execution> |
| 597 | <id>default-check</id> |
| 598 | <goals> |
| 599 | <goal>check</goal> |
| 600 | </goals> |
| 601 | <configuration> |
| 602 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 603 | <rules> |
| 604 | <rule implementation="org.jacoco.maven.RuleConfiguration"> |
| 605 | <element>BUNDLE</element> |
| 606 | <limits> |
| 607 | <limit implementation="org.jacoco.report.check.Limit"> |
| 608 | <counter>LINE</counter> |
| 609 | <value>COVEREDRATIO</value> |
| 610 | <minimum>${jacoco.line.coverage.limit}</minimum> |
| 611 | </limit> |
| 612 | </limits> |
| 613 | </rule> |
| 614 | </rules> |
| 615 | </configuration> |
| 616 | </execution> |
| 617 | </executions> |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 618 | </plugin> |
| 619 | <plugin> |
Niharika Sharma | d132185 | 2022-10-14 14:01:39 -0400 | [diff] [blame] | 620 | <groupId>org.apache.maven.plugins</groupId> |
| 621 | <artifactId>maven-surefire-plugin</artifactId> |
| 622 | <version>3.0.0-M4</version> |
| 623 | <configuration> |
| 624 | <!-- Sets the VM argument line used when unit tests are run. --> |
| 625 | <argLine>${surefireArgLine}</argLine> |
| 626 | <!-- Excludes integration tests when unit tests are run. --> |
| 627 | <excludes> |
| 628 | <exclude>**/IT*.java</exclude> |
| 629 | </excludes> |
| 630 | </configuration> |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 631 | </plugin> |
| 632 | <plugin> |
Niharika Sharma | d132185 | 2022-10-14 14:01:39 -0400 | [diff] [blame] | 633 | <groupId>org.apache.maven.plugins</groupId> |
| 634 | <artifactId>maven-failsafe-plugin</artifactId> |
| 635 | <version>3.0.0-M4</version> |
| 636 | <executions> |
| 637 | <!-- Ensures that both integration-test and verify goals of the Failsafe |
| 638 | Maven plugin are executed. --> |
| 639 | <execution> |
| 640 | <id>integration-tests</id> |
| 641 | <goals> |
| 642 | <goal>integration-test</goal> |
| 643 | <goal>verify</goal> |
| 644 | </goals> |
| 645 | <configuration> |
| 646 | <!-- Sets the VM argument line used when integration tests are run. --> |
| 647 | <argLine>${failsafeArgLine}</argLine> |
| 648 | </configuration> |
| 649 | </execution> |
| 650 | </executions> |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 651 | </plugin> |
| 652 | <plugin> |
Niharika Sharma | d132185 | 2022-10-14 14:01:39 -0400 | [diff] [blame] | 653 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 654 | <artifactId>sonar-maven-plugin</artifactId> |
| 655 | <version>${sonar.scanner.version}</version> |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 656 | </plugin> |
| 657 | <!-- end removable sonar config --> |
| 658 | |
| 659 | |
| 660 | |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 661 | </plugins> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 662 | </build> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 663 | </project> |