Gary Wu | 6454abb | 2018-08-24 15:22:40 -0700 | [diff] [blame] | 1 | <?xml version="1.0"?> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START============================================== |
| 4 | org.onap.dmaap |
| 5 | ======================================================================= |
| 6 | Copyright © 2017 AT&T Intellectual Property. All rights reserved. |
| 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 |
Varun Gudisena | 7d45c17 | 2017-08-31 10:44:28 -0500 | [diff] [blame] | 11 | |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 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 | ============LICENSE_END================================================ |
| 20 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 21 | --> |
| 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 23 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 24 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 25 | |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 28 | <artifactId>dmaapClient</artifactId> |
| 29 | <packaging>jar</packaging> |
efiacor | 69a2513 | 2022-12-05 17:32:10 +0000 | [diff] [blame^] | 30 | <version>1.1.15-SNAPSHOT</version> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 31 | <name>dmaap-messagerouter-dmaapclient</name> |
| 32 | <description>Client library for MR event routing API</description> |
| 33 | <url>https://gerrit.onap.org/r/gitweb?p=dmaap/messagerouter/dmaapclient.git</url> |
| 34 | |
| 35 | <parent> |
| 36 | <groupId>org.onap.oparent</groupId> |
| 37 | <artifactId>oparent</artifactId> |
| 38 | <version>3.2.0</version> |
| 39 | </parent> |
| 40 | |
| 41 | <properties> |
efiacor | 1e0b9be | 2021-12-14 12:12:11 +0000 | [diff] [blame] | 42 | <jersey.version>2.34</jersey.version> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 43 | <version.jackson.core>2.6.7.1</version.jackson.core> |
| 44 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
sunil unnava | 5056c3d | 2018-10-26 12:17:29 -0400 | [diff] [blame] | 45 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 46 | <sonar.language>java</sonar.language> |
su622b | feeb6d1 | 2020-03-11 12:05:22 -0400 | [diff] [blame] | 47 | <sonar.skip>false</sonar.skip> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 48 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports |
| 49 | </sonar.surefire.reportsPath> |
| 50 | <sonar.coverage.jacoco.xmlReportPaths> |
| 51 | ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml |
| 52 | </sonar.coverage.jacoco.xmlReportPaths> |
su622b | feeb6d1 | 2020-03-11 12:05:22 -0400 | [diff] [blame] | 53 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 54 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** |
| 55 | </sonar.exclusions> |
| 56 | <sitePath> |
| 57 | /content/sites/site/org/onap/dmaap/messagerouter/dmaapclient/${project.artifactId}/${project.version} |
| 58 | </sitePath> |
| 59 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 60 | </properties> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 61 | |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 62 | <distributionManagement> |
| 63 | <site> |
| 64 | <id>ecomp-site</id> |
| 65 | <url>dav:${nexusproxy}${sitePath}</url> |
| 66 | </site> |
| 67 | </distributionManagement> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 68 | |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 69 | <licenses> |
| 70 | <license> |
| 71 | <name>Apache License Version 2.0</name> |
| 72 | </license> |
| 73 | </licenses> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 74 | |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 75 | <developers> |
| 76 | <developer> |
| 77 | <name>Rajashree</name> |
| 78 | <email/> |
| 79 | <organization>ATT</organization> |
| 80 | <organizationUrl>www.att.com</organizationUrl> |
| 81 | </developer> |
| 82 | <developer> |
| 83 | <name>Ramkumar</name> |
| 84 | <email/> |
| 85 | <organization>ATT</organization> |
| 86 | <organizationUrl>www.att.com</organizationUrl> |
| 87 | </developer> |
| 88 | </developers> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 89 | |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 90 | <dependencies> |
| 91 | <dependency> |
| 92 | <groupId>commons-codec</groupId> |
| 93 | <artifactId>commons-codec</artifactId> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 94 | <version>1.15</version> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 95 | </dependency> |
| 96 | <dependency> |
su622b | a04e69e | 2020-09-09 13:25:36 -0400 | [diff] [blame] | 97 | <groupId>org.javassist</groupId> |
| 98 | <artifactId>javassist</artifactId> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 99 | <version>3.27.0-GA</version> |
su622b | a04e69e | 2020-09-09 13:25:36 -0400 | [diff] [blame] | 100 | </dependency> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 101 | <dependency> |
| 102 | <groupId>com.fasterxml.jackson.core</groupId> |
| 103 | <artifactId>jackson-core</artifactId> |
| 104 | <version>2.11.2</version> |
| 105 | </dependency> |
| 106 | <dependency> |
| 107 | <groupId>com.fasterxml.jackson.core</groupId> |
| 108 | <artifactId>jackson-databind</artifactId> |
efiacor | 9366906 | 2022-09-21 10:18:02 +0100 | [diff] [blame] | 109 | <version>2.13.3</version> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 110 | </dependency> |
| 111 | <dependency> |
| 112 | <groupId>org.apache.httpcomponents</groupId> |
| 113 | <artifactId>httpclient-cache</artifactId> |
| 114 | <version>4.5.13</version> |
| 115 | </dependency> |
| 116 | <dependency> |
| 117 | <groupId>com.att.nsa</groupId> |
| 118 | <artifactId>saClientLibrary</artifactId> |
| 119 | <version>0.0.1</version> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>org.json</groupId> |
| 123 | <artifactId>json</artifactId> |
efiacor | 9366906 | 2022-09-21 10:18:02 +0100 | [diff] [blame] | 124 | <version>20220320</version> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 125 | </dependency> |
| 126 | <dependency> |
| 127 | <groupId>com.att.aft</groupId> |
| 128 | <artifactId>dme2</artifactId> |
| 129 | <version>3.1.200-oss</version> |
| 130 | <exclusions> |
| 131 | <exclusion> |
| 132 | <groupId>com.sun.jersey</groupId> |
| 133 | <artifactId>jersey-json</artifactId> |
| 134 | </exclusion> |
| 135 | <exclusion> |
| 136 | <groupId>com.sun.jersey</groupId> |
| 137 | <artifactId>jersey-client</artifactId> |
| 138 | </exclusion> |
| 139 | <exclusion> |
| 140 | <groupId>javax.jms</groupId> |
| 141 | <artifactId>jms</artifactId> |
| 142 | </exclusion> |
| 143 | </exclusions> |
| 144 | </dependency> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 145 | <dependency> |
| 146 | <groupId>jakarta.xml.bind</groupId> |
| 147 | <artifactId>jakarta.xml.bind-api</artifactId> |
| 148 | <version>2.3.2</version> |
| 149 | </dependency> |
| 150 | <!-- Runtime, com.sun.xml.bind module --> |
| 151 | <dependency> |
| 152 | <groupId>org.glassfish.jaxb</groupId> |
| 153 | <artifactId>jaxb-runtime</artifactId> |
| 154 | <version>2.3.2</version> |
| 155 | </dependency> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 156 | <dependency> |
| 157 | <groupId>commons-io</groupId> |
| 158 | <artifactId>commons-io</artifactId> |
| 159 | <version>2.7</version> |
| 160 | </dependency> |
| 161 | <dependency> |
| 162 | <groupId>javax.ws.rs</groupId> |
| 163 | <artifactId>javax.ws.rs-api</artifactId> |
| 164 | <version>2.0.1</version> |
| 165 | </dependency> |
| 166 | <dependency> |
| 167 | <groupId>org.glassfish.jersey.core</groupId> |
| 168 | <artifactId>jersey-common</artifactId> |
| 169 | <version>${jersey.version}</version> |
| 170 | </dependency> |
| 171 | <dependency> |
Ravi Pendurty | abe4681 | 2021-04-06 11:41:09 +0200 | [diff] [blame] | 172 | <groupId>org.glassfish.jersey.connectors</groupId> |
| 173 | <artifactId>jersey-apache-connector</artifactId> |
efiacor | 1e0b9be | 2021-12-14 12:12:11 +0000 | [diff] [blame] | 174 | <version>${jersey.version}</version> |
Ravi Pendurty | abe4681 | 2021-04-06 11:41:09 +0200 | [diff] [blame] | 175 | </dependency> |
| 176 | <dependency> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 177 | <groupId>org.glassfish.jersey.core</groupId> |
| 178 | <artifactId>jersey-client</artifactId> |
| 179 | <version>${jersey.version}</version> |
| 180 | </dependency> |
| 181 | <dependency> |
| 182 | <groupId>org.glassfish.jersey.media</groupId> |
| 183 | <artifactId>jersey-media-json-jackson</artifactId> |
| 184 | <version>${jersey.version}</version> |
| 185 | </dependency> |
| 186 | <dependency> |
seanfos | 34db7e2 | 2021-07-06 16:35:23 +0100 | [diff] [blame] | 187 | <groupId>org.glassfish.jersey.inject</groupId> |
| 188 | <artifactId>jersey-hk2</artifactId> |
| 189 | <version>${jersey.version}</version> |
| 190 | <exclusions> |
| 191 | <exclusion> |
| 192 | <groupId>org.glassfish.hk2.external</groupId> |
| 193 | <artifactId>javax.inject</artifactId> |
| 194 | </exclusion> |
| 195 | <exclusion> |
| 196 | <groupId>javax.annotation</groupId> |
| 197 | <artifactId>javax.annotation-api</artifactId> |
| 198 | </exclusion> |
| 199 | <exclusion> |
| 200 | <groupId>org.javassist</groupId> |
| 201 | <artifactId>javassist</artifactId> |
| 202 | </exclusion> |
| 203 | </exclusions> |
| 204 | </dependency> |
| 205 | <dependency> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 206 | <groupId>junit</groupId> |
| 207 | <artifactId>junit</artifactId> |
| 208 | <version>4.11</version> |
| 209 | <scope>test</scope> |
| 210 | </dependency> |
| 211 | <dependency> |
| 212 | <groupId>com.github.tomakehurst</groupId> |
| 213 | <artifactId>wiremock</artifactId> |
| 214 | <version>2.5.0</version> |
| 215 | <scope>test</scope> |
| 216 | </dependency> |
| 217 | <dependency> |
| 218 | <groupId>org.mockito</groupId> |
| 219 | <artifactId>mockito-core</artifactId> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 220 | <version>2.18.0</version> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 221 | <scope>test</scope> |
| 222 | </dependency> |
| 223 | <dependency> |
| 224 | <groupId>org.powermock</groupId> |
| 225 | <artifactId>powermock-module-junit4</artifactId> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 226 | <version>2.0.0-beta.5</version> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 227 | <scope>test</scope> |
| 228 | </dependency> |
| 229 | <dependency> |
| 230 | <groupId>org.powermock</groupId> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 231 | <artifactId>powermock-api-mockito2</artifactId> |
| 232 | <version>2.0.0-beta.5</version> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 233 | <scope>test</scope> |
| 234 | </dependency> |
| 235 | <dependency> |
| 236 | <groupId>org.springframework</groupId> |
| 237 | <artifactId>spring-test</artifactId> |
| 238 | <version>3.0.5.RELEASE</version> |
| 239 | <scope>test</scope> |
| 240 | </dependency> |
| 241 | </dependencies> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 242 | |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 243 | <build> |
| 244 | <resources> |
| 245 | <resource> |
| 246 | <directory>src/main/resources</directory> |
| 247 | <filtering>true</filtering> |
| 248 | <includes> |
| 249 | <include>**/MRClientVersion.properties</include> |
| 250 | </includes> |
| 251 | </resource> |
| 252 | <resource> |
| 253 | <directory>src/main/resources</directory> |
| 254 | <filtering>false</filtering> |
| 255 | <excludes> |
| 256 | <exclude>**/MRClientVersion.properties</exclude> |
| 257 | </excludes> |
| 258 | </resource> |
| 259 | </resources> |
| 260 | <plugins> |
| 261 | <plugin> |
| 262 | <groupId>org.apache.maven.plugins</groupId> |
| 263 | <artifactId>maven-site-plugin</artifactId> |
| 264 | <version>3.6</version> |
| 265 | <dependencies> |
| 266 | <dependency> |
| 267 | <groupId>org.apache.maven.wagon</groupId> |
| 268 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 269 | <version>2.10</version> |
| 270 | </dependency> |
| 271 | </dependencies> |
| 272 | </plugin> |
| 273 | <plugin> |
sliard | e8246bd | 2021-04-23 16:50:26 +0200 | [diff] [blame] | 274 | <groupId>org.apache.maven.plugins</groupId> |
| 275 | <artifactId>maven-compiler-plugin</artifactId> |
| 276 | <configuration> |
| 277 | <source>11</source> |
| 278 | <target>11</target> |
| 279 | </configuration> |
| 280 | </plugin> |
| 281 | <plugin> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 282 | <artifactId>maven-assembly-plugin</artifactId> |
| 283 | <version>2.4</version> |
| 284 | <configuration> |
| 285 | <descriptorRefs> |
| 286 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 287 | </descriptorRefs> |
| 288 | </configuration> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 289 | |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 290 | <executions> |
| 291 | <execution> |
| 292 | <id>make-assembly</id> <!-- this is used for inheritance merges --> |
| 293 | <phase>package</phase> <!-- bind to the packaging phase --> |
| 294 | <goals> |
| 295 | <goal>single</goal> |
| 296 | </goals> |
| 297 | </execution> |
| 298 | </executions> |
| 299 | </plugin> |
| 300 | <plugin> |
| 301 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 302 | <executions> |
| 303 | <execution> |
| 304 | <id>onap-java-style</id> |
| 305 | <configuration> |
| 306 | <consoleOutput>false</consoleOutput> |
| 307 | </configuration> |
| 308 | </execution> |
| 309 | </executions> |
| 310 | </plugin> |
| 311 | <plugin> |
| 312 | <groupId>org.apache.maven.plugins</groupId> |
| 313 | <artifactId>maven-javadoc-plugin</artifactId> |
efiacor | 1e0b9be | 2021-12-14 12:12:11 +0000 | [diff] [blame] | 314 | <version>3.3.1</version> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 315 | <configuration> |
sliard | 72a9ab9 | 2021-04-12 15:58:22 +0200 | [diff] [blame] | 316 | <failOnError>false</failOnError> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 317 | <detectJavaApiLink>false</detectJavaApiLink> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 318 | <additionalparam>-Xdoclint:none</additionalparam> |
| 319 | </configuration> |
| 320 | <executions> |
| 321 | <execution> |
| 322 | <id>attach-javadocs</id> |
| 323 | <goals> |
| 324 | <goal>jar</goal> |
| 325 | </goals> |
| 326 | </execution> |
| 327 | </executions> |
| 328 | </plugin> |
| 329 | <plugin> |
| 330 | <groupId>org.apache.maven.plugins</groupId> |
| 331 | <artifactId>maven-source-plugin</artifactId> |
| 332 | <version>3.0.0</version> |
| 333 | <executions> |
| 334 | <execution> |
| 335 | <id>attach-sources</id> |
| 336 | <goals> |
| 337 | <goal>jar-no-fork</goal> |
| 338 | </goals> |
| 339 | </execution> |
| 340 | </executions> |
| 341 | </plugin> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 342 | <plugin> |
| 343 | <groupId>org.jacoco</groupId> |
| 344 | <artifactId>jacoco-maven-plugin</artifactId> |
| 345 | <executions> |
| 346 | <execution> |
| 347 | <id>prepare-agent</id> |
| 348 | <goals> |
| 349 | <goal>prepare-agent</goal> |
| 350 | </goals> |
| 351 | </execution> |
| 352 | <execution> |
| 353 | <id>report</id> |
| 354 | <goals> |
| 355 | <goal>report</goal> |
| 356 | </goals> |
| 357 | <configuration> |
| 358 | <dataFile>${project.build.directory}/code-coverage/jacoco.exec |
| 359 | </dataFile> |
| 360 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut |
| 361 | </outputDirectory> |
| 362 | </configuration> |
| 363 | </execution> |
| 364 | </executions> |
| 365 | </plugin> |
| 366 | </plugins> |
| 367 | </build> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 368 | |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 369 | <profiles> |
| 370 | <!-- Add plugins here that should only be executed on the Jenkins server --> |
| 371 | <profile> |
| 372 | <id>jenkins</id> |
| 373 | <activation> |
| 374 | <property> |
| 375 | <name>env.BUILD_NUMBER</name> |
| 376 | </property> |
| 377 | </activation> |
| 378 | <build> |
| 379 | <plugins> |
| 380 | <plugin> |
| 381 | <groupId>org.codehaus.mojo</groupId> |
| 382 | <artifactId>cobertura-maven-plugin</artifactId> |
| 383 | </plugin> |
| 384 | </plugins> |
| 385 | </build> |
| 386 | </profile> |
| 387 | </profiles> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 388 | </project> |