<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright Matthias Weßendorf.

  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.
-->
<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">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>9</version>
  </parent>

  <groupId>net.wessendorf.websocket</groupId>
  <artifactId>simple-client</artifactId>
  <packaging>jar</packaging>
  <version>0.3.0</version>
  <name>simple-client</name>
  <description>A simple WebSocket Java client based on JSR 356</description>

  <scm>
    <connection>scm:git:git://github.com/matzew/simple-websocket-client.git</connection>
    <developerConnection>scm:git:git@github.com:matzew/simple-websocket-client.git</developerConnection>
    <url>https://github.com/matzew/simple-websocket-client</url>
    <tag>HEAD</tag>
  </scm>  

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <developers>
    <developer>
      <id>matzew</id>
      <name>Matthias Wessendorf</name>
    </developer>
  </developers>   

  <dependencies>
    <!--dependency>
      <groupId>io.undertow</groupId>
      <artifactId>undertow-websockets-jsr</artifactId>
      <version>${undertow.version}</version>
    </dependency-->
      <dependency>
          <groupId>javax.websocket</groupId>
          <artifactId>javax.websocket-client-api</artifactId>
          <version>1.0</version>
      </dependency>
      <dependency>
          <groupId>org.glassfish.tyrus</groupId>
          <artifactId>tyrus-client</artifactId>
          <version>${tyrus.version}</version>
      </dependency>
      <dependency>
          <groupId>org.glassfish.tyrus</groupId>
          <artifactId>tyrus-container-grizzly-client</artifactId>
          <version>${tyrus.version}</version>
      </dependency>

      <!-- all the test things -->
      <dependency>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
          <version>4.11</version>
          <scope>test</scope>
      </dependency>
      <dependency>
          <groupId>org.assertj</groupId>
          <artifactId>assertj-core</artifactId>
          <version>1.5.0</version>
          <scope>test</scope>
      </dependency>
      <dependency>
          <groupId>io.undertow</groupId>
          <artifactId>undertow-core</artifactId>
          <version>${undertow.version}</version>
          <scope>test</scope>
      </dependency>
      <dependency>
          <groupId>io.undertow</groupId>
          <artifactId>undertow-websockets-jsr</artifactId>
          <version>${undertow.version}</version>
          <scope>test</scope>
      </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.0</version>
        <configuration>
          <source>1.7</source>
          <target>1.7</target>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <properties>
      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
      <undertow.version>1.0.8.Final</undertow.version>
      <tyrus.version>1.5</tyrus.version>
  </properties>

</project>
