pom.xml 26.6 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>0.9-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>
38
        <packages.to.exclude />
Shwetha GS committed
39
    </properties>
40

41
    <profiles>
42 43 44 45 46 47 48
        <profile>
            <!-- default profile is for external HBase and Solr - hence not packaging those jars -->
            <id>dist</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
49
                <packages.to.exclude>WEB-INF/lib/titan-*.jar,WEB-INF/lib/je-*.jar,WEB-INF/lib/elasticsearch-*.jar,WEB-INF/lib/lucene-*.jar</packages.to.exclude>
50 51 52 53 54 55 56 57 58 59 60 61
            </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>
62 63 64 65 66 67 68 69
        <profile>
            <id>Windows</id>
            <activation>
                <os>
                    <family>windows</family>
                </os>
            </activation>
            <properties>
70
                <log4j.configuration.url>file:/${project.build.directory}/../../distro/src/conf/atlas-log4j.xml</log4j.configuration.url>
71
            </properties>
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
        </profile>
        <profile>
            <id>titan1</id>
            <!-- remove conflicting lucene/titan versions from catalog when using titan 1 -->
            <dependencyManagement>
                <dependencies>
                    <dependency>
                        <groupId>org.apache.atlas</groupId>
                        <artifactId>atlas-catalog</artifactId>
                        <version>${project.version}</version>
                        <exclusions>
                            <exclusion>
                                <groupId>com.thinkaurelius.titan</groupId>
                                <artifactId>titan-core</artifactId>
                            </exclusion>
                            <exclusion>
                                <groupId>org.apache.lucene</groupId>
                                <artifactId>lucene-core</artifactId>
                            </exclusion>
                            <exclusion>
                                <groupId>org.apache.lucene</groupId>
                                <artifactId>lucene-queryparser</artifactId>
                            </exclusion>
                            <exclusion>
                                <groupId>org.apache.lucene</groupId>
                                <artifactId>lucene-analyzers-common</artifactId>
                            </exclusion>
                        </exclusions>
                    </dependency>
                </dependencies>
            </dependencyManagement>

            <dependencies>
                <dependency>
                    <groupId>org.apache.atlas</groupId>
                    <artifactId>atlas-catalog</artifactId>
                    <scope>provided</scope>
                </dependency>
            </dependencies>
        </profile>
112 113
    </profiles>

114
    <dependencies>
115 116 117 118 119
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-graphdb-impls</artifactId>
            <type>pom</type>
        </dependency>
120 121 122 123 124
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-common</artifactId>
        </dependency>

125
        <dependency>
126 127
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-typesystem</artifactId>
128 129
        </dependency>

130
        <dependency>
131 132
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-repository</artifactId>
133
        </dependency>
134

135
        <dependency>
136 137
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-client</artifactId>
138 139
        </dependency>

140
        <dependency>
141 142
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-authorization</artifactId>
143
            <version>${project.version}</version>
144 145
        </dependency>

146 147 148 149
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-notification</artifactId>
        </dependency>
150 151 152 153
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-intg</artifactId>
        </dependency>
Jon Maron committed
154 155 156 157
        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-common</artifactId>
        </dependency>
158

159

160 161 162 163 164 165 166 167 168
        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-minikdc</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-hdfs</artifactId>
        </dependency>
169

170 171 172 173
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-catalog</artifactId>
        </dependency>
174

175 176 177 178 179 180 181 182 183 184 185
        <!-- Zookeeper, curator -->
        <dependency>
            <groupId>org.apache.curator</groupId>
            <artifactId>curator-framework</artifactId>
        </dependency>

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

186 187 188 189 190
        <dependency>
            <groupId>org.apache.curator</groupId>
            <artifactId>curator-client</artifactId>
        </dependency>

191
        <dependency>
192 193
            <groupId>org.apache.zookeeper</groupId>
            <artifactId>zookeeper</artifactId>
194

195 196

        </dependency>
