Skip to content

XmlUnit 2.6.3 is not compatible with AssertJ-Core 3.13.2 #166

@kaklakariada

Description

@kaklakariada

The AssertJ dependency for XmlUnit 2.6.1 is on 2.9.0. Latest version is 3.13.2. Using assertj-core 3.13.2 causes an AbstractMethodError:

java.lang.AbstractMethodError: org.xmlunit.assertj.NodeAssertFactory.createAssert(Ljava/lang/Object;)Lorg/assertj/core/api/Assert;
	at org.assertj.core.api.FactoryBasedNavigableIterableAssert.toAssert(FactoryBasedNavigableIterableAssert.java:39)
	at org.assertj.core.api.AbstractIterableAssert.first(AbstractIterableAssert.java:2358)

Simply upgrading assertj-core in xmlunit to 3.13.2 breaks Java 7 compatibility: https://travis-ci.org/kaklakariada/xmlunit/jobs/601656704

Maybe it's possible to solve this similar to #135?
Thank you for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions