<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.kaazing</groupId>
    <artifactId>gateway</artifactId>
    <version>5.2.2</version>
    <relativePath>../../pom.xml</relativePath>
  </parent>
  <artifactId>gateway.service.turn.rest</artifactId>
  <name>TURN REST Service</name>
  <description></description>

  <url>https://github.com/kaazing/gateway.service.turn.rest.git</url>
  <scm>
    <connection>scm:git:${project.scm.url}</connection>
    <developerConnection>scm:git:${project.scm.url}</developerConnection>
    <url>git@github.com:kaazing/gateway.service.turn.rest.git</url>
  </scm>

  <dependencies>
    <dependency>
      <groupId>org.kaazing</groupId>
      <artifactId>gateway.service</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.kaazing</groupId>
      <artifactId>gateway.transport.http</artifactId>
      <version>${project.version}</version>
    </dependency>

    <!-- test scoped dependencies -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.kaazing</groupId>
      <artifactId>test.util</artifactId>
      <version>${project.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.kaazing</groupId>
      <artifactId>gateway.server</artifactId>
      <version>${project.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jmock</groupId>
      <artifactId>jmock-junit4</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.kaazing</groupId>
      <artifactId>gateway.test.ca</artifactId>
      <version>1.0.0.24</version>
      <classifier>keystore</classifier>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.kaazing</groupId>
        <artifactId>k3po-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-failsafe-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <argLine>${surefireArgLine}</argLine>
          <skipTests>${skipTests}</skipTests>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.8</version>
        <executions>
          <execution>
            <id>unpack-truststore</id>
            <phase>generate-resources</phase>
            <goals>
                <goal>unpack-dependencies</goal>
            </goals>
            <configuration>
                <includeArtifactIds>gateway.test.ca</includeArtifactIds>
                <outputDirectory>${basedir}/target/truststore</outputDirectory>
            </configuration>
           </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${javadoc.plugin.version}</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <phase>process-resources</phase>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <attach>true</attach>
              <includeDependencySources>false</includeDependencySources>
              <sourcepath>src/main/java/org/kaazing/gateway/service/turn/rest</sourcepath>
              <windowtitle>All Classes - API Documentation</windowtitle>
              <doctitle>"All Classes - API Documentation"</doctitle>
              <bottom>
                <![CDATA[Copyright &copy; 2014-2016 Kaazing Licensed under Apache 2.0.]]>
              </bottom>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>