197 198 199 200 201 202
        <!-- supports simple auth handler -->
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
        </dependency>

203 204 205 206
        <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
        </dependency>
207

208 209 210 211
        <dependency>
            <groupId>commons-configuration</groupId>
            <artifactId>commons-configuration</artifactId>
        </dependency>
212

213 214 215 216
        <dependency>
            <groupId>commons-cli</groupId>
            <artifactId>commons-cli</artifactId>
        </dependency>
217

218 219 220 221 222
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
        </dependency>

223 224 225 226
        <dependency>
            <groupId>com.googlecode.json-simple</groupId>
            <artifactId>json-simple</artifactId>
        </dependency>
227

228 229 230 231
        <dependency>
            <groupId>javax.servlet.jsp</groupId>
            <artifactId>jsp-api</artifactId>
        </dependency>
232

233
        <dependency>
234 235
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-server</artifactId>
236
        </dependency>
237

238
        <dependency>
239 240
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-webapp</artifactId>
241
        </dependency>
242

243 244 245 246
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-core</artifactId>
        </dependency>
247

248 249 250 251
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-server</artifactId>
        </dependency>
252

253 254 255 256
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-client</artifactId>
        </dependency>
257

258 259 260 261
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-json</artifactId>
        </dependency>
262

263 264 265 266 267
        <dependency>
            <groupId>com.sun.jersey.contribs</groupId>
            <artifactId>jersey-multipart</artifactId>
        </dependency>

268 269 270 271
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
        </dependency>
272

273
        <dependency>
274 275
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
276
        </dependency>
277

278 279 280 281 282 283 284
        <dependency>
            <groupId>com.google.inject</groupId>
            <artifactId>guice</artifactId>
            <version>${guice.version}</version>
            <scope>test</scope>
        </dependency>

285 286
        <dependency>
            <groupId>com.google.inject.extensions</groupId>
287 288 289
            <artifactId>guice-throwingproviders</artifactId>
            <version>${guice.version}</version>
            <scope>test</scope>
290
        </dependency>
291

292
        <dependency>
293 294 295 296
            <groupId>com.google.inject.extensions</groupId>
            <artifactId>guice-multibindings</artifactId>
            <version>${guice.version}</version>
            <scope>test</scope>
297
        </dependency>
298

299
        <dependency>
300 301
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
302
        </dependency>
Shwetha GS committed
303 304

        <dependency>
305 306 307 308
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-jsp</artifactId>
        </dependency>

309 310 311 312 313
        <dependency>
            <groupId>org.glassfish</groupId>
            <artifactId>javax.el</artifactId>
        </dependency>

314 315 316
        <dependency>
            <groupId>org.codehaus.jackson</groupId>
            <artifactId>jackson-core-asl</artifactId>
Shwetha GS committed
317
        </dependency>
318 319 320 321 322

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

324
        <dependency>
325 326
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
327 328
        </dependency>

329
        <dependency>
330 331
                <groupId>org.springframework</groupId>
                <artifactId>spring-web</artifactId>
332 333 334
        </dependency>

        <dependency>
335 336
                <groupId>org.springframework</groupId>
                <artifactId>spring-webmvc</artifactId>
337 338 339
        </dependency>

        <dependency>
340 341
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-core</artifactId>
342 343 344
        </dependency>

        <dependency>
345 346
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-web</artifactId>
347 348 349
        </dependency>

        <dependency>
350 351
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-config</artifactId>
352 353 354
        </dependency>

        <dependency>
355 356 357 358 359 360 361 362 363 364
                <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>
365 366
        </dependency>

367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394
        <!-- 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>
395
        <dependency>
396 397
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-servlet</artifactId>
398
        </dependency>
399
        <!-- Required for Spring configuration processing -->
400
        <dependency>
401 402 403 404 405 406 407 408 409 410 411 412
            <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>
413
        </dependency>
414
        <dependency>
415 416 417
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-dashboardv2</artifactId>
            <type>war</type>
418
        </dependency>
