Created
May 16, 2010 07:23
-
-
Save ussy/402735 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> | |
<groupId>example</groupId> | |
<artifactId>example</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>Example</name> | |
<properties> | |
<scala.version>2.8.0.RC2</scala.version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<repositories> | |
<repository> | |
<id>maven2-repository.dev.java.net</id> | |
<name>Java.net Repository for Maven</name> | |
<url>http://download.java.net/maven/2/</url> | |
</repository> | |
<repository> | |
<id>scala-tools.org</id> | |
<name>Scala-Tools Maven2 Repository</name> | |
<url>http://scala-tools.org/repo-releases</url> | |
</repository> | |
<repository> | |
<id>snapshot.scala-tools.org</id> | |
<name>Scala-Tools Maven2 Snapshot Repository</name> | |
<url>http://scala-tools.org/repo-snapshots</url> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>scala-tools.org</id> | |
<name>Scala-Tools Maven2 Repository</name> | |
<url>http://scala-tools.org/repo-releases</url> | |
</pluginRepository> | |
</pluginRepositories> | |
<dependencies> | |
<dependency> | |
<groupId>org.scala-lang</groupId> | |
<artifactId>scala-library</artifactId> | |
<version>${scala.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.7</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.scala-lang</groupId> | |
<artifactId>scala-compiler</artifactId> | |
<version>${scala.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.scalatest</groupId> | |
<artifactId>scalatest</artifactId> | |
<version>1.2-for-scala-2.8.0.RC2-SNAPSHOT</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<sourceDirectory>src/main/scala</sourceDirectory> | |
<testSourceDirectory>src/test/scala</testSourceDirectory> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
<source>1.6</source> | |
<target>1.6</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-eclipse-plugin</artifactId> | |
<configuration> | |
<wtpversion>2.0</wtpversion> | |
<downloadSources>true</downloadSources> | |
<downloadJavadocs>true</downloadJavadocs> | |
<additionalConfig> | |
<file> | |
<name> | |
.settings/org.eclipse.core.resources.prefs | |
</name> | |
<content> | |
<![CDATA[ | |
eclipse.preferences.version=1 | |
encoding/<project>=UTF-8 | |
]]> | |
</content> | |
</file> | |
<file> | |
<name> | |
.settings/org.eclipse.core.runtime.prefs | |
</name> | |
<content> | |
<![CDATA[ | |
eclipse.preferences.version=1 | |
line.separator=\n | |
]]> | |
</content> | |
</file> | |
</additionalConfig> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>com.googlecode.maven-overview-plugin</groupId> | |
<artifactId>maven-overview-plugin</artifactId> | |
<version>RELEASE</version> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>org.scala-tools</groupId> | |
<artifactId>maven-scala-plugin</artifactId> | |
<executions> | |
<execution> | |
<goals> | |
<goal>compile</goal> | |
<goal>testCompile</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<scalaVersion>${scala.version}</scalaVersion> | |
<jvmArgs> | |
<jvmArg>-Xmx512m</jvmArg> | |
</jvmArgs> | |
<args> | |
<arg>-unchecked</arg> | |
<arg>-deprecation</arg> | |
</args> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<reporting> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<configuration> | |
<useFile>false</useFile> | |
<includes> | |
<include>**/*Spec.class</include> | |
</includes> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>com.googlecode.maven-overview-plugin</groupId> | |
<artifactId>maven-overview-plugin</artifactId> | |
<version>RELEASE</version> | |
</plugin> | |
</plugins> | |
</reporting> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment