-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading au.com.dius.pact.provider:junit5
from 4.3.14
to 4.3.15
results in failure
#1615
Comments
I am able to work around the issue with the following maven incantation, but it's not obvious to me why it's necessary. In my project's dependency management section, I need to exclude antlr4-runtime from being pulled in by pact, and explicitly include the 4.11.1 version of the dependency:
|
Anyone have any insights into this? |
I think this may be Quarkus-specific. It seems similar to #1380, except in the other direction (Quarkus's pact is too old, rather than too new). I'm also looking at quarkusio/quarkus#27298, which is a Quarkus PR to upgrade Antlr from 4.9.2 to a higher version. There's some discussion of Pact on that work item. I've raised quarkiverse/quarkus-pact#1 to track what changes a Pact Quarkus extension could do to fix this. |
I'm going to have to remove Antlr from Pact-JVM (which is sad, as it is a great tool), but that will allow the Pact-JVM libs to be used in any project that also uses Antlr. |
I agree, it's sad. It seems like it might a somewhat common issue, so replacing Antlr may be the pragmatic solution. Other solutions are:
|
Version 4.3.16 released |
Thank you @rholshausen I can confirm (via quarkusio/quarkus-super-heroes#173 and quarkusio/quarkus-super-heroes#174) that the issue is resolved with the upgrade to 4.3.16. Thanks for the quick turnaround! @holly-cummins ^^^ |
I have a project using the
au.com.dius.pact.provider:junit5
artifact for running verification tests. When I upgrade the dependency from version4.3.14
to4.3.15
the tests no longer run and result in a failure with ANTLR:The text was updated successfully, but these errors were encountered: