This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
The following commit(s) were added to refs/heads/main by this push:
new a39cab6 Speed-up `validate-changelog`
a39cab6 is described below
commit a39cab6be0a191d60afb877a0c84e4a58ddcceed
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Fri Apr 12 14:49:15 2024 +0200
Speed-up `validate-changelog`
---
pom.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pom.xml b/pom.xml
index 6e86620..80b122a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1031,6 +1031,10 @@
<includes>
<include>**/*.xml</include>
</includes>
+ <!-- Without an explicit `publicId` and `systemId`,
`xml:validate` is trying to download every single XSD from every single XML it
encounters.
+ This is causing an extreme slowdown for projects
with big changelogs, e.g., Log4j. -->
+ <publicId>https://logging.apache.org/xml/ns</publicId>
+
<systemId>https://logging.apache.org/xml/ns/log4j-changelog-0.xsd</systemId>
<validating>true</validating>
</validationSet>
</validationSets>