From ddf8d8a57927d9d99df1856cca907c84fac620c9 Mon Sep 17 00:00:00 2001 From: "David M. Carr" Date: Tue, 30 Jul 2013 16:41:42 -0400 Subject: [PATCH] pom: change scopes from provided to compile: commons-lang3, mongo-java-driver, spring-beans Otherwise, if used in a project that doesn't otherwise, have said dependencies, ClassNotFoundExceptions will occur. An example from my Grails project: org.apache.commons.lang3.time.DateFormatUtils. Stacktrace follows: Message: org.apache.commons.lang3.time.DateFormatUtils Line | Method ->> 156 | findClass in org.codehaus.groovy.tools.RootLoader - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 424 | loadClass in java.lang.ClassLoader | 128 | loadClass . in org.codehaus.groovy.tools.RootLoader | 357 | loadClass in java.lang.ClassLoader | 133 | logChangeSet in org.mongeez.dao.MongeezDao | 54 | execute in org.mongeez.ChangeSetExecutor | 42 | execute . . in '' | 40 | process in org.mongeez.Mongeez | 58 | execute . . in org.mongeez.MongeezRunner | 40 | run in grails.mongeez.MongeezController | 1145 | runWorker . in java.util.concurrent.ThreadPoolExecutor | 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker ^ 724 | run . . . . in java.lang.Thread --- pom.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 3c4fb66..03a58f1 100644 --- a/pom.xml +++ b/pom.xml @@ -64,20 +64,18 @@ org.mongodb mongo-java-driver 2.11.1 - provided org.springframework spring-beans 3.1.3.RELEASE - provided + org.apache.commons commons-lang3 3.1 - provided