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> |
efiacor | 117237a | 2022-11-08 10:26:11 +0000 | [diff] [blame] | 243 | <groupId>org.apache.kafka</groupId> |
| 244 | <artifactId>kafka-clients</artifactId> |
| 245 | <version>3.3.1</version> |
| 246 | </dependency> |
| 247 | <dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 248 | <groupId>org.onap.aai</groupId> |
| 249 | <artifactId>babel</artifactId> |
| 250 | <version>${babel.version}</version> |
| 251 | <classifier>client</classifier> |
| 252 | <exclusions> |
| 253 | <exclusion> |
| 254 | <groupId>*</groupId> |
| 255 | <artifactId>*</artifactId> |
| 256 | </exclusion> |
| 257 | </exclusions> |
| 258 | </dependency> |
| 259 | <dependency> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 260 | <groupId>org.glassfish.jersey.core</groupId> |
| 261 | <artifactId>jersey-common</artifactId> |
| 262 | <scope>test</scope> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 263 | </dependency> |
| 264 | <dependency> |
| 265 | <groupId>org.onap.aai</groupId> |
| 266 | <artifactId>rest-client</artifactId> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 267 | <version>${aai.rest.client.version}</version> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 268 | </dependency> |
| 269 | <dependency> |
| 270 | <groupId>com.google.code.gson</groupId> |
| 271 | <artifactId>gson</artifactId> |
Fiete Ostkamp | 5f6ec01 | 2024-03-07 08:33:48 +0100 | [diff] [blame] | 272 | <version>${gson.version}</version> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 273 | </dependency> |
| 274 | |
| 275 | <!-- Test dependencies --> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 276 | <!-- https://mvnrepository.com/artifact/com.mikesamuel/json-sanitizer --> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 277 | <dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 278 | <groupId>com.mikesamuel</groupId> |
| 279 | <artifactId>json-sanitizer</artifactId> |
Fiete Ostkamp | 5f6ec01 | 2024-03-07 08:33:48 +0100 | [diff] [blame] | 280 | <version>1.2.3</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 281 | </dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 282 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 283 | <!-- Common logging framework --> |
| 284 | <dependency> |
Arul.Nambi | af1121f | 2017-09-21 10:39:37 -0400 | [diff] [blame] | 285 | <groupId>org.onap.aai.logging-service</groupId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 286 | <artifactId>common-logging</artifactId> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 287 | <version>1.5.0</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 288 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 289 | <dependency> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 290 | <groupId>ch.qos.logback</groupId> |
mark.j.leonard | ddecfbc | 2018-05-01 11:57:53 +0100 | [diff] [blame] | 291 | <artifactId>logback-classic</artifactId> |
Fiete Ostkamp | b5c15a4 | 2024-02-28 14:39:51 +0100 | [diff] [blame] | 292 | <version>${logback.version}</version> |
| 293 | <!--$NO-MVN-MAN-VER$ --> |
mark.j.leonard | ddecfbc | 2018-05-01 11:57:53 +0100 | [diff] [blame] | 294 | </dependency> |
| 295 | <dependency> |
| 296 | <groupId>ch.qos.logback</groupId> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 297 | <artifactId>logback-core</artifactId> |
Fiete Ostkamp | b5c15a4 | 2024-02-28 14:39:51 +0100 | [diff] [blame] | 298 | <version>${logback.version}</version> |
| 299 | <!--$NO-MVN-MAN-VER$ --> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 300 | </dependency> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 301 | <dependency> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 302 | <groupId>org.onap.sdc.sdc-distribution-client</groupId> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 303 | <artifactId>sdc-distribution-client</artifactId> |
mark.j.leonard | c5aea4a | 2018-06-06 14:47:42 +0100 | [diff] [blame] | 304 | <version>${sdc-distribution-client.version}</version> |
Lee, Tian (tl5884) | 952a19d | 2017-08-18 16:45:23 +0100 | [diff] [blame] | 305 | </dependency> |
| 306 | <dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 307 | <groupId>org.json</groupId> |
| 308 | <artifactId>json</artifactId> |
Fiete Ostkamp | b5c15a4 | 2024-02-28 14:39:51 +0100 | [diff] [blame] | 309 | <version>20131018</version> |
| 310 | <!--$NO-MVN-MAN-VER$ --> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 311 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 312 | <dependency> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 313 | <groupId>org.eclipse.jetty</groupId> |
| 314 | <artifactId>jetty-security</artifactId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 315 | </dependency> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 316 | <dependency> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 317 | <groupId>jline</groupId> |
| 318 | <artifactId>jline</artifactId> |
| 319 | <version>2.12.1</version> |
| 320 | </dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 321 | <dependency> |
mark.j.leonard | 7e6fe8c | 2018-06-07 16:45:38 +0100 | [diff] [blame] | 322 | <groupId>org.apache.commons</groupId> |
| 323 | <artifactId>commons-compress</artifactId> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 324 | <version>${commons-compress.version}</version> |
mark.j.leonard | 7e6fe8c | 2018-06-07 16:45:38 +0100 | [diff] [blame] | 325 | </dependency> |
| 326 | <dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 327 | <groupId>commons-io</groupId> |
| 328 | <artifactId>commons-io</artifactId> |
wr148d | f849a77 | 2022-02-22 16:12:02 -0500 | [diff] [blame] | 329 | <version>2.11.0</version> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 330 | </dependency> |
| 331 | <dependency> |
| 332 | <groupId>org.apache.commons</groupId> |
| 333 | <artifactId>commons-text</artifactId> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 334 | <version>${apache.commons-text.version}</version> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 335 | </dependency> |
Fiete Ostkamp | 0d67f83 | 2024-02-28 16:30:00 +0100 | [diff] [blame] | 336 | <dependency> |
| 337 | <groupId>org.springframework.cloud</groupId> |
| 338 | <artifactId>spring-cloud-starter-sleuth</artifactId> |
| 339 | </dependency> |
| 340 | <dependency> |
| 341 | <groupId>org.springframework.cloud</groupId> |
| 342 | <artifactId>spring-cloud-sleuth-zipkin</artifactId> |
| 343 | </dependency> |
Gary Wu | 1c79241 | 2018-08-24 15:15:28 -0700 | [diff] [blame] | 344 | |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 345 | <!-- Test dependencies --> |
| 346 | <dependency> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 347 | <groupId>org.hamcrest</groupId> |
| 348 | <artifactId>hamcrest-all</artifactId> |
| 349 | <version>${hamcrest-all.version}</version> |
| 350 | <scope>test</scope> |
| 351 | </dependency> |
| 352 | <dependency> |
Fiete Ostkamp | b5c15a4 | 2024-02-28 14:39:51 +0100 | [diff] [blame] | 353 | <groupId>org.junit.jupiter</groupId> |
| 354 | <artifactId>junit-jupiter</artifactId> |
| 355 | <scope>test</scope> |
| 356 | </dependency> |
| 357 | <dependency> |
| 358 | <groupId>org.junit.jupiter</groupId> |
| 359 | <artifactId>junit-jupiter-api</artifactId> |
| 360 | <scope>test</scope> |
| 361 | </dependency> |
| 362 | <dependency> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 363 | <groupId>org.mockito</groupId> |
| 364 | <artifactId>mockito-core</artifactId> |
| 365 | <scope>test</scope> |
| 366 | </dependency> |
| 367 | <dependency> |
| 368 | <groupId>org.springframework.boot</groupId> |
| 369 | <artifactId>spring-boot-starter-test</artifactId> |
| 370 | <scope>test</scope> |
| 371 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 372 | </dependencies> |
Steve Smokowski | e690871 | 2017-02-10 16:08:20 -0500 | [diff] [blame] | 373 | |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 374 | <!-- Plugins and repositories --> |
| 375 | <pluginRepositories> |
| 376 | <pluginRepository> |
| 377 | <id>central</id> |
Fiete Ostkamp | 126843b | 2022-11-15 16:27:44 +0000 | [diff] [blame] | 378 | <url>https://repo1.maven.org/maven2</url> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 379 | </pluginRepository> |
| 380 | <pluginRepository> |
| 381 | <id>EvoSuite</id> |
| 382 | <name>EvoSuite Repository</name> |
Fiete Ostkamp | 126843b | 2022-11-15 16:27:44 +0000 | [diff] [blame] | 383 | <url>https://www.evosuite.org/m2</url> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 384 | </pluginRepository> |
| 385 | </pluginRepositories> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 386 | |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 387 | <repositories> |
| 388 | <repository> |
| 389 | <id>central</id> |
| 390 | <name>Maven 2 repository 2</name> |
Fiete Ostkamp | 126843b | 2022-11-15 16:27:44 +0000 | [diff] [blame] | 391 | <url>https://repo2.maven.org/maven2/</url> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 392 | </repository> |
| 393 | <repository> |
| 394 | <id>ecomp-releases</id> |
| 395 | <name>ECOMP Release Repository</name> |
| 396 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 397 | </repository> |
| 398 | <repository> |
| 399 | <id>ecomp-snapshots</id> |
| 400 | <name>ECOMP Snapshot Repository</name> |
| 401 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 402 | </repository> |
| 403 | <repository> |
| 404 | <id>ecomp-staging</id> |
| 405 | <name>ECOMP Staging Repository</name> |
| 406 | <url>${nexusproxy}/content/repositories/staging/</url> |
| 407 | </repository> |
| 408 | </repositories> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 409 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 410 | <build> |
| 411 | <plugins> |
| 412 | <plugin> |
Maharajh, Robby (rx2202) | e83a8f3 | 2021-02-24 13:32:28 -0500 | [diff] [blame] | 413 | <groupId>org.apache.maven.plugins</groupId> |
| 414 | <artifactId>maven-compiler-plugin</artifactId> |
| 415 | <version>${maven-compiler-plugin.version}</version> |
| 416 | <inherited>true</inherited> |
| 417 | <configuration> |
| 418 | <source>${maven-compiler-plugin.source}</source> |
| 419 | <target>${maven-compiler-plugin.target}</target> |
| 420 | <testSource>${maven-compiler-plugin.test.source}</testSource> |
| 421 | <testTarget>${maven-compiler-plugin.test.target}</testTarget> |
| 422 | </configuration> |
| 423 | </plugin> |
| 424 | <plugin> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 425 | <groupId>org.springframework.boot</groupId> |
| 426 | <artifactId>spring-boot-maven-plugin</artifactId> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 427 | <version>${spring-boot.version}</version> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 428 | <configuration> |
| 429 | <executable>true</executable> |
| 430 | </configuration> |
| 431 | <executions> |
| 432 | <execution> |
| 433 | <goals> |
| 434 | <goal>repackage</goal> |
| 435 | </goals> |
| 436 | </execution> |
| 437 | </executions> |
| 438 | </plugin> |
| 439 | <plugin> |
Lee, Tian (tl5884) | cb6bc64 | 2018-11-06 15:36:40 +0000 | [diff] [blame] | 440 | <groupId>com.mycila</groupId> |
| 441 | <artifactId>license-maven-plugin</artifactId> |
| 442 | <version>3.0</version> |
| 443 | <configuration> |
| 444 | <header>License.txt</header> |
| 445 | <includes> |
| 446 | <include>src/main/java/**</include> |
| 447 | <include>src/test/java/**</include> |
| 448 | <include>version/properties</include> |
| 449 | <include>pom.xml</include> |
| 450 | </includes> |
| 451 | <skipExistingHeaders>true</skipExistingHeaders> |
| 452 | </configuration> |
| 453 | <executions> |
| 454 | <execution> |
| 455 | <goals> |
| 456 | <!-- Set goal to "format" to auto update license headers --> |
| 457 | <goal>check</goal> |
| 458 | </goals> |
| 459 | <phase>process-sources</phase> |
| 460 | </execution> |
| 461 | </executions> |
| 462 | </plugin> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 463 | <plugin> |
Dmitry Puzikov | 86359a2 | 2019-04-16 16:52:05 +0200 | [diff] [blame] | 464 | <groupId>org.apache.maven.plugins</groupId> |
| 465 | <artifactId>maven-deploy-plugin</artifactId> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 466 | <configuration> |
Jimmy Forsyth | 9d64739 | 2020-04-01 16:10:31 -0400 | [diff] [blame] | 467 | <classifier>client</classifier> |
Jimmy Forsyth | 7e64546 | 2020-03-31 17:17:45 -0400 | [diff] [blame] | 468 | </configuration> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 469 | </plugin> |
| 470 | <plugin> |
Dmitry Puzikov | 86359a2 | 2019-04-16 16:52:05 +0200 | [diff] [blame] | 471 | <artifactId>maven-assembly-plugin</artifactId> |
| 472 | <configuration> |
| 473 | <descriptors> |
| 474 | <descriptor>src/main/assembly/descriptor.xml</descriptor> |
| 475 | </descriptors> |
| 476 | </configuration> |
| 477 | <executions> |
| 478 | <execution> |
| 479 | <id>make-assembly</id> |
| 480 | <phase>package</phase> |
| 481 | <goals> |
| 482 | <goal>single</goal> |
| 483 | </goals> |
| 484 | </execution> |
| 485 | </executions> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 486 | </plugin> |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 487 | |
Sylvain Desbureaux | aecbb49 | 2021-02-01 16:09:23 +0100 | [diff] [blame] | 488 | <!-- 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] | 489 | whole section --> |
| 490 | |
| 491 | <plugin> |
Niharika Sharma | d132185 | 2022-10-14 14:01:39 -0400 | [diff] [blame] | 492 | <groupId>org.jacoco</groupId> |
| 493 | <artifactId>jacoco-maven-plugin</artifactId> |
| 494 | <version>${jacoco.version}</version> |
| 495 | <configuration> |
| 496 | <!-- Note: This exclusion list should match <sonar.exclusions> property |
| 497 | above --> |
| 498 | <excludes> |
| 499 | <exclude>**/gen/**</exclude> |
| 500 | <exclude>**/generated-sources/**</exclude> |
| 501 | <exclude>**/yang-gen/**</exclude> |
| 502 | <exclude>**/pax/**</exclude> |
| 503 | </excludes> |
| 504 | </configuration> |
| 505 | <executions> |
| 506 | <!-- Prepares the property pointing to the JaCoCo runtime agent which |
| 507 | is passed as VM argument when Maven the Surefire plugin is executed. --> |
| 508 | <execution> |
| 509 | <id>pre-unit-test</id> |
| 510 | <goals> |
| 511 | <goal>prepare-agent</goal> |
| 512 | </goals> |
| 513 | <configuration> |
| 514 | <!-- Sets the path to the file which contains the execution data |
| 515 | . --> |
| 516 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 517 | <!-- Sets the name of the property containing the settings for JaCoCo |
| 518 | runtime agent. --> |
| 519 | <propertyName>surefireArgLine</propertyName> |
| 520 | </configuration> |
| 521 | </execution> |
| 522 | <!-- Ensures that the code coverage report for unit tests is created |
| 523 | after unit tests have been run. --> |
| 524 | <execution> |
| 525 | <id>post-unit-test</id> |
| 526 | <phase>test</phase> |
| 527 | <goals> |
| 528 | <goal>report</goal> |
| 529 | </goals> |
| 530 | <configuration> |
| 531 | <!-- Sets the path to the file which contains the execution data |
| 532 | . --> |
| 533 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 534 | <!-- Sets the output directory for the code coverage report. --> |
| 535 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 536 | </configuration> |
| 537 | </execution> |
| 538 | <execution> |
| 539 | <id>pre-integration-test</id> |
| 540 | <phase>pre-integration-test</phase> |
| 541 | <goals> |
| 542 | <goal>prepare-agent</goal> |
| 543 | </goals> |
| 544 | <configuration> |
| 545 | <!-- Sets the path to the file which contains the execution data |
| 546 | . --> |
| 547 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 548 | <!-- Sets the name of the property containing the settings for JaCoCo |
| 549 | runtime agent. --> |
| 550 | <propertyName>failsafeArgLine</propertyName> |
| 551 | </configuration> |
| 552 | </execution> |
| 553 | <!-- Ensures that the code coverage report for integration tests after |
| 554 | integration tests have been run. --> |
| 555 | <execution> |
| 556 | <id>post-integration-test</id> |
| 557 | <phase>post-integration-test</phase> |
| 558 | <goals> |
| 559 | <goal>report</goal> |
| 560 | </goals> |
| 561 | <configuration> |
| 562 | <!-- Sets the path to the file which contains the execution data |
| 563 | . --> |
| 564 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 565 | <!-- Sets the output directory for the code coverage report. --> |
| 566 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 567 | </configuration> |
| 568 | </execution> |
| 569 | <execution> |
| 570 | <id>default-check</id> |
| 571 | <goals> |
| 572 | <goal>check</goal> |
| 573 | </goals> |
| 574 | <configuration> |
| 575 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 576 | <rules> |
| 577 | <rule implementation="org.jacoco.maven.RuleConfiguration"> |
| 578 | <element>BUNDLE</element> |
| 579 | <limits> |
| 580 | <limit implementation="org.jacoco.report.check.Limit"> |
| 581 | <counter>LINE</counter> |
| 582 | <value>COVEREDRATIO</value> |
| 583 | <minimum>${jacoco.line.coverage.limit}</minimum> |
| 584 | </limit> |
| 585 | </limits> |
| 586 | </rule> |
| 587 | </rules> |
| 588 | </configuration> |
| 589 | </execution> |
| 590 | </executions> |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 591 | </plugin> |
| 592 | <plugin> |
Niharika Sharma | d132185 | 2022-10-14 14:01:39 -0400 | [diff] [blame] | 593 | <groupId>org.apache.maven.plugins</groupId> |
| 594 | <artifactId>maven-surefire-plugin</artifactId> |
| 595 | <version>3.0.0-M4</version> |
| 596 | <configuration> |
| 597 | <!-- Sets the VM argument line used when unit tests are run. --> |
| 598 | <argLine>${surefireArgLine}</argLine> |
| 599 | <!-- Excludes integration tests when unit tests are run. --> |
| 600 | <excludes> |
| 601 | <exclude>**/IT*.java</exclude> |
| 602 | </excludes> |
| 603 | </configuration> |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 604 | </plugin> |
| 605 | <plugin> |
Niharika Sharma | d132185 | 2022-10-14 14:01:39 -0400 | [diff] [blame] | 606 | <groupId>org.apache.maven.plugins</groupId> |
| 607 | <artifactId>maven-failsafe-plugin</artifactId> |
| 608 | <version>3.0.0-M4</version> |
| 609 | <executions> |
| 610 | <!-- Ensures that both integration-test and verify goals of the Failsafe |
| 611 | Maven plugin are executed. --> |
| 612 | <execution> |
| 613 | <id>integration-tests</id> |
| 614 | <goals> |
| 615 | <goal>integration-test</goal> |
| 616 | <goal>verify</goal> |
| 617 | </goals> |
| 618 | <configuration> |
| 619 | <!-- Sets the VM argument line used when integration tests are run. --> |
| 620 | <argLine>${failsafeArgLine}</argLine> |
| 621 | </configuration> |
| 622 | </execution> |
| 623 | </executions> |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 624 | </plugin> |
| 625 | <plugin> |
Niharika Sharma | d132185 | 2022-10-14 14:01:39 -0400 | [diff] [blame] | 626 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 627 | <artifactId>sonar-maven-plugin</artifactId> |
| 628 | <version>${sonar.scanner.version}</version> |
Jimmy Forsyth | b285db3 | 2020-04-01 11:01:47 -0400 | [diff] [blame] | 629 | </plugin> |
| 630 | <!-- end removable sonar config --> |
| 631 | |
| 632 | |
| 633 | |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 634 | </plugins> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 635 | </build> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 636 | </project> |