Skip to content
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

(WIP) Try to make JaCoCo work with JDK 17; odd failure still #4971

Closed

Conversation

cowtowncoder
Copy link
Member

For some reason, JaCoCo only works with JDK 8, even in Jackson 2.x branch. JDK 17 run has

[INFO] --- jacoco:0.8.12:report (report) @ jackson-databind ---
[INFO] Skipping JaCoCo execution due to missing execution data file.

At first I thought this might be due to either:

  1. Jackson 2.x uses separate profile for JDK 17 (but 3.x does not)
  2. Jackson 3.x might have different pom.xml settings than 2.x

but it looks like both fail in similar way. Trying out things suggested by search results as well as ChatGPT (which gives coherent suggestions here) produces different kind of failures but no functioning set up. :-(

@cowtowncoder
Copy link
Member Author

Ok solution via #4972 -- none of changes here required (although will change phase to "verify" from "test")

@JooHyukKim
Copy link
Member

[INFO] --- jacoco:0.8.12:report (report) @ jackson-databind ---
[INFO] Skipping JaCoCo execution due to missing execution data file.

Wow, skipping is done quite casually. at INFO level

@cowtowncoder
Copy link
Member Author

Indeed. Would be better in a way if it just failed by default (but have option to ignore failure or something).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants