184 lines
5.4 KiB
XML
184 lines
5.4 KiB
XML
<?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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<name>Zappy</name>
|
|
<artifactId>zappy</artifactId>
|
|
<groupId>dstu.zappy</groupId>
|
|
<version>1.0.0</version>
|
|
<inceptionYear>2012</inceptionYear>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.plugin.version>2.3.2</maven.compiler.plugin.version>
|
|
<maven.scala.plugin.version>2.14.1</maven.scala.plugin.version>
|
|
<maven.surefire.plugin.version>2.12</maven.surefire.plugin.version>
|
|
<maven.assembly.plugin.version>2.3</maven.assembly.plugin.version>
|
|
<maven.compiler.source>1.6</maven.compiler.source>
|
|
<maven.compiler.target>1.6</maven.compiler.target>
|
|
|
|
<scala.version>2.9.2</scala.version>
|
|
|
|
<junit.version>4.10</junit.version>
|
|
<scalatest.version>1.7.2</scalatest.version>
|
|
|
|
<guava.version>11.0.2</guava.version>
|
|
<jersey.version>1.12</jersey.version>
|
|
<jackson.version>2.1.0</jackson.version>
|
|
<jacks.version>2.0.1</jacks.version>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>Sonatype Scala</id>
|
|
<name>Sonatype scala-tools</name>
|
|
<url>https://oss.sonatype.org/content/groups/scala-tools/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>Sonatype Scala</id>
|
|
<name>Sonatype scala-tools</name>
|
|
<url>https://oss.sonatype.org/content/groups/scala-tools/</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<dependencies>
|
|
<!-- scala -->
|
|
<dependency>
|
|
<groupId>org.scala-lang</groupId>
|
|
<artifactId>scala-library</artifactId>
|
|
<version>${scala.version}</version>
|
|
</dependency>
|
|
<!-- testing -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.scalatest</groupId>
|
|
<artifactId>scalatest_${scala.version}</artifactId>
|
|
<version>${scalatest.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- guava -->
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>${guava.version}</version>
|
|
</dependency>
|
|
<!-- jersey -->
|
|
<dependency>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-client</artifactId>
|
|
<version>${jersey.version}</version>
|
|
</dependency>
|
|
<!-- json (jacks via jackson) -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.lambdaworks</groupId>
|
|
<artifactId>jacks</artifactId>
|
|
<version>${jacks.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<sourceDirectory>src/main/scala</sourceDirectory>
|
|
<testSourceDirectory>src/test/scala</testSourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven.compiler.plugin.version}</version>
|
|
<configuration>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.scala-tools</groupId>
|
|
<artifactId>maven-scala-plugin</artifactId>
|
|
<version>${maven.scala.plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
<goal>testCompile</goal>
|
|
</goals>
|
|
<configuration>
|
|
<args>
|
|
<arg>-make:transitive</arg>
|
|
<arg>-deprecation</arg>
|
|
<arg>-dependencyfile</arg>
|
|
<arg>${project.build.directory}/.scala_dependencies</arg>
|
|
</args>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven.surefire.plugin.version}</version>
|
|
<configuration>
|
|
<useFile>false</useFile>
|
|
<disableXmlReport>false</disableXmlReport>
|
|
<includes>
|
|
<include>**/*Test.*</include>
|
|
<include>**/*Suite.*</include>
|
|
</includes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>${maven.assembly.plugin.version}</version>
|
|
<configuration>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id> <!-- this is used for inheritance merges -->
|
|
<phase>package</phase> <!-- bind to the packaging phase -->
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.scala-tools</groupId>
|
|
<artifactId>maven-scala-plugin</artifactId>
|
|
<version>${maven.scala.plugin.version}</version>
|
|
<configuration>
|
|
<scalaVersion>${scala.version}</scalaVersion>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>GNU General Public License</name>
|
|
<url>http://www.gnu.org/licenses/gpl.html</url>
|
|
<distribution>repo</distribution>
|
|
<comments>GPL v3</comments>
|
|
</license>
|
|
</licenses>
|
|
</project>
|