Skip to content

Commit a39cab6

Browse files
committed
Speed-up validate-changelog
1 parent 46eea55 commit a39cab6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,10 @@
10311031
<includes>
10321032
<include>**/*.xml</include>
10331033
</includes>
1034+
<!-- Without an explicit `publicId` and `systemId`, `xml:validate` is trying to download every single XSD from every single XML it encounters.
1035+
This is causing an extreme slowdown for projects with big changelogs, e.g., Log4j. -->
1036+
<publicId>https://logging.apache.org/xml/ns</publicId>
1037+
<systemId>https://logging.apache.org/xml/ns/log4j-changelog-0.xsd</systemId>
10341038
<validating>true</validating>
10351039
</validationSet>
10361040
</validationSets>

0 commit comments

Comments
 (0)