smallrye / jandex

Java Annotation Indexer
Apache License 2.0
398 stars 94 forks source link

jandex does not build with Maven 3.9.0 #298

Closed bdemers closed 1 year ago

bdemers commented 1 year ago

impsort-maven-plugin isn't compatible with the latest version of Maven https://github.com/revelc/impsort-maven-plugin/issues/64

Execution sort-imports of goal net.revelc.code:impsort-maven-plugin:1.6.2:sort failed: A required class was missing while executing net.revelc.code:impsort-maven-plugin:1.6.2:sort: org/codehaus/plexus/util/DirectoryScanner

impsort-maven-plugin has already released a fix and this version is already updated in smallrye-build-parent version 39.

Updating to the parent 39

Ladicek commented 1 year ago

Unfortunately the latest version of the impsort plugin requires Java 11, and I find it important for Jandex CI builds to run with Java 8 (among others). So this requires to jump through some hoops.

bdemers commented 1 year ago

I can relate, I've been working on a few projects that support older JVM's and it's increasingly becoming more difficult.