mojohaus / extra-enforcer-rules

Extra Enforcer Rules
https://www.mojohaus.org/extra-enforcer-rules/
Apache License 2.0
73 stars 47 forks source link

asm-6.0 recognized as JDK 1.9 #33

Closed wwftw closed 6 years ago

wwftw commented 7 years ago

We have found some Java 9 compatibility issue with one of the rules below trying to uplift to asm-6.0 (Release Notes http://forge.ow2.org/forum/forum.php?forum_id=2576).

[INFO] Restricted to JDK 1.8 yet org.ow2.asm:asm-analysis:jar:6.0:compile contains module-info.class targeted to JDK 1.9
[WARNING] Rule 15: org.apache.maven.plugins.enforcer.EnforceBytecodeVersion failed with message:
Found Banned Dependency: org.ow2.asm:asm-util:jar:6.0
Found Banned Dependency: org.ow2.asm:asm-tree:jar:6.0
Found Banned Dependency: org.ow2.asm:asm:jar:6.0
Found Banned Dependency: org.ow2.asm:asm-analysis:jar:6.0

Looks to be also related to this known issue (https://github.com/mojohaus/extra-enforcer-rules/commit/43b63605b637adb84b4676a0ba6c0c44032a30c2)

Could asm-6.0 be added to an IT to verify is excluded or fixed?

Thanks

JeneJasper commented 7 years ago

Duplicates #35