Blazebit / blaze-persistence

Rich Criteria API for JPA providers
https://persistence.blazebit.com
Apache License 2.0
725 stars 84 forks source link

ANTLR shading doesn't seem to work properly #1641

Open beikov opened 1 year ago

beikov commented 1 year ago

See https://github.com/quarkusio/quarkus/issues/9142 which shows the exception that we see in an environment where our ANTLR version is not available. I actually thought we shaded ANTLR already, but seems like I need to investigate a bit further.

beikov commented 1 year ago

After digging into some problems with the Quarkus 3 integration, I figured that the Quarkus classloader loads classes from target/classes for Maven modules of the current reactor. I suppose that the maven shade plugin only transforms the JAR file, so that would explain why we see this error during testing. I suggest we simply bump to the same ANTLR version for now.