<?xml version="1.0"?>
<!--

    ============LICENSE_START=======================================================
    org.onap.aai
    ================================================================================
    Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
    ================================================================================
    Licensed 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.
    ============LICENSE_END=========================================================

-->
<project
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
        xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.onap.aai.aai-common</groupId>
        <artifactId>aai-common</artifactId>
        <version>1.3.1-SNAPSHOT</version>
    </parent>
    <artifactId>aai-core</artifactId>
    <name>aai-core</name>
    <version>1.3.1-SNAPSHOT</version>
    <packaging>jar</packaging>
    <properties>
        <sonar.language>java</sonar.language>
        <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
        <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
        <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
        <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
        <sonar.projectVersion>${project.version}</sonar.projectVersion>
        <httpclient.version>4.5.5</httpclient.version>
        <jackson.version>2.2.3</jackson.version>
        <eelf.core.version>1.0.0</eelf.core.version>
        <logback.version>1.2.3</logback.version>
        <freemarker.version>2.3.21</freemarker.version>
        <activemq.version>5.15.6</activemq.version>
        <jacoco.line.coverage.limit>0.50</jacoco.line.coverage.limit>
        <gremlin.version>3.2.2</gremlin.version>
	<groovy.version>2.4.15</groovy.version>
        <jetty.version>9.4.11.v20180605</jetty.version>

        <!-- Start of Default ONAP Schema Properties -->
        <aai.wiki.link>https://wiki.onap.org/</aai.wiki.link>
        <gendoc.version>v14</gendoc.version>
        <aai.release>onap</aai.release>
        <schema.uri.base.path>/aai</schema.uri.base.path>
        <schema.configuration.location>N/A</schema.configuration.location>
        <schema.nodes.location>aai-schema/src/main/resources/${aai.release}/oxm</schema.nodes.location>
        <schema.edges.location>aai-schema/src/main/resources/${aai.release}/dbedgerules</schema.edges.location>
        <schema.version.depth.start>v9</schema.version.depth.start>
        <schema.version.related.link.start>v10</schema.version.related.link.start>
        <schema.version.app.root.start>v11</schema.version.app.root.start>
        <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
        <schema.version.edge.label.start>v12</schema.version.edge.label.start>
        <schema.version.api.default>v14</schema.version.api.default>
        <schema.version.list>v8,v9,v10,v11,v12,v13,v14</schema.version.list>
        <!-- End of Default ONAP Schema Properties -->
    </properties>
    <profiles>
        <!-- Start of ONAP profile -->
        <profile>
            <id>onap</id>
            <properties>
                <aai.release>onap</aai.release>
                <schema.configuration.location>N/A</schema.configuration.location>
                <schema.nodes.location>aai-schema/src/main/resources/${aai.release}/oxm</schema.nodes.location>
                <schema.edges.location>aai-schema/src/main/resources/${aai.release}/dbedgerules</schema.edges.location>
                <schema.version.depth.start>v9</schema.version.depth.start>
                <schema.version.related.link.start>v10</schema.version.related.link.start>
                <schema.version.app.root.start>v11</schema.version.app.root.start>
                <schema.version.edge.label.start>v12</schema.version.edge.label.start>
                <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
                <schema.version.api.default>v14</schema.version.api.default>
                <schema.version.list>v8,v9,v10,v11,v12,v13,v14</schema.version.list>
                <gendoc.version>v14</gendoc.version>
            </properties>
        </profile>
        <!-- End of ONAP profile -->
        <profile>
            <id>generateXsd</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <version>1.1.1</version>
                        <executions>
                            <execution>
                                <phase>process-classes</phase>
                                <goals>
                                    <goal>java</goal>
                                </goals>
                                <configuration>
                                    <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
                                    <systemProperties>
                                        <systemProperty>
                                            <key>gen_version</key>
                                            <value>${gendoc.version}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>gen_type</key>
                                            <value>XSD</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>yamlresponses_url</key>
                                            <value></value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>yamlresponses_label</key>
                                            <value></value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.configuration.location</key>
                                            <value>${schema.configuration.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.nodes.location</key>
                                            <value>${schema.nodes.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.edges.location</key>
                                            <value>${schema.edges.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.list</key>
                                            <value>${schema.version.list}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.depth.start</key>
                                            <value>${schema.version.depth.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.depth.start</key>
                                            <value>${schema.version.depth.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.related.link.start</key>
                                            <value>${schema.version.related.link.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.app.root.start</key>
                                            <value>${schema.version.app.root.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.edge.label.start</key>
                                            <value>${schema.version.app.root.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.namespace.change.start</key>
                                            <value>${schema.version.namespace.change.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.api.default</key>
                                            <value>${schema.version.api.default}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.uri.base.path</key>
                                            <value>${schema.uri.base.path}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>aai.release</key>
                                            <value>${aai.release}</value>
                                        </systemProperty>
                                    </systemProperties>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>generateYaml</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <version>1.1.1</version>
                        <executions>
                            <execution>
                                <phase>process-classes</phase>
                                <goals>
                                    <goal>java</goal>
                                </goals>
                                <configuration>
                                    <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
                                    <systemProperties>
                                        <systemProperty>
                                            <key>gen_version</key>
                                            <value>${gendoc.version}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>gen_type</key>
                                            <value>YAML</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>yamlresponses_url</key>
                                            <value>https://wiki.web.att.com/pages/viewpage.action?pageId=607391054
                                            </value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>yamlresponses_label</key>
                                            <value>Response codes found in [response codes]</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.configuration.location</key>
                                            <value>${schema.configuration.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.nodes.location</key>
                                            <value>${schema.nodes.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.edges.location</key>
                                            <value>${schema.edges.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.list</key>
                                            <value>${schema.version.list}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.depth.start</key>
                                            <value>${schema.version.depth.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.depth.start</key>
                                            <value>${schema.version.depth.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.related.link.start</key>
                                            <value>${schema.version.related.link.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.app.root.start</key>
                                            <value>${schema.version.app.root.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.edge.label.start</key>
                                            <value>${schema.version.app.root.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.namespace.change.start</key>
                                            <value>${schema.version.namespace.change.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.api.default</key>
                                            <value>${schema.version.api.default}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.uri.base.path</key>
                                            <value>${schema.uri.base.path}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>aai.release</key>
                                            <value>${aai.release}</value>
                                        </systemProperty>
                                    </systemProperties>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>generateHtml</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <version>1.1.1</version>
                        <executions>
                            <execution>
                                <phase>process-classes</phase>
                                <goals>
                                    <goal>java</goal>
                                </goals>
                                <configuration>
                                    <mainClass>org.onap.aai.util.swagger.GenerateSwagger</mainClass>
                                    <systemProperties>
                                        <property>
                                            <key>aai.generate.version</key>
                                            <value>${gendoc.version}</value>
                                        </property>
                                        <property>
                                            <key>aai.wiki.link</key>
                                            <value>${aai.wiki.link}</value>
                                        </property>
                                        <systemProperty>
                                            <key>schema.configuration.location</key>
                                            <value>${schema.configuration.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.nodes.location</key>
                                            <value>${schema.nodes.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.edges.location</key>
                                            <value>${schema.edges.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.list</key>
                                            <value>${schema.version.list}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.depth.start</key>
                                            <value>${schema.version.depth.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.depth.start</key>
                                            <value>${schema.version.depth.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.related.link.start</key>
                                            <value>${schema.version.related.link.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.app.root.start</key>
                                            <value>${schema.version.app.root.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.edge.label.start</key>
                                            <value>${schema.version.app.root.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.namespace.change.start</key>
                                            <value>${schema.version.namespace.change.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.api.default</key>
                                            <value>${schema.version.api.default}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.uri.base.path</key>
                                            <value>${schema.uri.base.path}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>aai.release</key>
                                            <value>${aai.release}</value>
                                        </systemProperty>
                                    </systemProperties>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>autoGenerate</id>
            <activation>
                <property>
                    <name>aai.generate.schema</name>
                    <value>!false</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <version>1.1.1</version>
                        <executions>
                            <execution>
                                <id>autoGenerateXsd</id>
                                <phase>process-classes</phase>
                                <goals>
                                    <goal>java</goal>
                                </goals>
                                <configuration>
                                    <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
                                    <systemProperties>
                                        <systemProperty>
                                            <key>gen_version</key>
                                            <value>ALL</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>gen_type</key>
                                            <value>XSD</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>yamlresponses_url</key>
                                            <value></value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>yamlresponses_label</key>
                                            <value></value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.configuration.location</key>
                                            <value>${schema.configuration.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.nodes.location</key>
                                            <value>${schema.nodes.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.edges.location</key>
                                            <value>${schema.edges.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.list</key>
                                            <value>${schema.version.list}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.depth.start</key>
                                            <value>${schema.version.depth.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.depth.start</key>
                                            <value>${schema.version.depth.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.related.link.start</key>
                                            <value>${schema.version.related.link.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.app.root.start</key>
                                            <value>${schema.version.app.root.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.edge.label.start</key>
                                            <value>${schema.version.app.root.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.namespace.change.start</key>
                                            <value>${schema.version.namespace.change.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.api.default</key>
                                            <value>${schema.version.api.default}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.uri.base.path</key>
                                            <value>${schema.uri.base.path}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>aai.release</key>
                                            <value>${aai.release}</value>
                                        </systemProperty>
                                    </systemProperties>
                                </configuration>
                            </execution>
                            <execution>
                                <id>autoGenerateYaml</id>
                                <phase>process-classes</phase>
                                <goals>
                                    <goal>java</goal>
                                </goals>
                                <configuration>
                                    <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
                                    <systemProperties>
                                        <systemProperty>
                                            <key>gen_version</key>
                                            <value>ALL</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>gen_type</key>
                                            <value>YAML</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>yamlresponses_url</key>
                                            <value>https://wiki.web.att.com/pages/viewpage.action?pageId=607391054
                                            </value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>yamlresponses_label</key>
                                            <value>Response codes found in [response codes]</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.configuration.location</key>
                                            <value>${schema.configuration.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.nodes.location</key>
                                            <value>${schema.nodes.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.edges.location</key>
                                            <value>${schema.edges.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.list</key>
                                            <value>${schema.version.list}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.depth.start</key>
                                            <value>${schema.version.depth.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.depth.start</key>
                                            <value>${schema.version.depth.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.related.link.start</key>
                                            <value>${schema.version.related.link.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.app.root.start</key>
                                            <value>${schema.version.app.root.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.edge.label.start</key>
                                            <value>${schema.version.app.root.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.namespace.change.start</key>
                                            <value>${schema.version.namespace.change.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.api.default</key>
                                            <value>${schema.version.api.default}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>aai.release</key>
                                            <value>${aai.release}</value>
                                        </systemProperty>
                                    </systemProperties>
                                </configuration>
                            </execution>
                            <execution>
                                <id>autoGenerateHtml</id>
                                <phase>process-classes</phase>
                                <goals>
                                    <goal>java</goal>
                                </goals>
                                <configuration>
                                    <mainClass>org.onap.aai.util.AutoGenerateHtml</mainClass>
                                    <systemProperties>
                                        <property>
                                            <key>aai.generate.version</key>
                                            <value>${gendoc.version}</value>
                                        </property>
                                        <property>
                                            <key>aai.wiki.link</key>
                                            <value>${aai.wiki.link}</value>
                                        </property>
                                        <systemProperty>
                                            <key>schema.configuration.location</key>
                                            <value>${schema.configuration.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.nodes.location</key>
                                            <value>${schema.nodes.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.edges.location</key>
                                            <value>${schema.edges.location}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.list</key>
                                            <value>${schema.version.list}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.depth.start</key>
                                            <value>${schema.version.depth.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.depth.start</key>
                                            <value>${schema.version.depth.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.related.link.start</key>
                                            <value>${schema.version.related.link.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.app.root.start</key>
                                            <value>${schema.version.app.root.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.edge.label.start</key>
                                            <value>${schema.version.app.root.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.namespace.change.start</key>
                                            <value>${schema.version.namespace.change.start}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>schema.version.api.default</key>
                                            <value>${schema.version.api.default}</value>
                                        </systemProperty>
                                        <systemProperty>
                                            <key>aai.release</key>
                                            <value>${aai.release}</value>
                                        </systemProperty>
                                    </systemProperties>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.12.4</version>
                <configuration>
                    <argLine>-noverify ${argLine}</argLine>
                    <systemPropertyVariables>
                        <AJSC_HOME>.</AJSC_HOME>
                        <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
                    </systemPropertyVariables>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>sonar-maven-plugin</artifactId>
                <version>3.2</version>
            </plugin>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <version>0.7.7.201606060606</version>
                <configuration>
                    <dumpOnExit>true</dumpOnExit>
                </configuration>
                <executions>
                    <execution>
                        <id>jacoco-initialize-unit-tests</id>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                        <configuration>
                            <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
                            <!-- <append>true</append> -->
                        </configuration>
                    </execution>
                    <execution>
                        <id>post-unit-test</id>
                        <phase>test</phase>
                        <goals>
                            <goal>report</goal>
                        </goals>
                        <configuration>
                            <!-- Sets the path to the file which contains the execution data. -->
                            <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
                            <!-- Sets the output directory for the code coverage report. -->
                            <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
                        </configuration>
                    </execution>
                    <execution>
                        <id>default-check</id>
                        <goals>
                            <goal>check</goal>
                        </goals>
                        <configuration>
                            <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
                            <rules>
                                <rule implementation="org.jacoco.maven.RuleConfiguration">
                                    <element>BUNDLE</element>
                                    <limits>
                                        <limit implementation="org.jacoco.report.check.Limit">
                                            <counter>LINE</counter>
                                            <value>COVEREDRATIO</value>
                                            <minimum>${jacoco.line.coverage.limit}</minimum>
                                        </limit>
                                    </limits>
                                </rule>
                            </rules>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <!-- explicitly define maven-deploy-plugin after other to force exec order -->
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-deploy-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.sonatype.plugins</groupId>
                <artifactId>nexus-staging-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.onap.aai.aai-common</groupId>
            <artifactId>aai-schema-ingest</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.onap.aai.aai-common</groupId>
            <artifactId>aai-annotations</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.6</version>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-text</artifactId>
            <version>1.1</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>com.att.eelf</groupId>
            <artifactId>eelf-core</artifactId>
            <version>${eelf.core.version}</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.jackson</groupId>
            <artifactId>jackson-core-asl</artifactId>
            <version>1.9.13</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.jackson</groupId>
            <artifactId>jackson-mapper-asl</artifactId>
            <version>1.9.13</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-junit</artifactId>
            <version>2.0.0.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-core</artifactId>
            <version>1.3</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>1.10.19</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-module-junit4</artifactId>
            <version>1.6.2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-api-mockito</artifactId>
            <version>1.6.2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>19.0</version>
        </dependency>
        <dependency>
            <groupId>org.janusgraph</groupId>
            <artifactId>janusgraph-core</artifactId>
            <version>0.2.0</version>
            <exclusions>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-log4j12</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>dom4j</groupId>
                    <artifactId>dom4j</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.jaxrs</groupId>
            <artifactId>jackson-jaxrs-json-provider</artifactId>
            <version>${jackson.version}</version>
        </dependency>
        <dependency>
            <groupId>com.googlecode.json-simple</groupId>
            <artifactId>json-simple</artifactId>
            <version>1.1.1</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <version>4.3.18.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>4.3.18.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
            <version>2.2.11</version>
        </dependency>
        <dependency>
            <groupId>org.eclipse.persistence</groupId>
            <artifactId>eclipselink</artifactId>
            <version>2.6.2</version>
        </dependency>
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <version>2.7</version>
        </dependency>
        <dependency>
            <groupId>com.jayway.jsonpath</groupId>
            <artifactId>json-path</artifactId>
            <version>2.2.0</version>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-util</artifactId>
            <version>${jetty.version}</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.module</groupId>
            <artifactId>jackson-module-jaxb-annotations</artifactId>
            <version>${jackson.version}</version>
        </dependency>
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-core</artifactId>
            <version>1.18</version>
        </dependency>
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-client</artifactId>
            <version>1.18</version>
        </dependency>
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-json</artifactId>
            <version>1.18</version>
        </dependency>
        <dependency>
            <groupId>javax.ws.rs</groupId>
            <artifactId>javax.ws.rs-api</artifactId>
            <version>2.0.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tinkerpop</groupId>
            <artifactId>gremlin-core</artifactId>
            <version>${gremlin.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tinkerpop</groupId>
            <artifactId>tinkergraph-gremlin</artifactId>
            <version>${gremlin.version}</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.5</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-annotations</artifactId>
            <version>${jackson.version}</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.dataformat</groupId>
            <artifactId>jackson-dataformat-yaml</artifactId>
            <version>${jackson.version}</version>
        </dependency>
        <dependency>
            <groupId>xml-apis</groupId>
            <artifactId>xml-apis</artifactId>
            <version>1.0.b2</version>
        </dependency>
        <dependency>
            <groupId>commons-cli</groupId>
            <artifactId>commons-cli</artifactId>
            <version>1.3</version>
        </dependency>
        <dependency>
            <groupId>com.beust</groupId>
            <artifactId>jcommander</artifactId>
            <version>1.48</version>
        </dependency>
        <dependency>
            <groupId>org.json</groupId>
            <artifactId>json</artifactId>
            <version>20160810</version>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.bazaarvoice.jolt</groupId>
            <artifactId>jolt-complete</artifactId>
            <version>0.0.24</version>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-core</artifactId>
            <version>${logback.version}</version>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <version>${logback.version}</version>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-access</artifactId>
            <version>${logback.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activemq-broker</artifactId>
            <version>${activemq.version}</version>
        </dependency>
        <dependency>
            <groupId>com.opencsv</groupId>
            <artifactId>opencsv</artifactId>
            <version>3.1</version>
        </dependency>
        <dependency>
            <groupId>org.freemarker</groupId>
            <artifactId>freemarker</artifactId>
            <version>${freemarker.version}</version>
        </dependency>
        <dependency>
            <groupId>com.github.fge</groupId>
            <artifactId>json-patch</artifactId>
            <version>1.9</version>
        </dependency>
	<dependency>
	  <groupId>org.codehaus.groovy</groupId>
	  <artifactId>groovy</artifactId>
	  <version>${groovy.version}</version>
	  <classifier>indy</classifier>
	</dependency>
         <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>4.3.18.RELEASE</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-test</artifactId>
            <version>1.5.1.RELEASE</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-module-javaagent</artifactId>
            <version>1.6.2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.skyscreamer</groupId>
            <artifactId>jsonassert</artifactId>
            <version>1.4.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>${httpclient.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tinkerpop</groupId>
            <artifactId>gremlin-groovy</artifactId>
            <version>${gremlin.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>org.codehaus.groovy</groupId>
                    <artifactId>groovy</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jms</artifactId>
            <version>4.3.18.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-core</artifactId>
            <version>2.8.11</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
            <version>2.8.11</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-annotations</artifactId>
            <version>2.8.11</version>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot</artifactId>
            <version>1.5.15.RELEASE</version>
            <scope>compile</scope>
        </dependency>
    </dependencies>

    <!-- Plugins and repositories -->
    <pluginRepositories>
        <pluginRepository>
            <id>central</id>
            <url>http://repo1.maven.org/maven2</url>
        </pluginRepository>
        <pluginRepository>
            <id>EvoSuite</id>
            <name>EvoSuite Repository</name>
            <url>http://www.evosuite.org/m2</url>
        </pluginRepository>
    </pluginRepositories>

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.10.4</version>
                <configuration>
                    <failOnError>false</failOnError>
                    <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
                    <docletArtifact>
                        <groupId>org.umlgraph</groupId>
                        <artifactId>umlgraph</artifactId>
                        <version>5.6</version>
                    </docletArtifact>
                    <additionalparam>-views</additionalparam>
                    <useStandardDocletOptions>true</useStandardDocletOptions>
                </configuration>
            </plugin>
        </plugins>
    </reporting>
</project>