doortts doortts 2013-04-03
fix: add serialVersionUID to NullUser
@96a41e9ef2d9747e7b34ae424b0c845ab7092ee4
app/models/NullUser.java
--- app/models/NullUser.java
+++ app/models/NullUser.java
@@ -25,6 +25,7 @@
 import java.util.Map;
 
 public class NullUser extends User {
+    private static final long serialVersionUID = -1L;
     public Long id = -1l;
     public String name = "Guest";
 
project/Build.scala
--- project/Build.scala
+++ project/Build.scala
@@ -36,6 +36,7 @@
       "commons-codec" % "commons-codec" % "1.2",
       // apache-mails
       "org.apache.commons" % "commons-email" % "1.2",
+      "info.schleichardt" %% "play-2-mailplugin" % "0.8",
       "commons-lang" % "commons-lang" % "2.6",
       "org.apache.tika" % "tika-core" % "1.2",
       "commons-io" % "commons-io" % "2.4",
@@ -54,15 +55,10 @@
       javaOptions in test ++= Seq("-Xmx512m", "-XX:MaxPermSize=512m"),
       javacOptions ++= Seq("-Xlint:all", "-Xlint:-path"),
       scalacOptions ++= Seq("-feature")
-//      Play2WarKeys.servletVersion := "3.0"
-      // Or Play2WarKeys.servletVersion := "2.5"
     )
 
   val main = play.Project(appName, appVersion, appDependencies).settings(
     projectSettings: _*
-    // fork in Test := true
-    // 
-    // Add your own project settings here      
   )
 
 }
Add a comment
List