Skip to content

Commit 38ffebb

Browse files
committed
Add ignore rule for multi-release jars compatible with Java 8
1 parent 0becede commit 38ffebb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2183,6 +2183,14 @@
21832183
<rules>
21842184
<enforceBytecodeVersion>
21852185
<maxJdkVersion>1.8</maxJdkVersion>
2186+
<!--
2187+
Multi release jars that are Java 8 compatible should pass,
2188+
but the extra-enforcer-plugin does not detect them
2189+
correctly so we should ignore them explicitly.
2190+
-->
2191+
<ignoreClasses>
2192+
<ignoreClass>module-info</ignoreClass>
2193+
</ignoreClasses>
21862194
<excludes>
21872195
<!--
21882196
Supplied by the user JDK and compiled with matching

0 commit comments

Comments
 (0)