Skip to content

JaCoCo report fails with unresolved DTD #8

@crizzis-unordinal

Description

@crizzis-unordinal
[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">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions