pom.xml 27.3 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 323 324 325
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-ldap</artifactId>
        </dependency>
        <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>javax.servlet-api</artifactId>
        </dependency>
        <dependency>
                <groupId>org.springframework.ldap</groupId>
                <artifactId>spring-ldap-core</artifactId>
326 327
        </dependency>

328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355
        <!-- 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>
356
        <dependency>
357 358
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-servlet</artifactId>
359
        </dependency>
360
        <!-- Required for Spring configuration processing -->
361
        <dependency>
362 363 364 365 366 367 368 369 370 371 372 373
            <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>
374
        </dependency>
375
        <dependency>
376 377 378
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-dashboardv2</artifactId>
            <type>war</type>
379
        </dependency>
380 381 382 383 384 385
        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymock</artifactId>
            <version>3.4</version>
            <scope>test</scope>
        </dependency>
386

387 388 389 390 391 392
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-intg</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
393

394
        <dependency>
395 396 397 398 399
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-repository</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
400

401 402 403 404 405 406
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-graphdb-common</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
407

408
        <dependency>
409 410 411 412 413 414 415 416 417 418 419
            <groupId>com.nimbusds</groupId>
            <artifactId>nimbus-jose-jwt</artifactId>
            <version>3.9</version>
            <scope>compile</scope>
            <exclusions>
                <exclusion>
                    <groupId>org.bouncycastle</groupId>
                    <artifactId>bcprov-jdk15on</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
420 421 422 423 424

        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-server-api</artifactId>
        </dependency>
425 426 427 428 429

        <dependency>
            <groupId>com.webcohesion.enunciate</groupId>
            <artifactId>enunciate-core-annotations</artifactId>
        </dependency>
430 431 432 433 434 435 436 437 438 439 440 441
        <!-- 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>
442
    </dependencies>
443

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

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

505 506 507 508 509 510 511 512 513 514 515 516
            <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}
517
                        -Xmx1024m
518 519 520
                    </argLine>
                </configuration>
                <executions>
521
                    <!-- Needed for explicit separation of UTs, SSL/Kerberos/Secure server tests and ITs-->
522 523
                    <execution>
                        <id>default-test</id>
524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554
                        <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>
555 556 557 558
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>test</goal>
                        </goals>
559 560 561 562 563 564 565 566 567 568 569 570
                        <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>
571 572 573 574
                    </execution>
                </executions>
            </plugin>

575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593
            <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>

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

                    <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>
710 711
                </executions>
            </plugin>
712

713 714 715
            <plugin>
                <groupId>com.webcohesion.enunciate</groupId>
                <artifactId>enunciate-maven-plugin</artifactId>
716
                <version>${enunciate-maven-plugin.version}</version>
717 718 719 720
                <configuration>
                    <configFile>${project.parent.basedir}/build-tools/src/main/resources/enunciate.xml</configFile>
                    <enunciateArtifactId/>
                    <docsDir>${project.build.directory}/api/v2/</docsDir>
721 722
                    <source>1.8</source>
                    <target>1.8</target>
723 724 725
                    <skipEnunciate>${skipEnunciate}</skipEnunciate>
                </configuration>
            </plugin>
726
        </plugins>
727
    </build>
728 729


730
</project>