From 932e614a50f3174b78e6457e814da25d3910981e Mon Sep 17 00:00:00 2001 From: Abhinav Sarkar Date: Mon, 31 May 2010 23:41:14 +0530 Subject: [PATCH] Added more deployment related info and other minor changes --- pom.xml | 66 +++++++++++++++---- .../spelhelper/ExtensionFunctionsSpec.scala | 2 +- 2 files changed, 53 insertions(+), 15 deletions(-) diff --git a/pom.xml b/pom.xml index 98bbdca..22b0043 100644 --- a/pom.xml +++ b/pom.xml @@ -20,6 +20,20 @@ GitHub http://github.com/abhin4v/spelhelper/issues + 2010 + + + ftp-maven.abhinavsarkar.net + ftp://ftp.byethost14.com/maven.abhinavsarkar.net/htdocs + + + + + GNU LESSER GENERAL PUBLIC LICENSE, Version 3 + http://www.gnu.org/licenses/lgpl-3.0.txt + repo + + abhin4v @@ -34,7 +48,29 @@ scm:git:git://github.com/abhin4v/spelhelper.git + + + + org.apache.maven.wagon + wagon-ftp + 1.0-beta-6 + + + + org.apache.maven.plugins + maven-source-plugin + 2.1.2 + + + attach-sources + verify + + jar-no-fork + + + + org.apache.maven.plugins maven-javadoc-plugin @@ -42,15 +78,17 @@ javadoc - install + verify javadoc + jar ${basedir}/../apidocs -
Code hosted at <a target='_blank' href='http://github.com/abhin4v/spelhelper/'>github</a>
+
Code hosted at <a target='_blank' + href='http://github.com/abhin4v/spelhelper/'>github</a>
http://static.springsource.org/spring/docs/3.0.x/javadoc-api/ @@ -106,12 +144,12 @@ maven-surefire-report-plugin 2.5 - - test - - report-only - - + + test + + report-only + +
@@ -119,12 +157,12 @@ cobertura-maven-plugin 2.4 - - verify - - cobertura - - + + verify + + cobertura + +
diff --git a/src/test/scala/net/abhinavsarkar/spelhelper/ExtensionFunctionsSpec.scala b/src/test/scala/net/abhinavsarkar/spelhelper/ExtensionFunctionsSpec.scala index 6a1a502..574eb3f 100644 --- a/src/test/scala/net/abhinavsarkar/spelhelper/ExtensionFunctionsSpec.scala +++ b/src/test/scala/net/abhinavsarkar/spelhelper/ExtensionFunctionsSpec.scala @@ -33,7 +33,7 @@ class ExtensionFunctionsSpec extends FlatSpec with ShouldMatchersForJUnit { new {}, classOf[JMap[String,Int]]) should equal(map) } - "Extension Function 'map'" should "throw SpelEvaluationException" + + "Extension Function 'map'" should "throw SpelEvaluationException " + "if length of key and values lists is not same " in { evaluating { new SpelHelper().evalExpression("#map(#list('a','b','c'),#list(1,2))", new {}, classOf[JMap[String,Int]]) } should produce [SpelEvaluationException]