<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">
<properties>
        <scala.version>2.10.0</scala.version>
</properties>

<modelVersion>4.0.0</modelVersion>
<groupId>org.sedis</groupId>
<artifactId>sedis_2.10</artifactId>
<packaging>jar</packaging>
<version>1.2.2</version>
<name>Sedis for Scala ${scala.version}</name>
<description>a thin scala wrapper for jedis</description>

<licenses>
  <license>
    <name>MIT</name>
    <url>https://spdx.org/licenses/MIT</url>
    <distribution>repo</distribution>
  </license>
</licenses>
<url>https://github.com/pk11/sedis</url>
<scm>
  <connection>scm:git:github.com/pk11/sedis.git</connection>
  <developerConnection>scm:git:git@github.com:pk11/sedis.git</developerConnection>
  <url>https://github.com/pk11/sedis</url>
</scm>
<developers>
  <developer>
    <id>pk11</id>
    <name>Peter Hausel</name>
    <url>https://github.com/pk11</url>
  </developer>
</developers>

<dependencies>
  <dependency>
      <groupId>redis.clients</groupId>
      <artifactId>jedis</artifactId>
      <version>2.4.2</version>
      <type>jar</type>
      <scope>compile</scope>
  </dependency>
  <dependency>
      <groupId>org.scalatest</groupId>
      <artifactId>scalatest_${scala.version}</artifactId>
      <version>1.8</version>
      <scope>test</scope>
    </dependency>
</dependencies>

<repositories>
    <repository>
        <id>repo.codahale.com</id>
        <url>http://repo.codahale.com</url>
    </repository>
</repositories>

<build>
<plugins>
      <plugin>
                <groupId>net.alchim31.maven</groupId>
                <artifactId>scala-maven-plugin</artifactId>
                <version>3.1.1</version>

                <executions>
                    <execution>
                        <id>scala-compile-first</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>add-source</goal>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <jvmArgs>
                        <jvmArg>-Xmx1g</jvmArg>
                    </jvmArgs>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.5.1</version>
                <configuration>
                    <source>1.7</source>
                    <target>1.7</target>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <version>2.8.1</version>
              <configuration>
                <useFile>false</useFile>
                <useSystemClassLoader>false</useSystemClassLoader>
                <argLine>-Xmx1024m</argLine>
                <includes>
                  <include>**/*Spec.java</include>
                </includes>
                <excludes>
                  <exclude>**/*Test.java</exclude>
                </excludes>
              </configuration>
            </plugin>
</plugins>
</build>

</project>
