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

JaCoCo report fails with unresolved DTD #8

Open
crizzis-unordinal opened this issue Dec 13, 2021 · 0 comments
Open

JaCoCo report fails with unresolved DTD #8

crizzis-unordinal opened this issue Dec 13, 2021 · 0 comments

Comments

@crizzis-unordinal
Copy link

[ERROR] Failed to execute goal com.github.bordertech.buildtools:badger:1.0.0:badges (default-cli) on project platform-users: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: /Users/krzysztof.sierszen/Repositories/unordinal/platform-users/target/site/jacoco/report.dtd (No such file or directory) -> [Help 1]

I guess you need to disable DTD resolution, since by default, JaCoCo generates the XML header as:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.1//EN" "report.dtd">
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

No branches or pull requests

1 participant