This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/commons-secure-xml.git
The following commit(s) were added to refs/heads/main by this push:
new f613c6c The OpenRewrite receipe now adds a dependency on
commons-secure-xml.
f613c6c is described below
commit f613c6ce7a9b00b7aa12daeac110c38c324e567a
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Sep 6 15:05:41 2026 -0400
The OpenRewrite receipe now adds a dependency on commons-secure-xml.
---
src/main/java/org/apache/commons/xml/secure/doc-files/rewrite.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/xml/secure/doc-files/rewrite.yml
b/src/main/java/org/apache/commons/xml/secure/doc-files/rewrite.yml
index 8af5cfe..f2d952f 100644
--- a/src/main/java/org/apache/commons/xml/secure/doc-files/rewrite.yml
+++ b/src/main/java/org/apache/commons/xml/secure/doc-files/rewrite.yml
@@ -16,8 +16,12 @@
type: specs.openrewrite.org/v1beta/recipe
name: org.apache.commons.xml.secure.UseSecureXmlFactories
displayName: Use Apache Commons Secure XML factories
-description: Replaces JAXP static factory method calls with their Apache
Commons Secure XML equivalents.
+description: Replaces JAXP static factory method calls with their Apache
Commons Secure XML equivalents and adds the Maven dependency.
recipeList:
+ - org.openrewrite.maven.AddDependency:
+ groupId: org.apache.commons
+ artifactId: commons-secure-xml
+ version: 1.0.0
- org.openrewrite.java.ChangeMethodTargetToStatic:
methodPattern: javax.xml.parsers.DocumentBuilderFactory
newDefaultInstance()
fullyQualifiedTargetTypeName:
org.apache.commons.xml.secure.SecureDocumentBuilderFactory