PR: MPLINKCHECK-10, MPLINKCHECK-24, MAVEN-1739, MPLINKCHECK-25

- "Moved Permanently" sites are reported as a warning and not as an error.
- Speed and stability enhancement [better usage of httpClient].
- Upgrade to HttpClient 3.0.
- Display for each file the number of links and the number of errors.
- New counters to report how many files and links are checked and how many errors are found.
- Display a more verbose message than the "NOT FOUND" error.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@368935 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier committed 2006-01-14 00:28:50 +00:00
1 parent 6ab7ecb36d
commit f841db1164
38 files changed
+1849 -1600

No files matched your search

+1 -1
View File
@@ -21,8 +21,8 @@
</goal>
<goal name="test-linkcheck">
<attainGoal name="site"/>
<attainGoal name="clean"/>
<attainGoal name="site"/>
</goal>
</project>
+11 -4
View File
@@ -16,8 +16,15 @@
*/
-->
<html>
<body>
<a href="#bumpkin">test2</a>
</body>
<head>
<title>test</title>
</head>
<body>
<a href="#bumpkin">test2</a><br/>
<a href="http://www.seoconsultants.com/w3c/status-codes/301.asp">301 Moved Permanently</a><br/>
<a href="http://www.seoconsultants.com/w3c/status-codes/302.asp">302 Found</a><br/>
<a href="http://www.seoconsultants.com/w3c/status-codes/307.asp">307 Temporary Redirect</a><br/>
<a href="http://www.seoconsultants.com/w3c/status-codes/404.asp">404 Not Found</a><br/>
<a href="http://www.seoconsultants.com/w3c/status-codes/410.asp">410 Gone</a><br/>
</body>
</html>