419 420 421 422 423 424
        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymock</artifactId>
            <version>3.4</version>
            <scope>test</scope>
        </dependency>
425 426 427 428 429 430 431

        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-typesystem</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
432 433 434 435 436 437
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-intg</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
438 439

	    <dependency>
440 441 442 443 444
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-repository</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
445

446 447 448 449 450 451
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-graphdb-common</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
452

453
        <dependency>
454 455 456 457 458 459 460 461 462 463 464
            <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>
465 466 467 468 469

        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-server-api</artifactId>
        </dependency>
470 471 472 473 474

        <dependency>
            <groupId>com.webcohesion.enunciate</groupId>
            <artifactId>enunciate-core-annotations</artifactId>
        </dependency>
475 476 477 478 479 480 481 482 483 484 485 486
        <!-- 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>
487
    </dependencies>
488

489
    <build>
490 491 492 493 494
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
495
                    <archiveClasses>true</archiveClasses>
496
                    <attachClasses>true</attachClasses>
497
                    <overlays>
498
                        <overlay>
499 500
                            <groupId>org.apache.atlas</groupId>
                            <artifactId>atlas-dashboardv2</artifactId>
501
                        </overlay>
502
                        <overlay>
503
                            <!-- empty groupId/artifactId represents the current build -->
504
                        </overlay>
505
                    </overlays>
506 507 508 509 510
                    <archive>
                        <manifest>
                            <addClasspath>true</addClasspath>
                        </manifest>
                    </archive>
511
                    <packagingExcludes>
512 513
                        <!-- 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 -->
514
                        WEB-INF/lib/titan*.jar,WEB-INF/lib/hbase*.jar,WEB-INF/lib/junit*.jar,${packages.to.exclude}
515
                    </packagingExcludes>
516 517
                </configuration>
            </plugin>
518

519 520 521
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>keytool-maven-plugin</artifactId>
522
                <version>1.5</version>
523 524 525 526 527 528 529 530 531
                <executions>
                    <execution>
                        <id>clean</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>clean</goal>
                        </goals>
                    </execution>
                    <execution>
Jon Maron committed
532
                        <id>generateKeyPair</id>
533 534 535 536 537 538 539
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>generateKeyPair</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
540
                    <dname>cn=atlas.apache.org</dname>
541
                    <keystore>${project.build.directory}/atlas.keystore</keystore>
Jon Maron committed
542 543
                    <keypass>keypass</keypass>
                    <storepass>keypass</storepass>
544
                    <alias>atlas</alias>
545 546 547 548 549
                    <keyalg>RSA</keyalg>
                    <validity>100000</validity>
                </configuration>
            </plugin>

550
        <!-- Running unit tests in pre-integration-test phase after war is built -->
551 552 553 554 555 556 557 558
            <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>
559
                    <!--<skipTests>true</skipTests> -->
560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588
                    <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}
                        -Xmx1024m -XX:MaxPermSize=512m
                    </argLine>
                    <excludes>
                        <exclude>**/*Base*</exclude>
                    </excludes>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>org.apache.maven.surefire</groupId>
                        <artifactId>surefire-testng</artifactId>
                        <version>2.18.1</version>
                    </dependency>
                </dependencies>
                <executions>
                    <execution>
                        <id>default-test</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>test</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>


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

703 704 705 706 707 708 709 710 711 712 713 714
            <plugin>
                <groupId>com.webcohesion.enunciate</groupId>
                <artifactId>enunciate-maven-plugin</artifactId>
                <configuration>
                    <configFile>${project.parent.basedir}/build-tools/src/main/resources/enunciate.xml</configFile>
                    <enunciateArtifactId/>
                    <docsDir>${project.build.directory}/api/v2/</docsDir>
                    <source>1.7</source>
                    <target>1.7</target>
                    <skipEnunciate>${skipEnunciate}</skipEnunciate>
                </configuration>
            </plugin>
715
        </plugins>
716
    </build>
717 718


719
</project>