public static void main(String[] args) throws Exception {
		AsciidocLinkChecker checker = new AsciidocLinkChecker(args[0]);
		checker.check();
		if (checker.nbErrors > 0) {
			throw new AssertionError(String.format("There were %d errors.%n%s", checker.nbErrors, checker.errors));
		}
	}
A tool that checks that for files that will form the whole "concatenated" documentation, any link of the form
<pre>
{@code
link:<file>:<anchor>[<label>]
}
</pre>
indeed points to an <em>explicit</em> and <em>unique across all included files</em> anchor in the given file.

@author Eric Bottard
documentation-toolchain/src/main/java/org/springframework/xd/documentation/AsciidocLinkChecker.java