pom.xml 27.8 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License.  You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
20

21
<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">
22

23 24
    <modelVersion>4.0.0</modelVersion>
    <parent>
25 26
        <groupId>org.apache.atlas</groupId>
        <artifactId>apache-atlas</artifactId>
27
        <version>1.0.0-SNAPSHOT</version>
28
    </parent>
29 30 31
    <artifactId>atlas-webapp</artifactId>
    <description>Apache Atlas Web Application</description>
    <name>Apache Atlas Web Application</name>
32
    <packaging>war</packaging>
33

Shwetha GS committed
34
    <properties>
35
        <projectBaseDir>${project.basedir}/..</projectBaseDir>
Shwetha GS committed
36
        <debug.jetty.daemon>true</debug.jetty.daemon>
37
        <log4j.configuration.url>file:///${project.build.directory}/../../distro/src/conf/atlas-log4j.xml</log4j.configuration.url>
Shwetha GS committed
38
    </properties>
39

40
    <profiles>
41 42 43 44 45 46
        <profile>
            <id>dist</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
47
                <packages.to.exclude>${distro.exclude.packages}</packages.to.exclude>
48 49 50 51 52 53 54 55 56 57 58 59
            </properties>
        </profile>

        <profile>
            <id>berkeley-elasticsearch</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
                <packages.to.exclude>WEB-INF/lib/je-*.jar</packages.to.exclude>
            </properties>
        </profile>
60

61 62 63 64 65 66 67 68
        <profile>
            <id>Windows</id>
            <activation>
                <os>
                    <family>windows</family>
                </os>
            </activation>
            <properties>
69
                <log4j.configuration.url>file:/${project.build.directory}/../../distro/src/conf/atlas-log4j.xml</log4j.configuration.url>
70
            </properties>
71
        </profile>
72

73 74
    </profiles>

75
    <dependencies>
76 77 78 79 80
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-graphdb-impls</artifactId>
            <type>pom</type>
        </dependency>
81

82 83 84
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-common</artifactId>
85 86 87 88 89 90
            <exclusions>
                <exclusion>
                    <groupId>com.fasterxml.jackson.core</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
91 92
        </dependency>

93
        <dependency>
94 95
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-repository</artifactId>
96
        </dependency>
97

98
        <dependency>
99
            <groupId>org.apache.atlas</groupId>
100 101 102 103 104 105
            <artifactId>atlas-client-v1</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-client-v2</artifactId>
106 107
        </dependency>

108
        <dependency>
109 110
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-authorization</artifactId>
111
            <version>${project.version}</version>
112 113
        </dependency>

114 115 116 117
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-notification</artifactId>
        </dependency>
118

119 120 121 122
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-intg</artifactId>
        </dependency>
123

Jon Maron committed
124 125 126
        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-common</artifactId>
127 128 129 130 131 132
            <exclusions>
                <exclusion>
                    <groupId>javax.servlet</groupId>
                    <artifactId>servlet-api</artifactId>
                </exclusion>
            </exclusions>
Jon Maron committed
133
        </dependency>
134

135 136 137 138 139 140 141 142
        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-minikdc</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-hdfs</artifactId>
143 144 145 146 147 148
            <exclusions>
                <exclusion>
                    <groupId>javax.servlet</groupId>
                    <artifactId>servlet-api</artifactId>
                </exclusion>
            </exclusions>
149
        </dependency>
150

151 152 153 154 155 156 157 158 159 160 161
        <!-- Zookeeper, curator -->
        <dependency>
            <groupId>org.apache.curator</groupId>
            <artifactId>curator-framework</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.curator</groupId>
            <artifactId>curator-recipes</artifactId>
        </dependency>

162 163 164 165 166
        <dependency>
            <groupId>org.apache.curator</groupId>
            <artifactId>curator-client</artifactId>
        </dependency>

167
        <dependency>
168 169
            <groupId>org.apache.zookeeper</groupId>
            <artifactId>zookeeper</artifactId>
