fileset.setDir(new File(getClass().getResource("deb/data").toURI()));
fileset.setIncludes("**/*");
fileset.setProject(project);
StringBuilder md5s = new StringBuilder();
builder.buildData(Arrays.asList((DataProducer) new DataProducerFileSet(fileset)), new File("target/data.tar"), md5s, Compression.GZIP);
assertTrue("empty md5 file", md5s.length() > 0);
assertFalse("windows path separator found", md5s.indexOf("\\") != -1);
assertTrue("two spaces between md5 and file", md5s.toString().equals("8bc944dbd052ef51652e70a5104492e3 ./test/testfile\n"));
}