Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 1 | <!-- ============LICENSE_START======================================================= |
| 2 | org.onap.dmaap ================================================================================ |
| 3 | Copyright © 2017 AT&T Intellectual Property. All rights reserved. ================================================================================ |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 5 | use this file except in compliance with the License. You may obtain a copy |
| 6 | of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| 7 | by applicable law or agreed to in writing, software distributed under the |
| 8 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| 9 | OF ANY KIND, either express or implied. See the License for the specific |
| 10 | language governing permissions and limitations under the License. ============LICENSE_END========================================================= |
| 11 | ECOMP is a trademark and service mark of AT&T Intellectual Property. --> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 12 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 13 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 14 | <modelVersion>4.0.0</modelVersion> |
| 15 | <groupId>org.onap.dmaap.messagerouter.msgrtr</groupId> |
| 16 | <artifactId>msgrtr</artifactId> |
su622b | 56fe8d7 | 2018-04-02 14:37:16 -0400 | [diff] [blame] | 17 | <version>1.1.3-SNAPSHOT</version> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 18 | <packaging>jar</packaging> |
Jessica Wagantall | 1b61890 | 2017-09-08 13:14:43 -0700 | [diff] [blame] | 19 | <name>dmaap-messagerouter-msgrtr</name> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 20 | <description>Message Router - Restful interface built for kafka</description> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 21 | |
Varun Gudisena | 3fc19dc | 2017-08-31 10:52:33 -0500 | [diff] [blame] | 22 | <parent> |
| 23 | <groupId>org.onap.oparent</groupId> |
| 24 | <artifactId>oparent</artifactId> |
Gildas Lanilis | 2815416 | 2018-03-15 17:45:27 -0700 | [diff] [blame] | 25 | <version>1.1.0</version> |
Varun Gudisena | 3fc19dc | 2017-08-31 10:52:33 -0500 | [diff] [blame] | 26 | </parent> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 27 | |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 28 | <properties> |
su622b | 986192d | 2018-04-04 15:23:17 -0400 | [diff] [blame] | 29 | <spring.version>3.2.18.RELEASE</spring.version> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 30 | <cxf.version>3.0.4</cxf.version> |
| 31 | <jstl.version>1.2</jstl.version> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 32 | <maven.compiler.target>1.7</maven.compiler.target> |
| 33 | <maven.compiler.source>1.7</maven.compiler.source> |
| 34 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 35 | |
| 36 | <!-- SONAR --> |
| 37 | <jacoco.version>0.7.7.201606060606</jacoco.version> |
| 38 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 39 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 40 | <!-- Default Sonar configuration --> |
| 41 | <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath> |
| 42 | <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 43 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list |
| 44 | below --> |
| 45 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 46 | <sitePath>/content/sites/site/org/onap/dmaap/messagerouter/msgrtr/${project.artifactId}/${project.version}</sitePath> |
Varun Gudisena | 71cef93 | 2017-09-25 11:13:59 -0500 | [diff] [blame] | 47 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 48 | </properties> |
| 49 | |
| 50 | <!-- Distribution management --> |
| 51 | <!-- Currently all artifacts will be uploaded to att-public-group reposiotry |
| 52 | on Maven Central --> |
Varun Gudisena | d245aec | 2017-09-21 23:39:45 -0500 | [diff] [blame] | 53 | <distributionManagement> |
| 54 | <site> |
| 55 | <id>ecomp-site</id> |
| 56 | <url>dav:${nexusproxy}${sitePath}</url> |
| 57 | </site> |
| 58 | </distributionManagement> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 59 | |
| 60 | <!-- End Distribution management --> |
| 61 | |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 62 | <licenses> |
| 63 | <license> |
| 64 | <name>Apache License Version 2.0</name> |
| 65 | </license> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 66 | </licenses> |
| 67 | |
| 68 | <developers> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 69 | <developer> |
| 70 | <name>Rajashree</name> |
| 71 | <email></email> |
| 72 | <organization>ATT</organization> |
| 73 | <organizationUrl>www.att.com</organizationUrl> |
| 74 | </developer> |
| 75 | <developer> |
| 76 | <name>Ramkumar</name> |
| 77 | <email></email> |
| 78 | <organization>ATT</organization> |
| 79 | <organizationUrl>www.att.com</organizationUrl> |
| 80 | </developer> |
| 81 | </developers> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 82 | |
| 83 | <dependencies> |
su622b | 6b1df20 | 2018-04-06 14:53:57 -0400 | [diff] [blame^] | 84 | <!-- <dependency> |
su622b | 58833d9 | 2018-04-04 16:19:55 -0400 | [diff] [blame] | 85 | <groupId>org.apache.tomcat</groupId> |
| 86 | <artifactId>tomcat-catalina</artifactId> |
su622b | 9fc5cba | 2018-04-06 13:56:19 -0400 | [diff] [blame] | 87 | <version>8.0.47</version> |
su622b | 58833d9 | 2018-04-04 16:19:55 -0400 | [diff] [blame] | 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.apache.tomcat</groupId> |
| 91 | <artifactId>tomcat-util</artifactId> |
su622b | 9fc5cba | 2018-04-06 13:56:19 -0400 | [diff] [blame] | 92 | <version>8.0.47</version> |
su622b | 58833d9 | 2018-04-04 16:19:55 -0400 | [diff] [blame] | 93 | </dependency> |
| 94 | <dependency> |
| 95 | <groupId>org.apache.tomcat.embed</groupId> |
| 96 | <artifactId>tomcat-embed-core</artifactId> |
su622b | 9fc5cba | 2018-04-06 13:56:19 -0400 | [diff] [blame] | 97 | <version>8.0.47</version> |
su622b | 6b1df20 | 2018-04-06 14:53:57 -0400 | [diff] [blame^] | 98 | </dependency> --> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 99 | <dependency> |
| 100 | <groupId>commons-collections</groupId> |
| 101 | <artifactId>commons-collections</artifactId> |
| 102 | <version>3.2.2</version> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>ch.qos.logback</groupId> |
| 106 | <artifactId>logback-core</artifactId> |
| 107 | <version>1.2.0</version> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>ch.qos.logback</groupId> |
| 111 | <artifactId>logback-classic</artifactId> |
| 112 | <version>1.2.0</version> |
| 113 | </dependency> |
| 114 | <!-- <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> |
| 115 | <version>1.9.2</version> <exclusions> We have JCL-over-SLF4J instead. <exclusion> |
| 116 | <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> |
| 117 | </exclusion> </exclusions> </dependency> --> |
| 118 | <dependency> |
| 119 | <groupId>org.grails</groupId> |
| 120 | <artifactId>grails-web</artifactId> |
su622b | 986192d | 2018-04-04 15:23:17 -0400 | [diff] [blame] | 121 | <version>2.5.4</version> |
su622b | 0a6f33a | 2018-03-13 15:34:48 -0400 | [diff] [blame] | 122 | <exclusions> |
| 123 | <exclusion> |
| 124 | <groupId>org.grails</groupId> |
| 125 | <artifactId>grails-web-jsp</artifactId> |
| 126 | </exclusion> |
| 127 | </exclusions> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 128 | </dependency> |
| 129 | <dependency> |
| 130 | <groupId>org.grails</groupId> |
| 131 | <artifactId>grails-bootstrap</artifactId> |
su622b | 986192d | 2018-04-04 15:23:17 -0400 | [diff] [blame] | 132 | <version>2.5.4</version> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 133 | <scope>compile</scope> |
| 134 | <exclusions> |
| 135 | <exclusion> |
| 136 | <artifactId>ant</artifactId> |
| 137 | <groupId>org.apache.ant</groupId> |
| 138 | </exclusion> |
| 139 | <exclusion> |
| 140 | <artifactId>jna</artifactId> |
| 141 | <groupId>net.java.dev.jna</groupId> |
| 142 | </exclusion> |
| 143 | <exclusion> |
| 144 | <artifactId>ant-trax</artifactId> |
| 145 | <groupId>org.apache.ant</groupId> |
| 146 | </exclusion> |
| 147 | <exclusion> |
| 148 | <artifactId>gant_groovy1.8</artifactId> |
| 149 | <groupId>org.codehaus.gant</groupId> |
| 150 | </exclusion> |
| 151 | <exclusion> |
| 152 | <artifactId>ant-launcher</artifactId> |
| 153 | <groupId>org.apache.ant</groupId> |
| 154 | </exclusion> |
| 155 | <exclusion> |
| 156 | <artifactId>jline</artifactId> |
| 157 | <groupId>jline</groupId> |
| 158 | </exclusion> |
| 159 | <exclusion> |
| 160 | <artifactId>ivy</artifactId> |
| 161 | <groupId>org.apache.ivy</groupId> |
| 162 | </exclusion> |
| 163 | <exclusion> |
| 164 | <artifactId>jansi</artifactId> |
| 165 | <groupId>org.fusesource.jansi</groupId> |
| 166 | </exclusion> |
| 167 | <exclusion> |
| 168 | <artifactId>commons-logging</artifactId> |
| 169 | <groupId>commons-logging</groupId> |
| 170 | </exclusion> |
| 171 | <exclusion> |
| 172 | <artifactId>ant-junit</artifactId> |
| 173 | <groupId>org.apache.ant</groupId> |
| 174 | </exclusion> |
| 175 | </exclusions> |
| 176 | </dependency> |
| 177 | <dependency> |
Sunil Unnava | 04e44e4 | 2018-03-08 13:40:50 -0500 | [diff] [blame] | 178 | <groupId>org.springframework</groupId> |
| 179 | <artifactId>spring-test</artifactId> |
| 180 | <version>${spring.version}</version> |
| 181 | <scope>test</scope> |
| 182 | </dependency> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 183 | <dependency> |
| 184 | <groupId>org.codehaus.groovy</groupId> |
| 185 | <artifactId>groovy-all</artifactId> |
| 186 | <version>2.4.4</version> |
| 187 | <scope>compile</scope> |
| 188 | <exclusions> |
| 189 | <exclusion> |
| 190 | <artifactId>jline</artifactId> |
| 191 | <groupId>jline</groupId> |
| 192 | </exclusion> |
| 193 | </exclusions> |
| 194 | </dependency> |
| 195 | <dependency> |
| 196 | <groupId>commons-fileupload</groupId> |
| 197 | <artifactId>commons-fileupload</artifactId> |
| 198 | <version>1.3.3</version> |
| 199 | </dependency> |
| 200 | |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 201 | <dependency> |
| 202 | <groupId>junit</groupId> |
| 203 | <artifactId>junit</artifactId> |
| 204 | <version>4.11</version> |
| 205 | <scope>test</scope> |
| 206 | </dependency> |
Sunil Unnava | 907bb77 | 2018-02-27 03:09:04 -0500 | [diff] [blame] | 207 | <dependency> |
| 208 | <groupId>com.att.aft</groupId> |
| 209 | <artifactId>dme2</artifactId> |
| 210 | <version>3.1.200-oss</version> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 211 | </dependency> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 212 | |
| 213 | <!-- slf4j logger --> |
| 214 | <dependency> |
| 215 | <groupId>org.slf4j</groupId> |
| 216 | <artifactId>slf4j-api</artifactId> |
| 217 | <version>1.7.6</version> |
| 218 | </dependency> |
| 219 | |
| 220 | <dependency> |
| 221 | <groupId>javax.inject</groupId> |
| 222 | <artifactId>javax.inject</artifactId> |
| 223 | <version>1</version> |
| 224 | </dependency> |
| 225 | |
| 226 | <dependency> |
| 227 | <groupId>com.att.ajsc</groupId> |
| 228 | <artifactId>ajsc-core</artifactId> |
| 229 | <version>1.0.0</version> |
| 230 | </dependency> |
| 231 | |
| 232 | <dependency> |
| 233 | <groupId>javax.ws.rs</groupId> |
| 234 | <artifactId>javax.ws.rs-api</artifactId> |
| 235 | <version>2.0.1</version> |
| 236 | </dependency> |
| 237 | |
| 238 | <!-- <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-client</artifactId> |
| 239 | <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> |
| 240 | <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxf.version}</version> |
| 241 | </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId> |
| 242 | <version>${cxf.version}</version> </dependency> Jetty is needed if you're |
| 243 | are not using the CXFServlet <dependency> <groupId>org.apache.cxf</groupId> |
| 244 | <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${cxf.version}</version> |
| 245 | </dependency> --> |
| 246 | <!-- Begin - Spring Dependencies for DI --> |
| 247 | <dependency> |
| 248 | <groupId>org.springframework</groupId> |
| 249 | <artifactId>spring-core</artifactId> |
| 250 | <version>${spring.version}</version> |
| 251 | </dependency> |
| 252 | <dependency> |
| 253 | <groupId>org.springframework</groupId> |
| 254 | <artifactId>spring-context</artifactId> |
| 255 | <version>${spring.version}</version> |
| 256 | </dependency> |
| 257 | <dependency> |
| 258 | <groupId>org.springframework</groupId> |
| 259 | <artifactId>spring-webmvc</artifactId> |
| 260 | <version>${spring.version}</version> |
| 261 | </dependency> |
| 262 | <dependency> |
| 263 | <groupId>org.springframework</groupId> |
| 264 | <artifactId>spring-web</artifactId> |
| 265 | <version>${spring.version}</version> |
| 266 | </dependency> |
| 267 | <dependency> |
| 268 | <groupId>javax.servlet</groupId> |
| 269 | <artifactId>javax.servlet-api</artifactId> |
| 270 | <version>3.0.1</version> |
| 271 | <scope>provided</scope> |
| 272 | </dependency> |
| 273 | <!-- End - Spring Dependencies for DI --> |
| 274 | <!-- Begin - Dependency on Dmaap Spring layer --> |
| 275 | <!-- <dependency> <groupId>com.att.dmaap</groupId> <artifactId>dmaap-spring</artifactId> |
| 276 | <version>0.0.1-SNAPSHOT</version> </dependency> --> |
| 277 | <!-- End - Dependency on Dmaap Spring layer --> |
| 278 | <!-- Begin - Dependency on log4j for logging purpose --> |
| 279 | <!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> |
| 280 | <version>1.2.17</version> </dependency> --> |
| 281 | <!-- Log4j's enhanced pattern layout is shipped separately <dependency> |
| 282 | <groupId>log4j</groupId> <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version> |
| 283 | </dependency> --> |
| 284 | <!-- End - Dependency on log4j for logging purpose --> |
| 285 | <!-- ZooKeeper Library --> |
| 286 | <dependency> |
| 287 | <groupId>org.apache.zookeeper</groupId> |
| 288 | <artifactId>zookeeper</artifactId> |
su622b | 986192d | 2018-04-04 15:23:17 -0400 | [diff] [blame] | 289 | <version>3.4.10</version> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 290 | </dependency> |
| 291 | |
| 292 | <!-- JSON libraries --> |
| 293 | <dependency> |
| 294 | <groupId>org.json</groupId> |
| 295 | <artifactId>json</artifactId> |
| 296 | <version>20131018</version> |
| 297 | </dependency> |
| 298 | |
| 299 | <!-- Apache Kafka --> |
| 300 | <dependency> |
| 301 | <groupId>org.apache.kafka</groupId> |
| 302 | <artifactId>kafka_2.10</artifactId> |
| 303 | <version>0.8.2.1</version> |
| 304 | </dependency> |
| 305 | |
| 306 | <dependency> |
| 307 | <groupId>com.att.eelf</groupId> |
| 308 | <artifactId>eelf-core</artifactId> |
| 309 | <version>0.0.1</version> |
| 310 | <scope>compile</scope> |
| 311 | </dependency> |
| 312 | <!-- our NSA server library --> |
| 313 | <dependency> |
| 314 | <groupId>com.att.nsa</groupId> |
| 315 | <artifactId>nsaServerLibrary</artifactId> |
| 316 | <version>1.0.10</version> |
| 317 | </dependency> |
| 318 | <dependency> |
| 319 | <groupId>com.att.nsa</groupId> |
| 320 | <artifactId>saToolkit</artifactId> |
| 321 | <version>0.0.1</version> |
| 322 | </dependency> |
| 323 | |
| 324 | <!-- our Highland Park library --> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 325 | <!-- <dependency> <groupId>com.att.nsa</groupId> <artifactId>highlandParkCore</artifactId> |
| 326 | <version>0.4.9</version> </dependency> --> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 327 | |
| 328 | <!-- our base client library, for its command line tools --> |
| 329 | <dependency> |
| 330 | <groupId>com.att.nsa</groupId> |
| 331 | <artifactId>saClientLibrary</artifactId> |
| 332 | <version>0.0.1</version> |
| 333 | <exclusions> |
| 334 | <exclusion> |
| 335 | <groupId>org.apache.httpcomponents</groupId> |
| 336 | <artifactId>httpclient</artifactId> |
| 337 | </exclusion> |
| 338 | <exclusion> |
| 339 | <groupId>org.apache.httpcomponents</groupId> |
| 340 | <artifactId>httpclient-cache</artifactId> |
| 341 | </exclusion> |
| 342 | </exclusions> |
| 343 | </dependency> |
| 344 | <dependency> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 345 | <groupId>org.apache.httpcomponents</groupId> |
| 346 | <artifactId>httpclient</artifactId> |
| 347 | <version>4.5.3</version> |
| 348 | </dependency> |
| 349 | <dependency> |
| 350 | <groupId>org.apache.httpcomponents</groupId> |
| 351 | <artifactId>httpclient-cache</artifactId> |
| 352 | <version>4.5.3</version> |
| 353 | </dependency> |
| 354 | <dependency> |
| 355 | <groupId>org.apache.httpcomponents</groupId> |
| 356 | <artifactId>httpcore</artifactId> |
| 357 | <version>4.4.1</version> |
| 358 | </dependency> |
| 359 | |
| 360 | |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 361 | <!-- explicit jline add b/c it conflicts with the zk client --> |
| 362 | <dependency> |
| 363 | <groupId>jline</groupId> |
| 364 | <artifactId>jline</artifactId> |
| 365 | <version>2.12.1</version> |
| 366 | </dependency> |
| 367 | |
| 368 | <dependency> |
| 369 | <groupId>org.apache.curator</groupId> |
| 370 | <artifactId>curator-recipes</artifactId> |
| 371 | <version>2.6.0</version> |
| 372 | </dependency> |
| 373 | |
| 374 | <dependency> |
| 375 | <groupId>org.apache.curator</groupId> |
| 376 | <artifactId>curator-test</artifactId> |
| 377 | <version>2.6.0</version> |
| 378 | </dependency> |
| 379 | |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 380 | |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 381 | <dependency> |
| 382 | <groupId>com.google.code.gson</groupId> |
| 383 | <artifactId>gson</artifactId> |
| 384 | <version>2.8.0</version> |
| 385 | </dependency> |
rn509j | fd8f985 | 2017-10-01 21:36:35 -0400 | [diff] [blame] | 386 | |
| 387 | <dependency> |
| 388 | <groupId>com.fasterxml.jackson.core</groupId> |
| 389 | <artifactId>jackson-core</artifactId> |
Sunil Unnava | 04e44e4 | 2018-03-08 13:40:50 -0500 | [diff] [blame] | 390 | <version>2.8.11</version> |
rn509j | fd8f985 | 2017-10-01 21:36:35 -0400 | [diff] [blame] | 391 | <scope>test</scope> |
| 392 | </dependency> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 393 | |
Sunil Unnava | e4b4698 | 2018-03-01 13:38:34 -0500 | [diff] [blame] | 394 | <dependency> |
| 395 | <groupId>com.fasterxml.jackson.core</groupId> |
| 396 | <artifactId>jackson-databind</artifactId> |
Sunil Unnava | 04e44e4 | 2018-03-08 13:40:50 -0500 | [diff] [blame] | 397 | <version>2.8.11.1</version> |
Sunil Unnava | e4b4698 | 2018-03-01 13:38:34 -0500 | [diff] [blame] | 398 | </dependency> |
rn509j | fd8f985 | 2017-10-01 21:36:35 -0400 | [diff] [blame] | 399 | |
| 400 | <dependency> |
| 401 | <groupId>org.powermock</groupId> |
| 402 | <artifactId>powermock-api-mockito</artifactId> |
Sunil Unnava | e4b4698 | 2018-03-01 13:38:34 -0500 | [diff] [blame] | 403 | <version>1.6.4</version> |
rn509j | fd8f985 | 2017-10-01 21:36:35 -0400 | [diff] [blame] | 404 | <scope>test</scope> |
| 405 | </dependency> |
| 406 | |
| 407 | <dependency> |
| 408 | <groupId>org.powermock</groupId> |
| 409 | <artifactId>powermock-module-junit4</artifactId> |
Sunil Unnava | e4b4698 | 2018-03-01 13:38:34 -0500 | [diff] [blame] | 410 | <version>1.6.4</version> |
rn509j | fd8f985 | 2017-10-01 21:36:35 -0400 | [diff] [blame] | 411 | <scope>test</scope> |
| 412 | </dependency> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 413 | |
rn509j | fd8f985 | 2017-10-01 21:36:35 -0400 | [diff] [blame] | 414 | <dependency> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 415 | <groupId>org.powermock</groupId> |
| 416 | <artifactId>powermock-module-junit4-rule</artifactId> |
| 417 | <version>1.6.4</version> |
| 418 | <scope>test</scope> |
rn509j | fd8f985 | 2017-10-01 21:36:35 -0400 | [diff] [blame] | 419 | </dependency> |
Sunil Unnava | e4b4698 | 2018-03-01 13:38:34 -0500 | [diff] [blame] | 420 | <dependency> |
| 421 | <groupId>org.mockito</groupId> |
| 422 | <artifactId>mockito-core</artifactId> |
| 423 | <version>1.10.19</version> |
| 424 | <scope>test</scope> |
| 425 | </dependency> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 426 | |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 427 | </dependencies> |
| 428 | <build> |
| 429 | <finalName>DMaaP</finalName> |
| 430 | <resources> |
| 431 | <resource> |
| 432 | <directory>src/main/resources</directory> |
| 433 | <filtering>true</filtering> |
| 434 | <includes> |
| 435 | <include>**/*.properties</include> |
| 436 | </includes> |
| 437 | </resource> |
| 438 | <!-- <resource> <directory>src/main/config</directory> <filtering>true</filtering> |
| 439 | <includes> <include>**/log4j*.xml</include> </includes> </resource> <resource> |
| 440 | <directory>src/main/resources</directory> <filtering>false</filtering> <excludes> |
| 441 | <exclude>**/cambriaApiVersion.properties</exclude> </excludes> </resource> --> |
| 442 | </resources> |
| 443 | <plugins> |
| 444 | <!-- <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version> |
| 445 | <configuration> <descriptors> <descriptor>src/assembly/dep.xml</descriptor> |
| 446 | </descriptors> </configuration> <executions> <execution> <id>make-assembly</id> |
| 447 | this is used for inheritance merges --> |
| 448 | <!-- <phase>package</phase> bind to the packaging phase <goals> <goal>single</goal> |
| 449 | </goals> </execution> </executions> </plugin> --> |
| 450 | <!-- --> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 451 | <plugin> |
| 452 | <groupId>org.apache.maven.plugins</groupId> |
Varun Gudisena | d245aec | 2017-09-21 23:39:45 -0500 | [diff] [blame] | 453 | <artifactId>maven-site-plugin</artifactId> |
| 454 | <version>3.6</version> |
| 455 | <dependencies> |
| 456 | <dependency> |
| 457 | <groupId>org.apache.maven.wagon</groupId> |
| 458 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 459 | <version>2.10</version> |
| 460 | </dependency> |
| 461 | </dependencies> |
| 462 | </plugin> |
| 463 | <plugin> |
| 464 | <groupId>org.apache.maven.plugins</groupId> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 465 | <artifactId>maven-javadoc-plugin</artifactId> |
| 466 | <version>2.10.4</version> |
| 467 | <configuration> |
| 468 | <additionalparam>-Xdoclint:none</additionalparam> |
| 469 | </configuration> |
| 470 | <executions> |
| 471 | <execution> |
| 472 | <id>attach-javadocs</id> |
| 473 | <goals> |
| 474 | <goal>jar</goal> |
| 475 | </goals> |
| 476 | </execution> |
| 477 | </executions> |
| 478 | </plugin> |
| 479 | <plugin> |
| 480 | <groupId>org.apache.maven.plugins</groupId> |
| 481 | <artifactId>maven-source-plugin</artifactId> |
| 482 | <version>3.0.0</version> |
| 483 | <executions> |
| 484 | <execution> |
| 485 | <id>attach-sources</id> |
| 486 | <goals> |
| 487 | <goal>jar-no-fork</goal> |
| 488 | </goals> |
| 489 | </execution> |
| 490 | </executions> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 491 | </plugin> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 492 | <plugin> |
| 493 | <groupId>org.apache.maven.plugins</groupId> |
| 494 | <artifactId>maven-surefire-plugin</artifactId> |
| 495 | <version>2.12.4</version> |
| 496 | <configuration> |
| 497 | <excludes> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 498 | <!-- exclude until junits updated <exclude>**/DME2*.java</exclude> --> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 499 | </excludes> |
| 500 | <!-- <skipTests>true</skipTests> --> |
| 501 | </configuration> |
| 502 | </plugin> |
Sunil Unnava | d46bf36 | 2018-03-12 09:30:41 -0400 | [diff] [blame] | 503 | <plugin> |
| 504 | <groupId>org.codehaus.mojo</groupId> |
| 505 | <artifactId>cobertura-maven-plugin</artifactId> |
| 506 | <version>2.7</version> |
| 507 | <configuration> |
| 508 | <formats> |
| 509 | <format>html</format> |
| 510 | <format>xml</format> |
| 511 | </formats> |
| 512 | </configuration> |
| 513 | </plugin> |
| 514 | <!-- <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> |
| 515 | <version>${jacoco.version}</version> <configuration> Note: This exclusion |
| 516 | list should match <sonar.exclusions> property above <excludes> <exclude>**/gen/**</exclude> |
| 517 | <exclude>**/generated-sources/**</exclude> <exclude>**/yang-gen/**</exclude> |
| 518 | <exclude>**/pax/**</exclude> </excludes> </configuration> <executions> Prepares |
| 519 | the property pointing to the JaCoCo runtime agent which is passed as VM argument |
| 520 | when Maven the Surefire plugin is executed. <execution> <id>pre-unit-test</id> |
| 521 | <goals> <goal>prepare-agent</goal> </goals> <configuration> Sets the path |
| 522 | to the file which contains the execution data. <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 523 | Sets the name of the property containing the settings for JaCoCo runtime |
| 524 | agent. <propertyName>surefireArgLine</propertyName> </configuration> </execution> |
| 525 | Ensures that the code coverage report for unit tests is created after unit |
| 526 | tests have been run. <execution> <id>post-unit-test</id> <phase>test</phase> |
| 527 | <goals> <goal>report</goal> </goals> <configuration> Sets the path to the |
| 528 | file which contains the execution data. <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 529 | Sets the output directory for the code coverage report. <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 530 | </configuration> </execution> <execution> <id>pre-integration-test</id> <phase>pre-integration-test</phase> |
| 531 | <goals> <goal>prepare-agent</goal> </goals> <configuration> Sets the path |
| 532 | to the file which contains the execution data. <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 533 | Sets the name of the property containing the settings for JaCoCo runtime |
| 534 | agent. <propertyName>failsafeArgLine</propertyName> </configuration> </execution> |
| 535 | Ensures that the code coverage report for integration tests after integration |
| 536 | tests have been run. <execution> <id>post-integration-test</id> <phase>post-integration-test</phase> |
| 537 | <goals> <goal>report</goal> </goals> <configuration> Sets the path to the |
| 538 | file which contains the execution data. <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 539 | Sets the output directory for the code coverage report. <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 540 | </configuration> </execution> </executions> </plugin> --> |
| 541 | </plugins> |
Varun Gudisena | ca63da6 | 2017-08-30 16:00:10 -0500 | [diff] [blame] | 542 | </build> |
| 543 | |
| 544 | <!-- <profiles> <profile> <id>jenkins</id> <activation> <property> <name>env.BUILD_NUMBER</name> |
| 545 | </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> |
| 546 | <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> <groupId>com.att.aft.swm</groupId> |
| 547 | <artifactId>swm-plugin</artifactId> <version>1.4.4.12</version> <configuration> |
| 548 | <distFilesRootDirPath>/opt/app/dmaap/msgrtr/jenkinsbuild</distFilesRootDirPath> |
| 549 | <version>${project.version}-${env.BUILD_NUMBER}</version> <scriptExcludes> |
| 550 | <scriptExclude>**/swmpkgclean.sh</scriptExclude> </scriptExcludes> </configuration> |
| 551 | <executions> <execution> <id>pkgstage</id> <goals> <goal>pkgstage</goal> |
| 552 | </goals> </execution> <execution> <id>pkgcreate</id> <goals> <goal>pkgcreate</goal> |
| 553 | </goals> </execution> <execution> <id>pkginstall</id> <goals> <goal>install</goal> |
| 554 | </goals> <configuration> <componentName>com.att.nsa:msgrtr</componentName> |
| 555 | <version>${project.version}-${env.BUILD_NUMBER}</version> <waitTimeMins>4</waitTimeMins> |
| 556 | <properties> <property> <name>overrideDependencyConflicts</name> <value>true</value> |
| 557 | </property> <property> <name>AFTSWM_NOTIFY_ADDRESSES</name> <value>mailto:rs857c@att.com</value> |
| 558 | </property> </properties> </configuration> </execution> </executions> </plugin> |
| 559 | <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> |
| 560 | <phase>package</phase> <configuration> <tasks> <copy file="./src/main/scripts/swmpkgclean.sh" |
| 561 | toDir="./target" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> |
| 562 | </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> |
| 563 | <artifactId>maven-deploy-plugin</artifactId> <version>2.5</version> <configuration> |
| 564 | <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile> |
| 565 | </profiles> --> |
Jessica Wagantall | 1b61890 | 2017-09-08 13:14:43 -0700 | [diff] [blame] | 566 | </project> |