170

171 172

        </dependency>
173 174 175 176 177 178
        <!-- supports simple auth handler -->
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
        </dependency>

179 180 181 182
        <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
        </dependency>
183

184 185 186 187
        <dependency>
            <groupId>commons-configuration</groupId>
            <artifactId>commons-configuration</artifactId>
        </dependency>
188

189 190 191 192
        <dependency>
            <groupId>commons-cli</groupId>
            <artifactId>commons-cli</artifactId>
        </dependency>
193

194 195 196 197 198
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
        </dependency>

199 200 201 202
        <dependency>
            <groupId>com.googlecode.json-simple</groupId>
            <artifactId>json-simple</artifactId>
        </dependency>
203

204 205 206 207
        <dependency>
            <groupId>javax.servlet.jsp</groupId>
            <artifactId>jsp-api</artifactId>
        </dependency>
208

209
        <dependency>
210 211
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-server</artifactId>
212
        </dependency>
213

214
        <dependency>
215 216
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-webapp</artifactId>
217
        </dependency>
218

219 220 221 222
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-core</artifactId>
        </dependency>
223

224 225 226 227
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-server</artifactId>
        </dependency>
228

229 230 231 232
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-client</artifactId>
        </dependency>
233

234 235 236 237 238
        <dependency>
            <groupId>com.sun.jersey.contribs</groupId>
            <artifactId>jersey-multipart</artifactId>
        </dependency>

239 240 241 242
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
        </dependency>
243

244
        <dependency>
245 246
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
247
        </dependency>
248

249 250 251 252 253 254 255
        <dependency>
            <groupId>com.google.inject</groupId>
            <artifactId>guice</artifactId>
            <version>${guice.version}</version>
            <scope>test</scope>
        </dependency>

256 257
        <dependency>
            <groupId>com.google.inject.extensions</groupId>
258 259 260
            <artifactId>guice-throwingproviders</artifactId>
            <version>${guice.version}</version>
            <scope>test</scope>
261
        </dependency>
262

263
        <dependency>
264 265 266 267
            <groupId>com.google.inject.extensions</groupId>
            <artifactId>guice-multibindings</artifactId>
            <version>${guice.version}</version>
            <scope>test</scope>
268
        </dependency>
269

Shwetha GS committed
270
        <dependency>
271 272 273 274
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-jsp</artifactId>
        </dependency>

275 276 277 278
        <dependency>
            <groupId>org.glassfish</groupId>
            <artifactId>javax.el</artifactId>
        </dependency>
279 280 281 282 283

        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
        </dependency>
284

285
        <dependency>
286 287
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
288 289
        </dependency>

290
        <dependency>
291 292
                <groupId>org.springframework</groupId>
                <artifactId>spring-web</artifactId>
293 294 295
        </dependency>

        <dependency>
296 297
                <groupId>org.springframework</groupId>
                <artifactId>spring-webmvc</artifactId>
298 299 300
        </dependency>

        <dependency>
301 302
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-core</artifactId>
303 304 305
        </dependency>

        <dependency>
306 307
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-web</artifactId>
308 309 310
        </dependency>

        <dependency>
311 312
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-config</artifactId>
313 314 315
        </dependency>

        <dependency>
316 317 318 319 320 321 322
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-ldap</artifactId>
        </dependency>
        <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>javax.servlet-api</artifactId>
        </dependency>
323

324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351
        <!-- Jersey + Spring -->
        <dependency>
            <groupId>com.sun.jersey.contribs</groupId>
            <artifactId>jersey-spring</artifactId>
            <version>1.8</version>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-web</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-beans</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-context</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
352
        <dependency>
353 354
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-servlet</artifactId>
355
        </dependency>
356
        <!-- Required for Spring configuration processing -->
357
        <dependency>
