Gary Wu | 6454abb | 2018-08-24 15:22:40 -0700 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 2 | <!-- ============LICENSE_START======================================================= |
| 3 | org.onap.dmaap ================================================================================ |
| 4 | Copyright © 2017 AT&T Intellectual Property. All rights reserved. ================================================================================ |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 6 | use this file except in compliance with the License. You may obtain a copy |
| 7 | of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| 8 | by applicable law or agreed to in writing, software distributed under the |
| 9 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| 10 | OF ANY KIND, either express or implied. See the License for the specific |
| 11 | language governing permissions and limitations under the License. ============LICENSE_END========================================================= |
| 12 | ECOMP is a trademark and service mark of AT&T Intellectual Property. --> |
Gary Wu | 6454abb | 2018-08-24 15:22:40 -0700 | [diff] [blame] | 13 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 14 | <modelVersion>4.0.0</modelVersion> |
| 15 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 16 | <artifactId>dmaapClient</artifactId> |
| 17 | <packaging>jar</packaging> |
su622b | 2fa245d | 2020-06-11 17:20:09 -0400 | [diff] [blame] | 18 | <version>1.1.12-SNAPSHOT</version> |
Jessica Wagantall | 7d1a156 | 2017-09-08 13:31:51 -0700 | [diff] [blame] | 19 | <name>dmaap-messagerouter-dmaapclient</name> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 20 | <description>Client library for MR event routing API</description> |
sunil.unnava | dcb1479 | 2019-05-10 11:21:44 -0400 | [diff] [blame] | 21 | <url>https://gerrit.onap.org/r/gitweb?p=dmaap/messagerouter/dmaapclient.git</url> |
Varun Gudisena | 7d45c17 | 2017-08-31 10:44:28 -0500 | [diff] [blame] | 22 | |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 23 | <parent> |
| 24 | <groupId>org.onap.oparent</groupId> |
| 25 | <artifactId>oparent</artifactId> |
su622b | 050efb3 | 2019-11-20 15:13:53 -0500 | [diff] [blame] | 26 | <version>2.1.0</version> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 27 | </parent> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 28 | <properties> |
| 29 | <!-- for the client library, we want to allow 1.6 or later --> |
| 30 | <maven.compiler.target>1.7</maven.compiler.target> |
| 31 | <maven.compiler.source>1.7</maven.compiler.source> |
sunil unnava | 4cb1f9a | 2018-08-30 16:25:20 -0400 | [diff] [blame] | 32 | <jersey.version>2.22.1</jersey.version> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 33 | <version.jackson.core>2.6.7.1</version.jackson.core> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 34 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
sunil unnava | 5056c3d | 2018-10-26 12:17:29 -0400 | [diff] [blame] | 35 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
su622b | feeb6d1 | 2020-03-11 12:05:22 -0400 | [diff] [blame] | 36 | <sonar.language>java</sonar.language> |
| 37 | <sonar.skip>false</sonar.skip> |
| 38 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 39 | <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> |
| 40 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 41 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 42 | <sitePath>/content/sites/site/org/onap/dmaap/messagerouter/dmaapclient/${project.artifactId}/${project.version}</sitePath> |
Varun Gudisena | 90a9a1d | 2017-09-25 11:11:32 -0500 | [diff] [blame] | 43 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 44 | </properties> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 45 | |
Varun Gudisena | 26b9339 | 2017-09-21 23:38:33 -0500 | [diff] [blame] | 46 | <distributionManagement> |
| 47 | <site> |
| 48 | <id>ecomp-site</id> |
| 49 | <url>dav:${nexusproxy}${sitePath}</url> |
| 50 | </site> |
| 51 | </distributionManagement> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 52 | |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 53 | <licenses> |
| 54 | <license> |
| 55 | <name>Apache License Version 2.0</name> |
| 56 | </license> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 57 | </licenses> |
| 58 | |
| 59 | <developers> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 60 | <developer> |
| 61 | <name>Rajashree</name> |
Gary Wu | 6454abb | 2018-08-24 15:22:40 -0700 | [diff] [blame] | 62 | <email/> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 63 | <organization>ATT</organization> |
| 64 | <organizationUrl>www.att.com</organizationUrl> |
| 65 | </developer> |
| 66 | <developer> |
| 67 | <name>Ramkumar</name> |
Gary Wu | 6454abb | 2018-08-24 15:22:40 -0700 | [diff] [blame] | 68 | <email/> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 69 | <organization>ATT</organization> |
| 70 | <organizationUrl>www.att.com</organizationUrl> |
| 71 | </developer> |
| 72 | </developers> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 73 | |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 74 | <dependencies> |
su622b | 3016a2d | 2020-03-31 18:43:15 -0400 | [diff] [blame] | 75 | <dependency> |
| 76 | <groupId>commons-codec</groupId> |
| 77 | <artifactId>commons-codec</artifactId> |
su622b | a04e69e | 2020-09-09 13:25:36 -0400 | [diff] [blame] | 78 | <version>1.14</version> |
su622b | 3016a2d | 2020-03-31 18:43:15 -0400 | [diff] [blame] | 79 | </dependency> |
su622b | a04e69e | 2020-09-09 13:25:36 -0400 | [diff] [blame] | 80 | <dependency> |
| 81 | <groupId>org.javassist</groupId> |
| 82 | <artifactId>javassist</artifactId> |
| 83 | <version>3.20.0-GA</version> |
| 84 | </dependency> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 85 | <dependency> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 86 | <groupId>com.fasterxml.jackson.core</groupId> |
| 87 | <artifactId>jackson-core</artifactId> |
Sunil Unnava | 41de453 | 2018-03-08 13:50:34 -0500 | [diff] [blame] | 88 | <version>2.8.11</version> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>com.fasterxml.jackson.core</groupId> |
| 92 | <artifactId>jackson-databind</artifactId> |
Sunil Unnava | 41de453 | 2018-03-08 13:50:34 -0500 | [diff] [blame] | 93 | <version>2.8.11.1</version> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>org.apache.httpcomponents</groupId> |
| 97 | <artifactId>httpclient-cache</artifactId> |
| 98 | <version>4.5.3</version> |
| 99 | </dependency> |
| 100 | <dependency> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 101 | <groupId>com.att.nsa</groupId> |
| 102 | <artifactId>saClientLibrary</artifactId> |
| 103 | <version>0.0.1</version> |
| 104 | </dependency> |
| 105 | |
| 106 | <dependency> |
| 107 | <groupId>org.json</groupId> |
| 108 | <artifactId>json</artifactId> |
| 109 | <version>20131018</version> |
| 110 | </dependency> |
| 111 | |
| 112 | <dependency> |
| 113 | <groupId>com.att.aft</groupId> |
| 114 | <artifactId>dme2</artifactId> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 115 | <version>3.1.200-oss</version> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 116 | <exclusions> |
| 117 | <exclusion> |
| 118 | <groupId>com.sun.jersey</groupId> |
| 119 | <artifactId>jersey-json</artifactId> |
| 120 | </exclusion> |
| 121 | <exclusion> |
| 122 | <groupId>com.sun.jersey</groupId> |
| 123 | <artifactId>jersey-client</artifactId> |
| 124 | </exclusion> |
sunil unnava | ca98537 | 2018-10-30 12:28:04 -0400 | [diff] [blame] | 125 | <exclusion> |
| 126 | <groupId>javax.jms</groupId> |
| 127 | <artifactId>jms</artifactId> |
| 128 | </exclusion> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 129 | </exclusions> |
| 130 | </dependency> |
| 131 | <!-- Begin - Dependency on log4j for logging purpose --> |
su622b | a04e69e | 2020-09-09 13:25:36 -0400 | [diff] [blame] | 132 | <!-- <dependency> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 133 | <groupId>log4j</groupId> |
| 134 | <artifactId>log4j</artifactId> |
| 135 | <version>1.2.17</version> |
| 136 | </dependency> |
su622b | a04e69e | 2020-09-09 13:25:36 -0400 | [diff] [blame] | 137 | Log4j's enhanced pattern layout is shipped separately |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 138 | <dependency> |
| 139 | <groupId>log4j</groupId> |
| 140 | <artifactId>apache-log4j-extras</artifactId> |
| 141 | <version>1.2.17</version> |
su622b | a04e69e | 2020-09-09 13:25:36 -0400 | [diff] [blame] | 142 | </dependency> --> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 143 | <!-- End - Dependency on log4j for logging purpose --> |
su622b | a04e69e | 2020-09-09 13:25:36 -0400 | [diff] [blame] | 144 | |
| 145 | <dependency> |
| 146 | <groupId>commons-io</groupId> |
| 147 | <artifactId>commons-io</artifactId> |
| 148 | <version>2.7</version> |
| 149 | </dependency> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 150 | |
| 151 | <dependency> |
| 152 | <groupId>javax.ws.rs</groupId> |
| 153 | <artifactId>javax.ws.rs-api</artifactId> |
| 154 | <version>2.0.1</version> |
| 155 | </dependency> |
| 156 | |
| 157 | <dependency> |
| 158 | <groupId>org.glassfish.jersey.core</groupId> |
| 159 | <artifactId>jersey-common</artifactId> |
| 160 | <version>${jersey.version}</version> |
| 161 | </dependency> |
| 162 | |
| 163 | <dependency> |
| 164 | <groupId>org.glassfish.jersey.core</groupId> |
| 165 | <artifactId>jersey-client</artifactId> |
| 166 | <version>${jersey.version}</version> |
| 167 | </dependency> |
| 168 | |
| 169 | <dependency> |
| 170 | <groupId>org.glassfish.jersey.media</groupId> |
| 171 | <artifactId>jersey-media-json-jackson</artifactId> |
| 172 | <version>${jersey.version}</version> |
| 173 | </dependency> |
| 174 | <dependency> |
| 175 | <groupId>junit</groupId> |
| 176 | <artifactId>junit</artifactId> |
| 177 | <version>4.11</version> |
| 178 | <scope>test</scope> |
| 179 | </dependency> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 180 | |
rn509j | 5b7869e | 2017-10-03 11:07:22 -0400 | [diff] [blame] | 181 | <dependency> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 182 | <groupId>com.github.tomakehurst</groupId> |
| 183 | <artifactId>wiremock</artifactId> |
| 184 | <version>2.5.0</version> |
| 185 | <scope>test</scope> |
rn509j | 5b7869e | 2017-10-03 11:07:22 -0400 | [diff] [blame] | 186 | </dependency> |
| 187 | <dependency> |
| 188 | <groupId>org.mockito</groupId> |
Sunil Unnava | 173a07c | 2018-03-06 11:41:18 -0500 | [diff] [blame] | 189 | <artifactId>mockito-core</artifactId> |
| 190 | <version>1.10.19</version> |
| 191 | <scope>test</scope> |
| 192 | </dependency> |
| 193 | <dependency> |
| 194 | <groupId>org.powermock</groupId> |
| 195 | <artifactId>powermock-module-junit4</artifactId> |
| 196 | <version>1.6.4</version> |
| 197 | <scope>test</scope> |
| 198 | </dependency> |
| 199 | <dependency> |
| 200 | <groupId>org.powermock</groupId> |
| 201 | <artifactId>powermock-api-mockito</artifactId> |
| 202 | <version>1.6.4</version> |
| 203 | <scope>test</scope> |
| 204 | </dependency> |
| 205 | <dependency> |
| 206 | <groupId>org.springframework</groupId> |
| 207 | <artifactId>spring-test</artifactId> |
| 208 | <version>3.0.5.RELEASE</version> |
rn509j | 5b7869e | 2017-10-03 11:07:22 -0400 | [diff] [blame] | 209 | <scope>test</scope> |
| 210 | </dependency> |
Sunil Unnava | 3ccc06f | 2018-02-22 16:48:55 -0500 | [diff] [blame] | 211 | |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 212 | </dependencies> |
| 213 | |
| 214 | <build> |
| 215 | <resources> |
| 216 | <resource> |
| 217 | <directory>src/main/resources</directory> |
| 218 | <filtering>true</filtering> |
| 219 | <includes> |
| 220 | <include>**/MRClientVersion.properties</include> |
| 221 | </includes> |
| 222 | </resource> |
| 223 | <resource> |
| 224 | <directory>src/main/resources</directory> |
| 225 | <filtering>false</filtering> |
| 226 | <excludes> |
| 227 | <exclude>**/MRClientVersion.properties</exclude> |
| 228 | </excludes> |
| 229 | </resource> |
| 230 | </resources> |
| 231 | <plugins> |
| 232 | <plugin> |
Varun Gudisena | 26b9339 | 2017-09-21 23:38:33 -0500 | [diff] [blame] | 233 | <groupId>org.apache.maven.plugins</groupId> |
| 234 | <artifactId>maven-site-plugin</artifactId> |
| 235 | <version>3.6</version> |
| 236 | <dependencies> |
| 237 | <dependency> |
| 238 | <groupId>org.apache.maven.wagon</groupId> |
| 239 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 240 | <version>2.10</version> |
| 241 | </dependency> |
| 242 | </dependencies> |
| 243 | </plugin> |
| 244 | <plugin> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 245 | <artifactId>maven-assembly-plugin</artifactId> |
| 246 | <version>2.4</version> |
| 247 | <configuration> |
| 248 | <descriptorRefs> |
| 249 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 250 | </descriptorRefs> |
| 251 | </configuration> |
| 252 | |
| 253 | <executions> |
| 254 | <execution> |
| 255 | <id>make-assembly</id> <!-- this is used for inheritance merges --> |
| 256 | <phase>package</phase> <!-- bind to the packaging phase --> |
| 257 | <goals> |
| 258 | <goal>single</goal> |
| 259 | </goals> |
| 260 | </execution> |
| 261 | </executions> |
| 262 | </plugin> |
| 263 | |
| 264 | |
| 265 | <plugin> |
| 266 | <groupId>org.apache.maven.plugins</groupId> |
| 267 | <artifactId>maven-javadoc-plugin</artifactId> |
| 268 | <version>2.10.4</version> |
| 269 | <configuration> |
| 270 | <additionalparam>-Xdoclint:none</additionalparam> |
| 271 | </configuration> |
| 272 | <executions> |
| 273 | <execution> |
| 274 | <id>attach-javadocs</id> |
| 275 | <goals> |
| 276 | <goal>jar</goal> |
| 277 | </goals> |
| 278 | </execution> |
| 279 | </executions> |
| 280 | </plugin> |
| 281 | <plugin> |
| 282 | <groupId>org.apache.maven.plugins</groupId> |
| 283 | <artifactId>maven-source-plugin</artifactId> |
| 284 | <version>3.0.0</version> |
| 285 | <executions> |
| 286 | <execution> |
| 287 | <id>attach-sources</id> |
| 288 | <goals> |
| 289 | <goal>jar-no-fork</goal> |
| 290 | </goals> |
| 291 | </execution> |
| 292 | </executions> |
| 293 | </plugin> |
| 294 | <plugin> |
| 295 | <artifactId>maven-compiler-plugin</artifactId> |
| 296 | <version>3.1</version> |
| 297 | <configuration> |
| 298 | <source>1.7</source> |
| 299 | <target>1.7</target> |
| 300 | </configuration> |
| 301 | </plugin> |
su622b | feeb6d1 | 2020-03-11 12:05:22 -0400 | [diff] [blame] | 302 | <plugin> |
| 303 | <groupId>org.jacoco</groupId> |
| 304 | <artifactId>jacoco-maven-plugin</artifactId> |
| 305 | <executions> |
| 306 | <execution> |
| 307 | <id>prepare-agent</id> |
| 308 | <goals> |
| 309 | <goal>prepare-agent</goal> |
| 310 | </goals> |
| 311 | </execution> |
| 312 | <execution> |
| 313 | <id>report</id> |
| 314 | <goals> |
| 315 | <goal>report</goal> |
| 316 | </goals> |
| 317 | <configuration> |
| 318 | <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile> |
| 319 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 320 | </configuration> |
| 321 | </execution> |
| 322 | </executions> |
| 323 | </plugin> |
Varun Gudisena | cc9de9b | 2017-08-30 20:49:32 -0500 | [diff] [blame] | 324 | </plugins> |
| 325 | </build> |
| 326 | |
| 327 | <profiles> |
| 328 | <!-- Add plugins here that should only be executed on the Jenkins server --> |
| 329 | <profile> |
| 330 | <id>jenkins</id> |
| 331 | <activation> |
| 332 | <property> |
| 333 | <name>env.BUILD_NUMBER</name> |
| 334 | </property> |
| 335 | </activation> |
| 336 | <build> |
| 337 | <plugins> |
| 338 | <plugin> |
| 339 | <groupId>org.codehaus.mojo</groupId> |
| 340 | <artifactId>cobertura-maven-plugin</artifactId> |
| 341 | </plugin> |
| 342 | </plugins> |
| 343 | </build> |
| 344 | </profile> |
| 345 | </profiles> |
| 346 | </project> |