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> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 30 | <version>1.1.13-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> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 42 | <jersey.version>2.27</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> |
| 109 | <version>2.11.2</version> |
| 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> |
| 124 | <version>20131018</version> |
| 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> |
| 174 | <version>2.29.1</version> |
| 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> |
| 187 | <groupId>junit</groupId> |
| 188 | <artifactId>junit</artifactId> |
| 189 | <version>4.11</version> |
| 190 | <scope>test</scope> |
| 191 | </dependency> |
| 192 | <dependency> |
| 193 | <groupId>com.github.tomakehurst</groupId> |
| 194 | <artifactId>wiremock</artifactId> |
| 195 | <version>2.5.0</version> |
| 196 | <scope>test</scope> |
| 197 | </dependency> |
| 198 | <dependency> |
| 199 | <groupId>org.mockito</groupId> |
| 200 | <artifactId>mockito-core</artifactId> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 201 | <version>2.18.0</version> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 202 | <scope>test</scope> |
| 203 | </dependency> |
| 204 | <dependency> |
| 205 | <groupId>org.powermock</groupId> |
| 206 | <artifactId>powermock-module-junit4</artifactId> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 207 | <version>2.0.0-beta.5</version> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 208 | <scope>test</scope> |
| 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>org.powermock</groupId> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 212 | <artifactId>powermock-api-mockito2</artifactId> |
| 213 | <version>2.0.0-beta.5</version> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 214 | <scope>test</scope> |
| 215 | </dependency> |
| 216 | <dependency> |
| 217 | <groupId>org.springframework</groupId> |
| 218 | <artifactId>spring-test</artifactId> |
| 219 | <version>3.0.5.RELEASE</version> |
| 220 | <scope>test</scope> |
| 221 | </dependency> |
| 222 | </dependencies> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 223 | |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 224 | <build> |
| 225 | <resources> |
| 226 | <resource> |
| 227 | <directory>src/main/resources</directory> |
| 228 | <filtering>true</filtering> |
| 229 | <includes> |
| 230 | <include>**/MRClientVersion.properties</include> |
| 231 | </includes> |
| 232 | </resource> |
| 233 | <resource> |
| 234 | <directory>src/main/resources</directory> |
| 235 | <filtering>false</filtering> |
| 236 | <excludes> |
| 237 | <exclude>**/MRClientVersion.properties</exclude> |
| 238 | </excludes> |
| 239 | </resource> |
| 240 | </resources> |
| 241 | <plugins> |
| 242 | <plugin> |
| 243 | <groupId>org.apache.maven.plugins</groupId> |
| 244 | <artifactId>maven-site-plugin</artifactId> |
| 245 | <version>3.6</version> |
| 246 | <dependencies> |
| 247 | <dependency> |
| 248 | <groupId>org.apache.maven.wagon</groupId> |
| 249 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 250 | <version>2.10</version> |
| 251 | </dependency> |
| 252 | </dependencies> |
| 253 | </plugin> |
| 254 | <plugin> |
| 255 | <artifactId>maven-assembly-plugin</artifactId> |
| 256 | <version>2.4</version> |
| 257 | <configuration> |
| 258 | <descriptorRefs> |
| 259 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 260 | </descriptorRefs> |
| 261 | </configuration> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 262 | |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 263 | <executions> |
| 264 | <execution> |
| 265 | <id>make-assembly</id> <!-- this is used for inheritance merges --> |
| 266 | <phase>package</phase> <!-- bind to the packaging phase --> |
| 267 | <goals> |
| 268 | <goal>single</goal> |
| 269 | </goals> |
| 270 | </execution> |
| 271 | </executions> |
| 272 | </plugin> |
| 273 | <plugin> |
| 274 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 275 | <executions> |
| 276 | <execution> |
| 277 | <id>onap-java-style</id> |
| 278 | <configuration> |
| 279 | <consoleOutput>false</consoleOutput> |
| 280 | </configuration> |
| 281 | </execution> |
| 282 | </executions> |
| 283 | </plugin> |
| 284 | <plugin> |
| 285 | <groupId>org.apache.maven.plugins</groupId> |
| 286 | <artifactId>maven-javadoc-plugin</artifactId> |
| 287 | <version>2.10.4</version> |
| 288 | <configuration> |
sliard | 72a9ab9 | 2021-04-12 15:58:22 +0200 | [diff] [blame^] | 289 | <failOnError>false</failOnError> |
Ravi Pendurty | 8a00d43 | 2021-04-09 06:01:43 +0200 | [diff] [blame] | 290 | <detectJavaApiLink>false</detectJavaApiLink> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 291 | <additionalparam>-Xdoclint:none</additionalparam> |
| 292 | </configuration> |
| 293 | <executions> |
| 294 | <execution> |
| 295 | <id>attach-javadocs</id> |
| 296 | <goals> |
| 297 | <goal>jar</goal> |
| 298 | </goals> |
| 299 | </execution> |
| 300 | </executions> |
| 301 | </plugin> |
| 302 | <plugin> |
| 303 | <groupId>org.apache.maven.plugins</groupId> |
| 304 | <artifactId>maven-source-plugin</artifactId> |
| 305 | <version>3.0.0</version> |
| 306 | <executions> |
| 307 | <execution> |
| 308 | <id>attach-sources</id> |
| 309 | <goals> |
| 310 | <goal>jar-no-fork</goal> |
| 311 | </goals> |
| 312 | </execution> |
| 313 | </executions> |
| 314 | </plugin> |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 315 | <plugin> |
| 316 | <groupId>org.jacoco</groupId> |
| 317 | <artifactId>jacoco-maven-plugin</artifactId> |
| 318 | <executions> |
| 319 | <execution> |
| 320 | <id>prepare-agent</id> |
| 321 | <goals> |
| 322 | <goal>prepare-agent</goal> |
| 323 | </goals> |
| 324 | </execution> |
| 325 | <execution> |
| 326 | <id>report</id> |
| 327 | <goals> |
| 328 | <goal>report</goal> |
| 329 | </goals> |
| 330 | <configuration> |
| 331 | <dataFile>${project.build.directory}/code-coverage/jacoco.exec |
| 332 | </dataFile> |
| 333 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut |
| 334 | </outputDirectory> |
| 335 | </configuration> |
| 336 | </execution> |
| 337 | </executions> |
| 338 | </plugin> |
| 339 | </plugins> |
| 340 | </build> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 341 | |
ajay_dp001 | 3cd892b | 2021-01-28 19:36:09 +0530 | [diff] [blame] | 342 | <profiles> |
| 343 | <!-- Add plugins here that should only be executed on the Jenkins server --> |
| 344 | <profile> |
| 345 | <id>jenkins</id> |
| 346 | <activation> |
| 347 | <property> |
| 348 | <name>env.BUILD_NUMBER</name> |
| 349 | </property> |
| 350 | </activation> |
| 351 | <build> |
| 352 | <plugins> |
| 353 | <plugin> |
| 354 | <groupId>org.codehaus.mojo</groupId> |
| 355 | <artifactId>cobertura-maven-plugin</artifactId> |
| 356 | </plugin> |
| 357 | </plugins> |
| 358 | </build> |
| 359 | </profile> |
| 360 | </profiles> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 361 | </project> |