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