<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://mapven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

  <modelVersion>4.0.0</modelVersion>
  <groupId>com.amazonaws</groupId>
  <artifactId>aws-xray-recorder-sdk-pom</artifactId>
  <version>1.0.3-beta</version>
  <packaging>pom</packaging>
  <name>AWS X-Ray Recorder SDK for Java</name>
  <description>The Amazon Web Services X-Ray Recorder SDK for Java provides Java APIs for emitting tracing data to AWS X-Ray. AWS X-Ray helps developers analyze and debug distributed applications. With X-Ray, you can understand how your application and its underlying services are performing to identify and troubleshoot the root cause of performance issues and errors.</description>
  <url>https://aws.amazon.com/documentation/xray/</url>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>https://aws.amazon.com/apache2.0</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>amazonwebservices</id>
      <organization>Amazon Web Services</organization>
      <organizationUrl>https://aws.amazon.com</organizationUrl>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
  </developers>
  <scm><url></url></scm>
  <modules>
      <module>aws-xray-recorder-sdk-apache-http</module>
      <module>aws-xray-recorder-sdk-aws-sdk</module>
      <module>aws-xray-recorder-sdk-aws-sdk-instrumentor</module>
      <module>aws-xray-recorder-sdk-bom</module>
      <module>aws-xray-recorder-sdk-core</module>
      <module>aws-xray-recorder-sdk-sql-mysql</module>
      <module>aws-xray-recorder-sdk-sql-postgres</module>
  </modules>
  <distributionManagement>
    <repository>
      <id>sonatype-nexus-staging</id>
      <name>staging-repo</name>
      <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
    </repository>
  </distributionManagement>
  <properties>
    <awsxrayrecordersdk.version>1.0.3-beta</awsxrayrecordersdk.version>
  </properties>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.5.1</version>
        <configuration>
          <source>8</source>
          <target>8</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>properties-maven-plugin</artifactId>
        <version>1.0.0</version>
        <executions>
          <execution>
            <phase>generate-resources</phase>
            <goals>
              <goal>write-project-properties</goal>
            </goals>
            <configuration>
              <outputFile>${project.build.outputDirectory}/com/amazonaws/xray/sdk.properties</outputFile>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.3</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>1.6</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.0.1</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <excludes>
            <exclude>**/*</exclude>
          </excludes>
          <excludeResources>true</excludeResources>
          <forceCreation>true</forceCreation>
        </configuration>
      </plugin>
      <plugin>
      <artifactId>maven-javadoc-plugin</artifactId>
      <version>2.10.4</version>
      <executions>
        <execution>
          <id>javadoc-jar</id>
          <phase>package</phase>
          <goals>
            <goal>jar</goal>
          </goals>
        </execution>
      </executions>
      <configuration>
        <minmemory>128m</minmemory>
        <maxmemory>2g</maxmemory>
        <includeDependencySources>false</includeDependencySources>
        <show>public</show>
        <defaultexcludes>yes</defaultexcludes>
        <author>false</author>
        <version>true</version>
        <use>false</use>
        <notree>true</notree>
        <nodeprecatedlist>true</nodeprecatedlist>
        <windowtitle>AWS XRay Recorder SDK for Java - ${project.version}</windowtitle>
        <encoding>UTF-8</encoding>
        <docencoding>UTF-8</docencoding>
        <doctitle>AWS XRay Recorder SDK for Java API Reference - ${project.version}</doctitle>
        <packagesheader>AWS XRay Recorder SDK for Java</packagesheader>
        <!-- Required for src/main/javadoc/resources/ to be copied over correctly -->
        <docfilessubdirs>true</docfilessubdirs>
        <taglets>
        </taglets>
        <groups>
          <group>
            <title>AWS X-Ray Recorder Core</title>
            <packages>com.amazonaws.xray*</packages>
          </group>
          <group>
            <title>Segment Emitting Servlet Filter</title>
            <packages>com.amazonaws.xray.javax.servlet</packages>
          </group>
          <group>
            <title>Apache HTTP Plugin</title>
            <packages>com.amazonaws.xray.proxies.apache.http</packages>
          </group>
          <group>
            <title>AWS Runtime Plugins</title>
            <packages>com.amazonaws.xray.plugins</packages>
          </group>
          <group>
            <title>AWS SDK Interceptor</title>
            <packages>com.amazonaws.xray.handlers*</packages>
          </group>
          <group>
            <title>MySQL Interceptor</title>
            <packages>com.amazonaws.xray.sql.mysql</packages>
          </group>
          <group>
            <title>Postgres Interceptor</title>
            <packages>com.amazonaws.xray.sql.postgres</packages>
          </group>
        </groups>
        <header>
        <![CDATA[
        <!-- Scripts for Syntax Highlighter START-->
        <script id="syntaxhighlight_script_core" type="text/javascript" src = "http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/resources/syntaxhighlight/scripts/shCore.js">
        </script>
        <script id="syntaxhighlight_script_java" type="text/javascript" src = "http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/resources/syntaxhighlight/scripts/shBrushJava.js">
        </script>
        <link id="syntaxhighlight_css_core" rel="stylesheet" type="text/css" href = "http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/resources/syntaxhighlight/styles/shCoreDefault.css"/>
        <link id="syntaxhighlight_css_theme" rel="stylesheet" type="text/css" href = "http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/resources/syntaxhighlight/styles/shThemeDefault.css"/>
        <!-- Scripts for Syntax Highlighter END-->
        <div>
          <!-- BEGIN-SECTION -->
          <div id="divsearch" style="float:left;">
            <span id="lblsearch" for="searchQuery">
              <label>Search</label>
            </span>

            <form id="nav-search-form" target="_parent" method="get" action="http://docs.aws.amazon.com/search/doc-search.html#facet_doc_guide=API+Reference&facet_doc_product=AWS+SDK+for+Java">
              <div id="nav-searchfield-outer" class="nav-sprite">
                <div class="nav-searchfield-inner nav-sprite">
                  <div id="nav-searchfield-width">
                    <input id="nav-searchfield" name="searchQuery">
                    </div>
                  </div>
                </div>
                <div id="nav-search-button" class="nav-sprite">
                  <button type="submit" style="border: 0;background: transparent;padding: 0;">
                    <img src="http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/resources/search-button.png" width="40" height="37" alt="submit">
                  </button>
                </div>
                  <input name="searchPath" type="hidden" value="documentation-guide" />
                  <input name="this_doc_product" type="hidden" value="AWS SDK for Java" />
                  <input name="this_doc_guide" type="hidden" value="API Reference" />
                  <input name="doc_locale" type="hidden" value="en_us" />
                </form>
              </div>
              <!-- END-SECTION -->

              <!-- BEGIN-FEEDBACK-SECTION -->
              <div id="feedback-section">
                <h3>Did this page help you?</h3>
                <div id="feedback-link-sectioin">
                  <a id="feedback_yes" target="_blank" style="display:inline;">Yes</a>&nbsp;&nbsp;
                  <a id="feedback_no" target="_blank" style="display:inline;">No</a>&nbsp;&nbsp;
                  <a id="go_cti" target="_blank" style="display:inline;">Tell us about it...</a>
                </div>

              </div>
              <script type="text/javascript">
                window.onload = function(){
                /* Dynamically add feedback links */
                var javadoc_root_name = "/javadoc/";
                var javadoc_path = location.href.substring(0, location.href.lastIndexOf(javadoc_root_name) + javadoc_root_name.length);
                var file_path = location.href.substring(location.href.lastIndexOf(javadoc_root_name) + javadoc_root_name.length);

                var feedback_yes_url = javadoc_path + "javadoc-resources/feedbackyes.html?topic_id=";
                var feedback_no_url = javadoc_path + "javadoc-resources/feedbackno.html?topic_id=";
                var feedback_tellmore_url = "https://aws-portal.amazon.com/gp/aws/html-forms-controller/documentation/aws_doc_feedback_04?service_name=Java-Ref&file_name=";

                if(file_path != "overview-frame.html") {
                var file_name = file_path.replace(/[/.]/g, '_');
                document.getElementById("feedback_yes").setAttribute("href", feedback_yes_url + file_name);
                document.getElementById("feedback_no").setAttribute("href", feedback_no_url + file_name);
                document.getElementById("go_cti").setAttribute("href", feedback_tellmore_url + file_name);
                } else {
                document.getElementById("feedback-section").outerHTML = "AWS SDK for Java";
                document.getElementById("divsearch").outerHTML = "";
                }
                };
              </script>
              <!-- END-FEEDBACK-SECTION -->

            </div>
            ]]>
        </header>
        <footer>
        <![CDATA[
        <div>
          <!-- Script for Syntax Highlighter START -->
          <script type="text/javascript">
            SyntaxHighlighter.all()
          </script>
          <!-- Script for Syntax Highlighter END -->
        </div>
        ]]>
        &lt;script src="http://a0.awsstatic.com/chrome/js/1.0.46/jquery.1.9.js" type="text/javascript">&lt;/script>
        &lt;script>
        jQuery(function ($) {
        $("div.header").prepend('&lt;!--REGION_DISCLAIMER_DO_NOT_REMOVE-->');
        });
        &lt;/script>
        &lt;!-- BEGIN-URCHIN-TRACKER -->
        &lt;script src="http://l0.awsstatic.com/js/urchin.js" type="text/javascript">&lt;/script>
        &lt;script type="text/javascript">urchinTracker();&lt;/script>
        &lt;!-- END-URCHIN-TRACKER -->

        &lt;!-- SiteCatalyst code version: H.25.2. Copyright 1996-2012 Adobe, Inc. All Rights Reserved.
        More info available at http://www.omniture.com -->
        &lt;script type="text/javascript" src="https://media.amazonwebservices.com/js/sitecatalyst/s_code.min.js" />
        &lt;script type="text/javascript">
        s.prop66='AWS SDK for Java';
        s.eVar66='D=c66';
        s.prop65='API Reference';
        s.eVar65='D=c65';
        var s_code=s.t();
        if (s_code) document.write(s_code);
        &lt;/script>
        &lt;script language="JavaScript" type="text/javascript">
        &lt;!--if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
        //-->
        &lt;/script>
        &lt;noscript>
        &lt;img src="http://amazonwebservices.d2.sc.omtrdc.net/b/ss/awsamazondev/1/H.25.2--NS/0" height="1" width="1" border="0" alt="" />
        &lt;/noscript>
        &lt;!--/DO NOT REMOVE/-->
        &lt;!-- End SiteCatalyst code version: H.25.2. -->
        </footer>
        <bottom><![CDATA[Copyright &#169; 2013 Amazon Web Services, Inc. All Rights Reserved.]]></bottom>
      </configuration>
      </plugin>
    </plugins>
  </build>
</project>
