diff --git a/pom.xml b/pom.xml
index 583773200..e8f7694b5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -301,6 +301,18 @@
junit
test
+
+
+ org.xmlunit
+ xmlunit-core
+ 2.9.1
+
+
+ org.xmlunit
+ xmlunit-legacy
+ 2.9.1
+
+
@@ -512,6 +524,7 @@
download-licenses-basic/pom.xml
download-licenses-force/pom.xml
+ true
diff --git a/src/it/ISSUE-80/postbuild.groovy b/src/it/ISSUE-80/postbuild.groovy
index 9419f31c3..bc5be5978 100644
--- a/src/it/ISSUE-80/postbuild.groovy
+++ b/src/it/ISSUE-80/postbuild.groovy
@@ -20,7 +20,14 @@
* #L%
*/
+import org.custommonkey.xmlunit.*
+XMLUnit.setIgnoreWhitespace(true)
+
file = new File(basedir, 'target/licenses.xml');
expectedFile = new File(basedir, 'expected_licenses.xml');
-assert expectedFile.text.equals(file.text);
+
+def xmlDiff = new Diff(file.text, expectedFile.text)
+assert xmlDiff.similar()
+assert xmlDiff.identical()
+
return true;
\ No newline at end of file