diff --git a/commons/pom.xml b/commons/pom.xml
index cc7d001f0..f74e3aea5 100644
--- a/commons/pom.xml
+++ b/commons/pom.xml
@@ -153,6 +153,11 @@
jsch
0.2.21
+
+ org.apache.groovy
+ groovy
+ ${groovy.version}
+
diff --git a/commons/src/main/java/org/archive/spring/PathSharingContext.java b/commons/src/main/java/org/archive/spring/PathSharingContext.java
index edd1898fd..a793afcbb 100644
--- a/commons/src/main/java/org/archive/spring/PathSharingContext.java
+++ b/commons/src/main/java/org/archive/spring/PathSharingContext.java
@@ -34,9 +34,15 @@
import org.apache.commons.io.FileUtils;
import org.archive.util.ArchiveUtils;
import org.springframework.beans.BeansException;
+import org.springframework.beans.factory.BeanDefinitionStoreException;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
+import org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader;
+import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
import org.springframework.context.ApplicationContext;
+import org.springframework.context.annotation.AnnotationConfigUtils;
import org.springframework.context.support.FileSystemXmlApplicationContext;
+import org.springframework.core.io.Resource;
+import org.springframework.core.io.support.EncodedResource;
import org.springframework.validation.BeanPropertyBindingResult;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
@@ -46,9 +52,13 @@
*
* Notable extensions:
*
- * Remembers its primary XML configuration file, and can report its filesystem
+ * Remembers its primary configuration file, and can report its filesystem
* path.
- *
+ *
+ * Supports both Spring XML and Groovy Bean Definition DSL.
+ *
+ * Automatically enables annotation processing (<context:annotation-config/>).
+ *
* Reports a summary of Errors collected from self-Validating Beans.
*
* Generates launchId from timestamp, creates launch directory
@@ -212,5 +222,37 @@ public ConcurrentHashMap
UTF-8
- 4.0.24
diff --git a/pom.xml b/pom.xml
index 4222a5db4..f5fcc1fbb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -370,6 +370,7 @@ http://maven.apache.org/guides/mini/guide-m1-m2.html
${maven.build.timestamp}
none
-Xdoclint:none
+ 4.0.24
9.4.56.v20240826
2.0.16
17