358 359 360 361 362 363 364 365 366 367 368 369
            <groupId>org.springframework</groupId>
            <artifactId>spring-aop</artifactId>
        </dependency>
        <dependency>
            <groupId>org.aspectj</groupId>
            <artifactId>aspectjrt</artifactId>
            <version>1.8.9</version>
        </dependency>
        <dependency>
            <groupId>org.aspectj</groupId>
            <artifactId>aspectjweaver</artifactId>
            <version>1.8.9</version>
370
        </dependency>
371
        <dependency>
372 373 374
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-dashboardv2</artifactId>
            <type>war</type>
375
        </dependency>
376 377 378 379 380 381
        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymock</artifactId>
            <version>3.4</version>
            <scope>test</scope>
        </dependency>
382

383 384 385 386 387 388
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-intg</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
389

390
        <dependency>
391 392 393 394 395
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-repository</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
396

397 398 399 400 401 402 403 404 405 406 407 408
        <dependency>
            <groupId>org.elasticsearch.client</groupId>
            <artifactId>elasticsearch-rest-high-level-client</artifactId>
            <version>${elasticsearch.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>org.elasticsearch</groupId>
                    <artifactId>elasticsearch</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

409 410 411 412 413 414
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-graphdb-common</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
415

416
        <dependency>
417 418
            <groupId>com.nimbusds</groupId>
            <artifactId>nimbus-jose-jwt</artifactId>
419
            <version>5.4</version>
420 421 422 423 424 425 426 427
            <scope>compile</scope>
            <exclusions>
                <exclusion>
                    <groupId>org.bouncycastle</groupId>
                    <artifactId>bcprov-jdk15on</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
428 429 430 431 432

        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-server-api</artifactId>
        </dependency>
433 434 435 436 437

        <dependency>
            <groupId>com.webcohesion.enunciate</groupId>
            <artifactId>enunciate-core-annotations</artifactId>
        </dependency>
438 439 440 441 442 443 444 445 446 447 448 449
        <!-- PAM -->
        <dependency>
            <groupId>org.kohsuke</groupId>
            <artifactId>libpam4j</artifactId>
            <version>1.8</version>
        </dependency>

        <dependency>
            <groupId>net.java.dev.jna</groupId>
            <artifactId>jna</artifactId>
            <version>4.1.0</version>
        </dependency>
450
    </dependencies>
451

452
    <build>
453 454 455 456 457
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
458
                    <archiveClasses>true</archiveClasses>
459
                    <attachClasses>true</attachClasses>
460
                    <overlays>
461
                        <overlay>
462 463
                            <groupId>org.apache.atlas</groupId>
                            <artifactId>atlas-dashboardv2</artifactId>
464
                        </overlay>
465
                        <overlay>
466
                            <!-- empty groupId/artifactId represents the current build -->
467
                        </overlay>
468
                    </overlays>
469 470 471 472 473
                    <archive>
                        <manifest>
                            <addClasspath>true</addClasspath>
                        </manifest>
                    </archive>
474
                    <packagingExcludes>
475
                        <!-- HBase jars should be excluded because an uber jar with shaded dependencies is created.
476
                        But mvn 3.3.x includes them for some reason. So, excluding them explicitly here -->
477
                        WEB-INF/lib/hbase*.jar,WEB-INF/lib/junit*.jar,${packages.to.exclude}
478
                    </packagingExcludes>
479 480
                </configuration>
            </plugin>
481

482 483 484
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>keytool-maven-plugin</artifactId>
485
                <version>1.5</version>
486 487 488 489 490 491 492 493 494
                <executions>
                    <execution>
                        <id>clean</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>clean</goal>
                        </goals>
                    </execution>
                    <execution>
Jon Maron committed
495
                        <id>generateKeyPair</id>
496 497 498 499 500 501 502
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>generateKeyPair</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
503
                    <dname>cn=atlas.apache.org</dname>
504
                    <keystore>${project.build.directory}/atlas.keystore</keystore>
Jon Maron committed
505 506
                    <keypass>keypass</keypass>
                    <storepass>keypass</storepass>
507
                    <alias>atlas</alias>
508 509 510 511 512
                    <keyalg>RSA</keyalg>
                    <validity>100000</validity>
                </configuration>
            </plugin>

513 514 515 516 517 518 519 520 521 522 523 524
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <systemProperties>
                        <user.dir>${project.basedir}</user.dir>
                        <projectBaseDir>${project.basedir}/..</projectBaseDir>
                    </systemProperties>
                    <forkMode>always</forkMode>
                    <redirectTestOutputToFile>true</redirectTestOutputToFile>
                    <argLine>-Djava.awt.headless=true -Dproject.version=${project.version}
                        -Dhadoop.tmp.dir=${project.build.directory}/tmp-hadoop-${user.name}
525
                        -Xmx1024m
526 527 528
                    </argLine>
                </configuration>
                <executions>
529
                    <!-- Needed for explicit separation of UTs, SSL/Kerberos/Secure server tests and ITs-->
530 531
                    <execution>
                        <id>default-test</id>
532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562
                        <configuration>
                            <skip>true</skip>
                        </configuration>
                    </execution>

                    <!-- Unit tests don't rely of WAR being built and don't interact with real server -->
                    <execution>
                        <id>unit-tests</id>
                        <phase>test</phase>
                        <goals>
                            <goal>test</goal>
                        </goals>
                        <configuration>
                            <includes>
                                <include>**/*Test.java</include>
                            </includes>
                            <excludes>
                                <exclude>**/*SSL*.java</exclude>
                                <exclude>**/*Kerberos*.java</exclude>
                                <exclude>**/*Base*.java</exclude>
                                <exclude>**/*Secure*.java</exclude>
                                <exclude>**/*Server*.java</exclude>
                                <exclude>**/*$*.java</exclude>
                            </excludes>
                        </configuration>
                    </execution>

                    <!-- Secure tests rely on the generated WAR and (may) start atlas server for tests -->
                    <!-- Eventually all these server interaction tests need to move to IT phase -->
                    <execution>
                        <id>secure-tests</id>
563 564 565 566
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>test</goal>
                        </goals>
567 568 569 570 571 572 573 574 575 576 577 578
                        <configuration>
                            <includes>
                                <include>**/*SSL*Test.java</include>
                                <include>**/*Kerberos*Test.java</include>
                                <include>**/*Secure*Test.java</include>
                                <include>**/*Server*Test.java</include>
                                <include>**/*$*.java</include>
                            </includes>
                            <excludes>
                                <exclude>**/*Base*.java</exclude>
                            </excludes>
                        </configuration>
579 580 581 582
                    </execution>
                </executions>
            </plugin>

583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <tasks>
                                <delete dir="${project.build.directory}/data"/>
                                <delete dir="${project.build.directory}/logs"/>
                            </tasks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

602
            <plugin>
603 604
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-maven-plugin</artifactId>
605
                <configuration>
606
                    <skip>${skipTests}</skip>
607
                    <!--only skip int tests -->
608
                    <httpConnector>
609
                        <port>31000</port>
610 611 612 613
                        <idleTimeout>60000</idleTimeout>
                    </httpConnector>
                    <war>${project.build.directory}/atlas-webapp-${project.version}.war</war>
                    <daemon>true</daemon>
614
                    <webAppSourceDirectory>webapp/src/test/webapp</webAppSourceDirectory>
615 616
                    <webApp>
                        <contextPath>/</contextPath>
617
                        <descriptor>${project.basedir}/src/test/webapp/WEB-INF/web.xml</descriptor>
618
                        <extraClasspath>${project.build.testOutputDirectory}</extraClasspath>
619 620
                    </webApp>
                    <useTestScope>true</useTestScope>
621
                    <systemProperties>
622
                        <systemProperty>
623 624
                            <name>atlas.home</name>
                            <value>${project.build.directory}</value>
625
                        </systemProperty>
626
                        <systemProperty>
627 628
                            <key>atlas.conf</key>
                            <value>${project.build.directory}/test-classes</value>
629
                        </systemProperty>
630
                        <systemProperty>
631 632
                            <name>atlas.data</name>
                            <value>${project.build.directory}/data</value>
633 634
                        </systemProperty>
                        <systemProperty>
635 636
                            <name>atlas.log.dir</name>
                            <value>${project.build.directory}/logs</value>
637
                        </systemProperty>
638
                        <systemProperty>
639 640
                            <name>atlas.log.file</name>
                            <value>application.log</value>
641
                        </systemProperty>
642
                        <systemProperty>
643 644
                            <name>log4j.configuration</name>
                            <value>${log4j.configuration.url}</value>
645
                        </systemProperty>
646
                        <systemProperty>
647 648
                            <name>atlas.graphdb.backend</name>
                            <value>${graphdb.backend.impl}</value>
649 650 651
                        </systemProperty>
                        <systemProperty>
                            <key>embedded.solr.directory</key>
652
                            <value>${project.build.directory}</value>
653
                        </systemProperty>
654
                    </systemProperties>
655
                    <stopKey>atlas-stop</stopKey>
656
                    <stopPort>31001</stopPort>
657
                    <stopWait>${jetty-maven-plugin.stopWait}</stopWait>
Shwetha GS committed
658
                    <daemon>${debug.jetty.daemon}</daemon>
659
                    <testClassesDirectory>${project.build.testOutputDirectory}</testClassesDirectory>
660
                    <useTestClasspath>true</useTestClasspath>
661 662 663 664 665 666
                </configuration>
                <executions>
                    <execution>
                        <id>start-jetty</id>
                        <phase>pre-integration-test</phase>
                        <goals>
667
                            <goal>deploy-war</goal>
668 669 670 671 672 673 674 675 676 677 678
                        </goals>
                    </execution>
                    <execution>
                        <id>stop-jetty</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>stop</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
679
           <plugin>
680 681 682 683 684 685 686 687 688 689
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <executions>
                    <execution>
                        <id>copy-resources</id>
                        <phase>validate</phase>
                        <goals>
                            <goal>copy-resources</goal>
                        </goals>
                        <configuration>
690
                            <outputDirectory>${basedir}/target/models/</outputDirectory>
691 692
                            <resources>
                                <resource>
693
                                    <directory>${basedir}/../addons/models/</directory>
694 695 696 697
                                    <includes>
                                        <include>0000-Area0/0010-base_model.json</include>
                                        <include>1000-Hadoop/**</include>
                                    </includes>
698 699 700 701
                                </resource>
                            </resources>
                        </configuration>
                    </execution>
702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717

                    <execution>
                        <id>copy-solr-resources</id>
                        <phase>validate</phase>
                        <goals>
                            <goal>copy-resources</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${project.build.directory}/solr</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>${basedir}/../test-tools/src/main/resources/solr</directory>
                                </resource>
                            </resources>
                        </configuration>
                    </execution>
718 719
                </executions>
            </plugin>
720

721 722 723
            <plugin>
                <groupId>com.webcohesion.enunciate</groupId>
                <artifactId>enunciate-maven-plugin</artifactId>
724
                <version>${enunciate-maven-plugin.version}</version>
725 726 727 728
                <configuration>
                    <configFile>${project.parent.basedir}/build-tools/src/main/resources/enunciate.xml</configFile>
                    <enunciateArtifactId/>
                    <docsDir>${project.build.directory}/api/v2/</docsDir>
729 730
                    <source>1.8</source>
                    <target>1.8</target>
731 732
                    <skipEnunciate>${skipEnunciate}</skipEnunciate>
                </configuration>
733 734 735 736 737 738 739
                <dependencies>
                    <dependency>
                        <groupId>javax.annotation</groupId>
                        <artifactId>javax.annotation-api</artifactId>
                        <version>1.3</version>
                    </dependency>
                </dependencies>
740
            </plugin>
741
        </plugins>
742
    </build>
743 744


745
</project>