Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

LinkCheck Plugin Properties

Property Optional? Description
maven.linkcheck.cache Yes Determines where the cache for the linkchecking is stored. Default value is ${maven.build.dir}/linkcheck/linkcheck.cache. This means that a clean build deletes the cache. If you have an extremely large document tree this can have a negative effect on performance.
maven.linkcheck.failonerror Yes Determines whether the build should fail on broken links or not. Defaults to false.
maven.linkcheck.exclude Yes List of urls to exclude from check, delimited by comma, space or tab. Those urls in files that start with one of the excluded urls will be ignored. Defaults to pom.repository.url.
maven.linkcheck.proxy.host Yes The IP or address of your proxy. Defaults to maven.proxy.host.
maven.linkcheck.proxy.port Yes The port number of your proxy. Defaults to maven.proxy.port.
maven.linkcheck.proxy.username Yes User name if your proxy requires authentication. Defaults to maven.proxy.username.
maven.linkcheck.proxy.password Yes Password if your proxy requires authentication. Defaults to maven.proxy.password.
maven.linkcheck.proxy.ntlm.host Yes The host to use if you are using NTLM authentication. Defaults to maven.proxy.ntlm.host.
maven.linkcheck.proxy.ntlm.domain Yes The NT domain to use if you are using NTLM authentication. Defaults to maven.proxy.ntlm.domain.
maven.linkcheck.method Yes The method to use to test pages. The value should be 'head' or 'get'. In some cases (particularly with some proxies) the head method doesn't work witl all servers. The get method is slower but safe. Defaults to head.