JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
JoeOLeary | d5270c6 | 2020-06-22 14:01:13 +0100 | [diff] [blame] | 4 | Copyright (C) 2019-2020 Nordix Foundation. |
Tomasz Wrobel | 59fe5fc | 2021-11-16 10:36:10 +0100 | [diff] [blame] | 5 | Copyright (C) 2020-2022 Nokia. All rights reserved. |
Alexander Mazuruk | 0f08018 | 2021-02-24 09:30:38 +0100 | [diff] [blame] | 6 | Copyright (C) 2021 Samsung Electronics. All rights reserved. |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 7 | ================================================================================ |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | |
| 20 | SPDX-License-Identifier: Apache-2.0 |
| 21 | ============LICENSE_END========================================================= |
| 22 | --> |
| 23 | |
| 24 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
dfarrelly | 2d336f9 | 2019-02-22 15:31:10 +0000 | [diff] [blame] | 25 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 26 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | |
JoeOLeary | becd8ee | 2019-01-28 13:44:27 +0000 | [diff] [blame] | 29 | <parent> |
| 30 | <groupId>org.onap.oparent</groupId> |
| 31 | <artifactId>oparent</artifactId> |
Piotr Marcinkiewicz | 1fde4cb | 2021-07-23 13:48:13 +0200 | [diff] [blame] | 32 | <version>3.2.0</version> |
JoeOLeary | becd8ee | 2019-01-28 13:44:27 +0000 | [diff] [blame] | 33 | </parent> |
| 34 | |
Pawel | 126c859 | 2021-02-03 12:49:19 +0100 | [diff] [blame] | 35 | <groupId>org.onap.dcaegen2.services</groupId> |
| 36 | <artifactId>pm-mapper</artifactId> |
Tomasz Wrobel | 965cf0e | 2022-04-06 14:21:50 +0200 | [diff] [blame] | 37 | <version>1.9.0-SNAPSHOT</version> |
Pawel | 126c859 | 2021-02-03 12:49:19 +0100 | [diff] [blame] | 38 | |
| 39 | |
JoeOLeary | 4fde9d3 | 2019-02-12 15:49:07 +0000 | [diff] [blame] | 40 | <name>dcaegen2-services-pm-mapper</name> |
| 41 | <description>Maps PM measurement data from XML to VES</description> |
| 42 | <packaging>jar</packaging> |
| 43 | |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 44 | <properties> |
| 45 | <!-- Dependency Versions --> |
| 46 | <lombok.version>1.18.4</lombok.version> |
| 47 | <sl4j.version>1.7.25</sl4j.version> |
Tomasz Wrobel | 25f7419 | 2022-02-10 10:13:59 +0100 | [diff] [blame] | 48 | <logback.version>1.2.10</logback.version> |
tkogut | 874d0e6 | 2020-12-02 12:59:59 +0100 | [diff] [blame] | 49 | <reactor.version>3.4.0</reactor.version> |
Tomasz Wrobel | 25f7419 | 2022-02-10 10:13:59 +0100 | [diff] [blame] | 50 | <undertow.version>2.2.16.Final</undertow.version> |
| 51 | <gson.version>2.8.9</gson.version> |
Remigiusz Janeczek | fe63a7b | 2021-07-23 08:50:35 +0200 | [diff] [blame] | 52 | <freemarker.version>2.3.31</freemarker.version> |
deen1985 | 74877ac | 2021-01-27 17:29:43 +0100 | [diff] [blame] | 53 | <commons.io.version>2.8.0</commons.io.version> |
JoeOLeary | d5270c6 | 2020-06-22 14:01:13 +0100 | [diff] [blame] | 54 | <xml.version>2.3.1</xml.version> |
| 55 | <jaxb.version>2.3.0.1</jaxb.version> |
Tomasz Wrobel | 59fe5fc | 2021-11-16 10:36:10 +0100 | [diff] [blame] | 56 | <!-- DCAE SDK --> |
Tomasz Wrobel | 25f7419 | 2022-02-10 10:13:59 +0100 | [diff] [blame] | 57 | <sdk.version>1.8.8</sdk.version> |
JoeOLeary | d5270c6 | 2020-06-22 14:01:13 +0100 | [diff] [blame] | 58 | <!-- Testing Test Dependencies --> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 59 | <junit.version>5.3.2</junit.version> |
| 60 | <mockito.version>2.23.4</mockito.version> |
| 61 | <mockito-ju5-ext.version>2.23.4</mockito-ju5-ext.version> |
JoeOLeary | d5270c6 | 2020-06-22 14:01:13 +0100 | [diff] [blame] | 62 | <powermock.version>2.0.7</powermock.version> |
tkogut | f789f25 | 2021-04-13 10:11:35 +0200 | [diff] [blame] | 63 | <mockserver.version>5.11.2</mockserver.version> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 64 | <junit4.version>4.12</junit4.version> |
tkogut | f789f25 | 2021-04-13 10:11:35 +0200 | [diff] [blame] | 65 | <jsonschema.version>1.5.1</jsonschema.version> |
| 66 | <json.version>20210307</json.version> |
| 67 | <jackson.version>2.12.2</jackson.version> |
emartin | 1f982f9 | 2019-03-05 16:29:36 +0000 | [diff] [blame] | 68 | <xerces.version>2.11.0</xerces.version> |
tkogut | 874d0e6 | 2020-12-02 12:59:59 +0100 | [diff] [blame] | 69 | <reactor.test>3.4.0</reactor.test> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 70 | <!-- Plugin Versions --> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 71 | <jacoco.version>0.8.2</jacoco.version> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 72 | <surefire.version>2.22.0</surefire.version> |
dfarrelly | 924a805 | 2019-07-24 16:17:13 +0000 | [diff] [blame] | 73 | <git-commit.version>3.0.0</git-commit.version> |
| 74 | <build-helper.version>3.0.0</build-helper.version> |
| 75 | <docker-maven.version>0.30.0</docker-maven.version> |
| 76 | <maven-jar.version>3.1.2</maven-jar.version> |
| 77 | <dependencies.version>3.1.1</dependencies.version> |
JoeOLeary | becd8ee | 2019-01-28 13:44:27 +0000 | [diff] [blame] | 78 | <!-- Plugin Settings --> |
JoeOLeary | c4b59c4 | 2019-01-31 08:45:39 +0000 | [diff] [blame] | 79 | <image-name>${docker.push.registry}/onap/${project.groupId}.${project.artifactId}</image-name> |
dfarrelly | 27cdb4f | 2019-03-01 14:26:42 +0000 | [diff] [blame] | 80 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
dfarrelly | 2d336f9 | 2019-02-22 15:31:10 +0000 | [diff] [blame] | 81 | <timestamp>${maven.build.timestamp}</timestamp> |
JoeOLeary | becd8ee | 2019-01-28 13:44:27 +0000 | [diff] [blame] | 82 | <sonar.language>java</sonar.language> |
| 83 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 84 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 85 | <sonar.jacoco.reportPaths>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPaths> |
| 86 | <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 87 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
JoeOLeary | d5270c6 | 2020-06-22 14:01:13 +0100 | [diff] [blame] | 88 | <compiler.target.version>1.11</compiler.target.version> |
| 89 | <compiler.source.version>1.11</compiler.source.version> |
emartin | a8e48cf | 2019-02-08 18:22:27 +0000 | [diff] [blame] | 90 | <onap.logging.version>1.2.2</onap.logging.version> |
dfarrelly | 924a805 | 2019-07-24 16:17:13 +0000 | [diff] [blame] | 91 | <classpath.separator>@@</classpath.separator> |
| 92 | <pmmapper.main.class>org.onap.dcaegen2.services.pmmapper.App</pmmapper.main.class> |
| 93 | <dep.dir.name>libs</dep.dir.name> |
| 94 | <ext.dep.dir.path>${dep.dir.name}/external</ext.dep.dir.path> |
Tomasz Wrobel | 3a1cb68 | 2021-02-22 11:02:49 +0100 | [diff] [blame] | 95 | |
| 96 | <docker-image.tag.latest>latest</docker-image.tag.latest> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 97 | </properties> |
| 98 | |
| 99 | <dependencies> |
| 100 | <dependency> |
| 101 | <groupId>org.projectlombok</groupId> |
| 102 | <artifactId>lombok</artifactId> |
| 103 | <version>${lombok.version}</version> |
| 104 | <scope>provided</scope> |
| 105 | </dependency> |
| 106 | <dependency> |
| 107 | <groupId>io.projectreactor</groupId> |
| 108 | <artifactId>reactor-core</artifactId> |
| 109 | <version>${reactor.version}</version> |
| 110 | </dependency> |
| 111 | <dependency> |
| 112 | <groupId>io.undertow</groupId> |
| 113 | <artifactId>undertow-core</artifactId> |
| 114 | <version>${undertow.version}</version> |
| 115 | </dependency> |
| 116 | <dependency> |
JoeOLeary | d5270c6 | 2020-06-22 14:01:13 +0100 | [diff] [blame] | 117 | <groupId>javax.xml.bind</groupId> |
| 118 | <artifactId>jaxb-api</artifactId> |
| 119 | <version>${xml.version}</version> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>com.sun.xml.bind</groupId> |
| 123 | <artifactId>jaxb-core</artifactId> |
| 124 | <version>${jaxb.version}</version> |
| 125 | </dependency> |
| 126 | <dependency> |
tkogut | f789f25 | 2021-04-13 10:11:35 +0200 | [diff] [blame] | 127 | <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId> |
| 128 | <artifactId>dmaap-client</artifactId> |
Tomasz Wrobel | 59fe5fc | 2021-11-16 10:36:10 +0100 | [diff] [blame] | 129 | <version>${sdk.version}</version> |
| 130 | </dependency> |
| 131 | <dependency> |
| 132 | <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId> |
| 133 | <artifactId>cbs-client</artifactId> |
| 134 | <version>${sdk.version}</version> |
tkogut | f789f25 | 2021-04-13 10:11:35 +0200 | [diff] [blame] | 135 | </dependency> |
| 136 | <dependency> |
JoeOLeary | d5270c6 | 2020-06-22 14:01:13 +0100 | [diff] [blame] | 137 | <groupId>com.sun.xml.bind</groupId> |
| 138 | <artifactId>jaxb-impl</artifactId> |
| 139 | <version>${xml.version}</version> |
| 140 | </dependency> |
| 141 | <dependency> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 142 | <groupId>org.slf4j</groupId> |
| 143 | <artifactId>slf4j-api</artifactId> |
| 144 | <version>${sl4j.version}</version> |
| 145 | </dependency> |
| 146 | <dependency> |
| 147 | <groupId>ch.qos.logback</groupId> |
| 148 | <artifactId>logback-classic</artifactId> |
| 149 | <version>${logback.version}</version> |
| 150 | </dependency> |
| 151 | <dependency> |
emartin | a8e48cf | 2019-02-08 18:22:27 +0000 | [diff] [blame] | 152 | <groupId>org.onap.logging-analytics</groupId> |
| 153 | <artifactId>logging-slf4j</artifactId> |
| 154 | <version>${onap.logging.version}</version> |
| 155 | </dependency> |
| 156 | <dependency> |
| 157 | <groupId>javax.servlet</groupId> |
| 158 | <artifactId>servlet-api</artifactId> |
| 159 | <version>2.5</version> |
| 160 | <scope>provided</scope> |
| 161 | </dependency> |
| 162 | <dependency> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 163 | <groupId>com.google.code.gson</groupId> |
| 164 | <artifactId>gson</artifactId> |
| 165 | <version>${gson.version}</version> |
| 166 | </dependency> |
| 167 | <dependency> |
JoeOLeary | 924ab47 | 2019-02-15 13:46:01 +0000 | [diff] [blame] | 168 | <groupId>org.freemarker</groupId> |
| 169 | <artifactId>freemarker</artifactId> |
| 170 | <version>${freemarker.version}</version> |
| 171 | </dependency> |
| 172 | <dependency> |
emartin | 39bec81 | 2019-04-02 11:40:04 +0000 | [diff] [blame] | 173 | <groupId>commons-io</groupId> |
| 174 | <artifactId>commons-io</artifactId> |
| 175 | <version>${commons.io.version}</version> |
| 176 | </dependency> |
| 177 | <dependency> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 178 | <groupId>org.junit.jupiter</groupId> |
| 179 | <artifactId>junit-jupiter-engine</artifactId> |
| 180 | <version>${junit.version}</version> |
| 181 | <scope>test</scope> |
| 182 | </dependency> |
| 183 | <dependency> |
| 184 | <groupId>org.mockito</groupId> |
| 185 | <artifactId>mockito-junit-jupiter</artifactId> |
| 186 | <version>${mockito-ju5-ext.version}</version> |
| 187 | <scope>test</scope> |
| 188 | </dependency> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 189 | <dependency> |
| 190 | <groupId>org.mockito</groupId> |
| 191 | <artifactId>mockito-core</artifactId> |
| 192 | <version>${mockito.version}</version> |
| 193 | <scope>test</scope> |
| 194 | </dependency> |
| 195 | <dependency> |
| 196 | <groupId>org.powermock</groupId> |
| 197 | <artifactId>powermock-module-junit4</artifactId> |
| 198 | <version>${powermock.version}</version> |
| 199 | <scope>test</scope> |
| 200 | </dependency> |
| 201 | <dependency> |
| 202 | <groupId>org.junit.vintage</groupId> |
| 203 | <artifactId>junit-vintage-engine</artifactId> |
| 204 | <version>${junit.version}</version> |
| 205 | <scope>test</scope> |
| 206 | </dependency> |
| 207 | <dependency> |
| 208 | <groupId>org.powermock</groupId> |
| 209 | <artifactId>powermock-api-mockito2</artifactId> |
| 210 | <version>${powermock.version}</version> |
| 211 | <scope>test</scope> |
| 212 | </dependency> |
emartin | 4751cb9 | 2019-01-29 12:21:51 +0000 | [diff] [blame] | 213 | <dependency> |
| 214 | <groupId>org.mock-server</groupId> |
| 215 | <artifactId>mockserver-netty</artifactId> |
| 216 | <version>${mockserver.version}</version> |
| 217 | <scope>test</scope> |
Tomasz Wrobel | 25f7419 | 2022-02-10 10:13:59 +0100 | [diff] [blame] | 218 | <exclusions> |
| 219 | <exclusion> |
| 220 | <artifactId>*</artifactId> |
| 221 | <groupId>io.netty</groupId> |
| 222 | </exclusion> |
| 223 | </exclusions> |
emartin | 4751cb9 | 2019-01-29 12:21:51 +0000 | [diff] [blame] | 224 | </dependency> |
| 225 | <dependency> |
| 226 | <groupId>org.mock-server</groupId> |
| 227 | <artifactId>mockserver-client-java</artifactId> |
| 228 | <version>${mockserver.version}</version> |
| 229 | <scope>test</scope> |
| 230 | </dependency> |
JoeOLeary | 924ab47 | 2019-02-15 13:46:01 +0000 | [diff] [blame] | 231 | <dependency> |
tkogut | f789f25 | 2021-04-13 10:11:35 +0200 | [diff] [blame] | 232 | <groupId>org.json</groupId> |
| 233 | <artifactId>json</artifactId> |
| 234 | <version>${json.version}</version> |
| 235 | <scope>test</scope> |
| 236 | </dependency> |
| 237 | <dependency> |
| 238 | <groupId>com.fasterxml.jackson.core</groupId> |
| 239 | <artifactId>jackson-core</artifactId> |
| 240 | <version>${jackson.version}</version> |
| 241 | <scope>test</scope> |
| 242 | </dependency> |
| 243 | <dependency> |
JoeOLeary | 924ab47 | 2019-02-15 13:46:01 +0000 | [diff] [blame] | 244 | <groupId>org.junit.jupiter</groupId> |
| 245 | <artifactId>junit-jupiter-params</artifactId> |
| 246 | <version>${junit.version}</version> |
| 247 | <scope>test</scope> |
| 248 | </dependency> |
| 249 | <dependency> |
emartin | ab26367 | 2019-03-22 16:45:31 +0000 | [diff] [blame] | 250 | <groupId>io.projectreactor</groupId> |
| 251 | <artifactId>reactor-test</artifactId> |
| 252 | <version>${reactor.test}</version> |
| 253 | <scope>test</scope> |
| 254 | </dependency> |
| 255 | <dependency> |
JoeOLeary | 924ab47 | 2019-02-15 13:46:01 +0000 | [diff] [blame] | 256 | <groupId>org.everit.json</groupId> |
| 257 | <artifactId>org.everit.json.schema</artifactId> |
| 258 | <version>${jsonschema.version}</version> |
| 259 | <scope>test</scope> |
| 260 | </dependency> |
emartin | 1f982f9 | 2019-03-05 16:29:36 +0000 | [diff] [blame] | 261 | <dependency> |
| 262 | <groupId>xerces</groupId> |
| 263 | <artifactId>xercesImpl</artifactId> |
| 264 | <version>${xerces.version}</version> |
| 265 | <scope>test</scope> |
| 266 | </dependency> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 267 | </dependencies> |
| 268 | |
| 269 | <build> |
| 270 | <plugins> |
| 271 | <plugin> |
dfarrelly | 924a805 | 2019-07-24 16:17:13 +0000 | [diff] [blame] | 272 | <groupId>pl.project13.maven</groupId> |
| 273 | <artifactId>git-commit-id-plugin</artifactId> |
| 274 | <version>${git-commit.version}</version> |
JoeOLeary | becd8ee | 2019-01-28 13:44:27 +0000 | [diff] [blame] | 275 | <configuration> |
dfarrelly | 924a805 | 2019-07-24 16:17:13 +0000 | [diff] [blame] | 276 | <dateFormat>${maven.build.timestamp.format}</dateFormat> |
JoeOLeary | becd8ee | 2019-01-28 13:44:27 +0000 | [diff] [blame] | 277 | </configuration> |
dfarrelly | 27cdb4f | 2019-03-01 14:26:42 +0000 | [diff] [blame] | 278 | <executions> |
| 279 | <execution> |
dfarrelly | 924a805 | 2019-07-24 16:17:13 +0000 | [diff] [blame] | 280 | <id>get-git-info</id> |
dfarrelly | 27cdb4f | 2019-03-01 14:26:42 +0000 | [diff] [blame] | 281 | <goals> |
dfarrelly | 924a805 | 2019-07-24 16:17:13 +0000 | [diff] [blame] | 282 | <goal>revision</goal> |
dfarrelly | 27cdb4f | 2019-03-01 14:26:42 +0000 | [diff] [blame] | 283 | </goals> |
dfarrelly | 27cdb4f | 2019-03-01 14:26:42 +0000 | [diff] [blame] | 284 | </execution> |
dfarrelly | 924a805 | 2019-07-24 16:17:13 +0000 | [diff] [blame] | 285 | </executions> |
| 286 | </plugin> |
| 287 | <plugin> |
| 288 | <groupId>org.apache.maven.plugins</groupId> |
| 289 | <artifactId>maven-dependency-plugin</artifactId> |
| 290 | <version>${dependencies.version}</version> |
| 291 | <configuration> |
| 292 | <silent>true</silent> |
| 293 | <includeScope>runtime</includeScope> |
| 294 | <pathSeparator>${classpath.separator}</pathSeparator> |
| 295 | </configuration> |
| 296 | <executions> |
dfarrelly | 27cdb4f | 2019-03-01 14:26:42 +0000 | [diff] [blame] | 297 | <execution> |
dfarrelly | 924a805 | 2019-07-24 16:17:13 +0000 | [diff] [blame] | 298 | <id>copy-external-dependencies</id> |
| 299 | <phase>prepare-package</phase> |
JoeOLeary | 2c8ddf3 | 2019-07-19 10:02:12 +0000 | [diff] [blame] | 300 | <goals> |
dfarrelly | 924a805 | 2019-07-24 16:17:13 +0000 | [diff] [blame] | 301 | <goal>copy-dependencies</goal> |
| 302 | <goal>build-classpath</goal> |
JoeOLeary | 2c8ddf3 | 2019-07-19 10:02:12 +0000 | [diff] [blame] | 303 | </goals> |
| 304 | <configuration> |
dfarrelly | 924a805 | 2019-07-24 16:17:13 +0000 | [diff] [blame] | 305 | <excludeGroupIds>${project.parent.groupId}</excludeGroupIds> |
| 306 | <outputDirectory>${project.build.directory}/${ext.dep.dir.path}</outputDirectory> |
| 307 | <prefix>./${ext.dep.dir.path}</prefix> |
| 308 | <outputProperty>classpath.external</outputProperty> |
dfarrelly | 27cdb4f | 2019-03-01 14:26:42 +0000 | [diff] [blame] | 309 | </configuration> |
| 310 | </execution> |
| 311 | </executions> |
JoeOLeary | becd8ee | 2019-01-28 13:44:27 +0000 | [diff] [blame] | 312 | </plugin> |
| 313 | <plugin> |
dfarrelly | 924a805 | 2019-07-24 16:17:13 +0000 | [diff] [blame] | 314 | <groupId>org.codehaus.mojo</groupId> |
| 315 | <artifactId>build-helper-maven-plugin</artifactId> |
| 316 | <version>${build-helper.version}</version> |
| 317 | <executions> |
| 318 | <execution> |
| 319 | <id>fix-classpath-separator</id> |
| 320 | <phase>prepare-package</phase> |
| 321 | <goals> |
| 322 | <goal>regex-properties</goal> |
| 323 | </goals> |
| 324 | <configuration> |
| 325 | <regexPropertySettings> |
| 326 | <regexPropertySetting> |
| 327 | <name>classpath.external</name> |
| 328 | <value>${classpath.external}</value> |
| 329 | <regex>${classpath.separator}</regex> |
| 330 | <replacement xml:space="preserve"> </replacement> |
| 331 | </regexPropertySetting> |
| 332 | </regexPropertySettings> |
| 333 | </configuration> |
| 334 | </execution> |
| 335 | </executions> |
| 336 | </plugin> |
| 337 | <plugin> |
| 338 | <groupId>io.fabric8</groupId> |
| 339 | <artifactId>docker-maven-plugin</artifactId> |
| 340 | <version>${docker-maven.version}</version> |
| 341 | <configuration> |
| 342 | <images> |
| 343 | <image> |
Tomasz Wrobel | 3a1cb68 | 2021-02-22 11:02:49 +0100 | [diff] [blame] | 344 | <name>onap/${project.groupId}.${project.artifactId}:${docker-image.tag.latest}</name> |
dfarrelly | 924a805 | 2019-07-24 16:17:13 +0000 | [diff] [blame] | 345 | <registry>${onap.nexus.dockerregistry.daily}</registry> |
| 346 | <build> |
| 347 | <contextDir>${project.basedir}</contextDir> |
| 348 | <dockerFile>${project.build.outputDirectory}/Dockerfile</dockerFile> |
| 349 | <args> |
| 350 | <JAR>${project.build.finalName}.jar</JAR> |
| 351 | </args> |
| 352 | <cleanup>none</cleanup> |
| 353 | <tags> |
| 354 | <tag>${project.version}</tag> |
| 355 | <tag>${project.version}-${maven.build.timestamp}Z</tag> |
| 356 | </tags> |
| 357 | </build> |
| 358 | </image> |
| 359 | </images> |
| 360 | </configuration> |
| 361 | </plugin> |
| 362 | <plugin> |
| 363 | <groupId>org.apache.maven.plugins</groupId> |
| 364 | <artifactId>maven-jar-plugin</artifactId> |
| 365 | <version>${maven-jar.version}</version> |
| 366 | <configuration> |
| 367 | <archive> |
| 368 | <manifest> |
| 369 | <mainClass>${pmmapper.main.class}</mainClass> |
| 370 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 371 | <addBuildEnvironmentEntries>true</addBuildEnvironmentEntries> |
| 372 | <useUniqueVersions>false</useUniqueVersions> <!-- workaround for MJAR-156 --> |
| 373 | </manifest> |
| 374 | <manifestEntries> |
| 375 | <Class-Path>${classpath.external}</Class-Path> |
| 376 | <Git-Branch>${git.branch}</Git-Branch> |
| 377 | <Git-Build-Host>${git.build.host}</Git-Build-Host> |
| 378 | <Git-Build-Time>${git.build.time}</Git-Build-Time> |
| 379 | <Git-Build-User-Email>${git.build.user.email}</Git-Build-User-Email> |
| 380 | <Git-Build-User-Name>${git.build.user.name}</Git-Build-User-Name> |
| 381 | <Git-Build-Version>${git.build.version}</Git-Build-Version> |
| 382 | <Git-Closest-Tag-Name>${git.closest.tag.name}</Git-Closest-Tag-Name> |
| 383 | <Git-Commit-Id>${git.commit.id}</Git-Commit-Id> |
| 384 | <Git-Commit-Message-Short>${git.commit.message.short}</Git-Commit-Message-Short> |
| 385 | <Git-Commit-Time>${git.commit.time}</Git-Commit-Time> |
| 386 | <Git-Commit-User-Email>${git.commit.user.email}</Git-Commit-User-Email> |
| 387 | <Git-Commit-User-Name>${git.commit.user.name}</Git-Commit-User-Name> |
| 388 | </manifestEntries> |
| 389 | </archive> |
| 390 | </configuration> |
| 391 | </plugin> |
| 392 | <plugin> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 393 | <groupId>org.apache.maven.plugins</groupId> |
| 394 | <artifactId>maven-surefire-plugin</artifactId> |
| 395 | <version>${surefire.version}</version> |
emartin | 4751cb9 | 2019-01-29 12:21:51 +0000 | [diff] [blame] | 396 | <configuration combine.self="override"> |
| 397 | <useSystemClassLoader>false</useSystemClassLoader> |
| 398 | </configuration> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 399 | </plugin> |
| 400 | <plugin> |
| 401 | <groupId>org.apache.maven.plugins</groupId> |
| 402 | <artifactId>maven-failsafe-plugin</artifactId> |
| 403 | <version>${surefire.version}</version> |
| 404 | </plugin> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 405 | <plugin> |
| 406 | <groupId>org.apache.maven.plugins</groupId> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 407 | <artifactId>maven-compiler-plugin</artifactId> |
| 408 | <configuration> |
JoeOLeary | becd8ee | 2019-01-28 13:44:27 +0000 | [diff] [blame] | 409 | <source>${maven.compiler.source}</source> |
| 410 | <target>${maven.compiler.target}</target> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 411 | </configuration> |
| 412 | </plugin> |
| 413 | <plugin> |
| 414 | <groupId>org.jacoco</groupId> |
| 415 | <artifactId>jacoco-maven-plugin</artifactId> |
| 416 | <version>${jacoco.version}</version> |
| 417 | <executions> |
| 418 | <execution> |
| 419 | <id>jacoco-instrument</id> |
| 420 | <goals> |
| 421 | <goal>instrument</goal> |
| 422 | </goals> |
| 423 | </execution> |
| 424 | <execution> |
| 425 | <id>jacoco-restore-instrumented-classes</id> |
| 426 | <goals> |
| 427 | <goal>restore-instrumented-classes</goal> |
| 428 | </goals> |
| 429 | </execution> |
| 430 | <execution> |
| 431 | <goals> |
| 432 | <goal>prepare-agent</goal> |
| 433 | </goals> |
JoeOLeary | e501391 | 2019-03-01 14:09:52 +0000 | [diff] [blame] | 434 | <configuration> |
| 435 | <excludes> |
| 436 | <exclude>*</exclude> |
| 437 | </excludes> |
| 438 | </configuration> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 439 | </execution> |
| 440 | <execution> |
| 441 | <id>report</id> |
| 442 | <phase>prepare-package</phase> |
| 443 | <goals> |
| 444 | <goal>report</goal> |
| 445 | </goals> |
| 446 | </execution> |
| 447 | </executions> |
JoeOLeary | 8338d2e | 2019-01-22 16:09:34 +0000 | [diff] [blame] | 448 | </plugin> |
| 449 | </plugins> |
| 450 | </build> |
| 451 | |
JoeOLeary | 1f2e135 | 2020-06-24 08:38:24 +0100 | [diff] [blame] | 452 | </project> |