Update PocketChange to Lift 2.4 with Scala 2.9.1 #1

Merged
merged 3 commits into from Apr 10, 2012
View
@@ -0,0 +1,17 @@
+organization := "com.pocketchangeapp"
+
+name := "PocketChange"
+
+version := "0.3.1-SNAPSHOT"
+
+startYear := Some(2008)
+
+seq(webSettings :_*)
+
+scalaVersion := "2.9.1"
+
+libraryDependencies ++= Seq("net.liftweb" %% "lift-webkit" % "2.4",
+ "net.liftweb" %% "lift-mapper" % "2.4",
+ "jfree" % "jfreechart" % "1.0.13",
+ "com.h2database" % "h2" % "1.2.147" % "runtime",
+ "org.mortbay.jetty" % "jetty" % "6.1.26" % "container")
View
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=y"
-
-mvn -Djetty.port=9090 jetty:run
View
@@ -1,202 +0,0 @@
-
-<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>com.pocketchangeapp</groupId>
- <artifactId>PocketChange</artifactId>
- <version>0.3</version>
- <packaging>war</packaging>
- <name>PocketChangeApp</name>
- <inceptionYear>2008</inceptionYear>
- <!--
- <description>A Lift Application to support the Lift Book.</description>
- -->
- <properties>
- <scala.version>2.8.1</scala.version>
- <lift.version>2.2</lift.version>
- </properties>
-
- <pluginRepositories>
- <pluginRepository>
- <id>scala-tools.org</id>
- <name>Scala Tools Maven2 Repository</name>
- <url>http://scala-tools.org/repo-releases</url>
- </pluginRepository>
- </pluginRepositories>
- <repositories>
- <repository>
- <id>scala-tools.org</id>
- <name>Scala Tools Maven2 Repository</name>
- <url>http://scala-tools.org/repo-releases</url>
- </repository>
- <repository>
- <id>scala-tools.org.snapshots</id>
- <name>Scala Tools Maven2 Repository</name>
- <url>http://scala-tools.org/repo-snapshots</url>
- <snapshots />
- </repository>
- </repositories>
-
- <developers>
- <developer>
- <id>dchenbecker</id>
- <name>Derek Chen-Becker</name>
- <timezone>0</timezone>
- </developer>
- <developer>
- <id>tyler.weir</id>
- <name>Tyler Weir</name>
- <timezone>-5</timezone>
- </developer>
- </developers>
-
- <dependencies>
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-library</artifactId>
- <version>${scala.version}</version>
- </dependency>
- <dependency>
- <groupId>net.liftweb</groupId>
- <artifactId>lift-webkit_${scala.version}</artifactId>
- <version>${lift.version}</version>
- </dependency>
- <dependency>
- <groupId>net.liftweb</groupId>
- <artifactId>lift-mapper_${scala.version}</artifactId>
- <version>${lift.version}</version>
- </dependency>
- <dependency>
- <groupId>jfree</groupId>
- <artifactId>jfreechart</artifactId>
- <version>1.0.11</version>
- <exclusions>
- <exclusion>
- <groupId>gnujaxp</groupId>
- <artifactId>gnujaxp</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.1.112</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
- <version>[6.1.12,)</version>
- <scope>test</scope>
- </dependency>
- <!--
- <dependency>
- <groupId>postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>8.1-404.jdbc3</version>
- </dependency>
- -->
- <!-- for LiftConsole -->
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-compiler</artifactId>
- <version>${scala.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>0.9.26</version>
- </dependency>
- </dependencies>
-
- <build>
- <sourceDirectory>src/main/scala</sourceDirectory>
- <testSourceDirectory>src/test/scala</testSourceDirectory>
- <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>
- <args>
- <!-- arg>-unchecked</arg -->
- <arg>-deprecation</arg>
- </args>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <configuration>
- <contextPath>/</contextPath>
- <scanIntervalSeconds>5</scanIntervalSeconds>
- </configuration>
- </plugin>
- <plugin>
- <groupId>net.sf.alchim</groupId>
- <artifactId>yuicompressor-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>compress</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <nosuffix>true</nosuffix>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <configuration>
- <downloadSources>true</downloadSources>
- <excludes>
- <exclude>org.scala-lang:scala-library</exclude>
- </excludes>
- <classpathContainers>
- <classpathContainer>ch.epfl.lamp.sdt.launching.SCALA_CONTAINER</classpathContainer>
- </classpathContainers>
- <projectnatures>
- <java.lang.String>ch.epfl.lamp.sdt.core.scalanature</java.lang.String>
- <java.lang.String>org.eclipse.jdt.core.javanature</java.lang.String>
- </projectnatures>
- <buildcommands>
- <java.lang.String>ch.epfl.lamp.sdt.core.scalabuilder</java.lang.String>
- </buildcommands>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.scala-tools</groupId>
- <artifactId>maven-scala-plugin</artifactId>
- <configuration>
- <scalaVersion>${scala.version}</scalaVersion>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-</project>
-
@@ -0,0 +1 @@
+sbt.version=0.11.2
@@ -0,0 +1 @@
+libraryDependencies <+= (sbtVersion in update)(v => "com.github.siasia" %% "xsbt-web-plugin" % (v + "-0.2.11"))
Oops, something went wrong.