Skip to content

Commit 1e9c6f9

Browse files
authored
Exclude target folder when doing xml validation (#11736)
Motivation: The validation can fail when a previous build was done because of left-overs in the target directory. We should not do any validation of files in this directory. Modifications: Exclude the target directory Result: No more xml validation failures
1 parent 6cd9020 commit 1e9c6f9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,6 +1212,9 @@
12121212
<includes>
12131213
<include>**/pom.xml</include>
12141214
</includes>
1215+
<excludes>
1216+
<exclude>**/target/**</exclude>
1217+
</excludes>
12151218
</formatFileSet>
12161219
</formatFileSets>
12171220
<useDefaultFormatFileSet>false</useDefaultFormatFileSet>

0 commit comments

Comments
 (0)