forked from jwebb/optional
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
out-paulp-ing paulp by compiling under 2.8 and without warnings; adde…
…d pom.xml
- Loading branch information
Showing
4 changed files
with
135 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
/doc | ||
*.class | ||
/target | ||
/target-* | ||
project/boot/ | ||
*.iml | ||
*.ipr | ||
*.iws |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
<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>optional</groupId> | ||
<artifactId>optional_${scala.version}</artifactId> | ||
<name>optional</name> | ||
<version>1.0</version> | ||
<url>git://github.com/paulp/optional.git</url> | ||
<organization> | ||
<name>DR MacIver and Paul Phillips</name> | ||
</organization> | ||
<description>Java Command-Line Arguments</description> | ||
<properties> | ||
<java.src.version>1.6</java.src.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
<profiles> | ||
<profile> | ||
<id>Scala-2.7.5</id> | ||
<properties> | ||
<scala.version>2.7.5</scala.version> | ||
</properties> | ||
</profile> | ||
<profile> | ||
<id>Scala-2.8.0-SNAPSHOT</id> | ||
<activation> | ||
<activeByDefault>true</activeByDefault> | ||
</activation> | ||
<properties> | ||
<scala.version>2.8.0-SNAPSHOT</scala.version> | ||
</properties> | ||
</profile> | ||
</profiles> | ||
<repositories> | ||
<repository> | ||
<id>scala-tools.org</id> | ||
<name>Scala-Tools Maven2 Release Repository</name> | ||
<url>http://scala-tools.org/repo-releases</url> | ||
</repository> | ||
<repository> | ||
<id>snapshots.scala-tools.org</id> | ||
<name>Scala-Tools Maven2 Snapshot Repository</name> | ||
<url>http://scala-tools.org/repo-snapshots</url> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
<!--updatePolicy>never</updatePolicy--> | ||
<checksumPolicy>fail</checksumPolicy> | ||
</snapshots> | ||
<releases> | ||
<enabled>true</enabled> | ||
<!--updatePolicy>never</updatePolicy--> | ||
<checksumPolicy>fail</checksumPolicy> | ||
</releases> | ||
</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>org.scala-lang</groupId> | ||
<artifactId>scala-compiler</artifactId> | ||
<version>${scala.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.thoughtworks.paranamer</groupId> | ||
<artifactId>paranamer</artifactId> | ||
<version>2.0</version> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<sourceDirectory>src/main/scala</sourceDirectory> | ||
<directory>target-${scala.version}</directory> | ||
<resources> | ||
<resource> | ||
<directory>resources</directory> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.scala-tools</groupId> | ||
<artifactId>maven-scala-plugin</artifactId> | ||
<configuration> | ||
<args> | ||
<arg>-deprecation</arg> | ||
<arg>-unchecked</arg> | ||
<arg>-optimise</arg> | ||
</args> | ||
<jvmArgs> | ||
<jvmArg>-Xmx128m</jvmArg> | ||
<jvmArg>-Xss2m</jvmArg> | ||
<jvmArg>-Dfile.encoding=UTF-8</jvmArg> | ||
</jvmArgs> | ||
<excludes> | ||
<exclude>**/draft/*.*</exclude> | ||
</excludes> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>compile</goal> | ||
<goal>testCompile</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<reporting> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.scala-tools</groupId> | ||
<artifactId>maven-scala-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</reporting> | ||
</project> |
This file contains 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
This file contains 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