Commit Graph

60 Commits

Author SHA1 Message Date
aheritier
bc117bef1f Explicitly define file encoding in templates.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@375431 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 00:13:31 +00:00
aheritier
e253b127e7 a little error ..
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@374804 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 01:12:07 +00:00
aheritier
bad86c1bca Add the property "maven.linkcheck.method" to select the method to use to do the tests (head -by default-,or get).
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@374800 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 00:59:13 +00:00
aheritier
43dd212e65 little fix on ntlm settings. Thanks to Lukas.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@373595 13f79535-47bb-0310-9956-ffa450edef68
2006-01-30 21:29:07 +00:00
aheritier
552e0bd1cc - Add a maximum number of redirections (10) to prevent loops
- Release the connection before to check a redirection

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@369784 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 14:15:18 +00:00
aheritier
9ede010fa4 PR: MPLINKCHECK-5
linkcheck plugin uses global proxy settings. There is no way to perform check using a proxy while still having a non-proxied project

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@369157 13f79535-47bb-0310-9956-ffa450edef68
2006-01-15 01:45:20 +00:00
aheritier
07ecab2756 PR: MPLINKCHECK-19
Using NTLM proxy

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@369155 13f79535-47bb-0310-9956-ffa450edef68
2006-01-15 01:31:04 +00:00
aheritier
bacb1f5ae5 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@369142 13f79535-47bb-0310-9956-ffa450edef68
2006-01-15 00:55:10 +00:00
aheritier
576900d2f9 PR: MPLINKCHECK-20, MPLINKCHECK-23
Submitted by: Ignacio G. Mac Dowell
Reviewed by: aheritier
Improve performance getting rid of jtidy dependency via regexps.
StackOverflowError processing apidocs/index-all.html.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@369134 13f79535-47bb-0310-9956-ffa450edef68
2006-01-15 00:36:18 +00:00
aheritier
f841db1164 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
2006-01-14 00:28:50 +00:00
aheritier
8c63ce4344 New site organization
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@327741 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 04:09:10 +00:00
brett
9cad18f3b3 remove .cvsignore files, setup svn:ignore properties
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@170202 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 06:49:30 +00:00
brett
74a6355115 update to keywords for SVN
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@170200 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 06:24:19 +00:00
aheritier
cdd6ae204d MPLINKCHECK-21 : java.lang.NumberFormatException if proxy port is setted to ""
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@155277 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 23:23:29 +00:00
brett
d1645796aa remove need for maven-jelly-tags dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@126279 13f79535-47bb-0310-9956-ffa450edef68
2005-01-24 12:15:32 +00:00
carlos
97a5792442 Use Buffered Streams and close them properly
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115975 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 17:29:49 +00:00
carlos
6d5c248cf9 Fixed MPLINKCHECK-15. Use BufferedInputStream in FileToCheck
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115974 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 17:14:35 +00:00
carlos
71c1415b58 Set links as invalid on unknown errors
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115924 13f79535-47bb-0310-9956-ffa450edef68
2004-08-01 22:28:14 +00:00
carlos
d7404af020 Fixed MPLINKCHECK-8
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115923 13f79535-47bb-0310-9956-ffa450edef68
2004-08-01 22:23:33 +00:00
carlos
553675a304 Added test for MPLINKCHECK-8
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115922 13f79535-47bb-0310-9956-ffa450edef68
2004-08-01 22:23:02 +00:00
carlos
fa44d923c1 Use LinkedList instead of ArrayList
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115921 13f79535-47bb-0310-9956-ffa450edef68
2004-08-01 21:05:33 +00:00
carlos
be66def1f0 Added plugin test
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115893 13f79535-47bb-0310-9956-ffa450edef68
2004-07-26 16:17:45 +00:00
carlos
d840bf4c2a Added maven.linkcheck.exclude property
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115892 13f79535-47bb-0310-9956-ffa450edef68
2004-07-26 16:16:35 +00:00
brett
7e1006740f PR: MPLINKCHECK-14
only show stack trace when in debug mode


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115668 13f79535-47bb-0310-9956-ffa450edef68
2004-07-05 21:03:37 +00:00
brett
514a74d3c9 PR: MPLINKCHECK-13
use HEAD instead of GET


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115110 13f79535-47bb-0310-9956-ffa450edef68
2004-05-01 01:46:09 +00:00
brett
7fb87b937c add license to JSL files
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115028 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 00:55:44 +00:00
brett
fc49fb8f91 MPLINKCHECK-11
replace commons-util with commons-lang
remove redundant classloader properties


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114982 13f79535-47bb-0310-9956-ffa450edef68
2004-04-08 00:18:17 +00:00
evenisse
00d8ef895e Update to ASL v.2
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114796 13f79535-47bb-0310-9956-ffa450edef68
2004-03-05 10:27:26 +00:00
evenisse
85df922d35 Update to ASL v.2
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114795 13f79535-47bb-0310-9956-ffa450edef68
2004-03-04 18:40:25 +00:00
evenisse
765bbbc385 Update to ASL v.2
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114782 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 15:09:18 +00:00
evenisse
d0ae301914 MPLINKCHECK-7
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114704 13f79535-47bb-0310-9956-ffa450edef68
2004-02-11 09:41:32 +00:00
bwalding
d7c8559949 Split things out into marginally better methods. Resolved at least one
resource leak.
PR: MPLINKCHECK-6


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114456 13f79535-47bb-0310-9956-ffa450edef68
2003-12-06 23:17:44 +00:00
dion
6571a0f216 Only dump the whole html file if debug is on
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114236 13f79535-47bb-0310-9956-ffa450edef68
2003-10-26 22:49:40 +00:00
bwalding
582557428b Now checks the StatusLine object which will be null if the validation failed badly.
This prevents an unexpected NPE when checking the status code.
PR: MAVEN-943


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114218 13f79535-47bb-0310-9956-ffa450edef68
2003-10-17 14:15:01 +00:00
bwalding
8c83124f3e o Now follow 302 redirects (one level only)
o Cleaned up logging a little bit and added more logging
o Doesn't address the MacOSX bug (test failure bug), but the logging increase might help


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114004 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 21:48:08 +00:00
bwalding
76efd35886 Additional logging now visible. HostConfiguration object wasn't being set on the http client
PR: MAVEN-402


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113354 13f79535-47bb-0310-9956-ffa450edef68
2003-04-17 13:07:03 +00:00
bwalding
b0b08490c5 Additional logging now visible.
PR: MAVEN-402


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113353 13f79535-47bb-0310-9956-ffa450edef68
2003-04-17 12:58:33 +00:00
bwalding
a61110a788 o MAVEN-283: Follow redirects
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113097 13f79535-47bb-0310-9956-ffa450edef68
2003-03-10 14:20:21 +00:00
bwalding
f28e5b0168 o MAVEN-313: damned debug code. removed.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113080 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 22:46:39 +00:00
bwalding
e1d398ad12 o MAVEN-313: Catch files that don't parse properly and throw Throwable exceptions rather than Exception exceptions!
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113079 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 22:44:54 +00:00
bwalding
be62e73fdd o MAVEN-313: Less debugging info shown to console (check maven.log), more link types checked (img, link, script)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113077 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 22:09:56 +00:00
bwalding
fa17f4a018 o MAVEN-313: Updated to match new test resources
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113076 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 21:45:04 +00:00
bwalding
8bfddb188d o MAVEN-313: Less debugging info shown to console (check maven.log), more link types checked (img, link, script)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113075 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 21:44:45 +00:00
bwalding
b005a83ceb o MAVEN-313: New link types
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113074 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 21:44:04 +00:00
bwalding
d97f423407 o MAVEN-313: needed additional logging here
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113066 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 08:37:21 +00:00
bwalding
ac2553c914 o MAVEN-313: Remove excess logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113063 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 08:33:35 +00:00
bwalding
2979d3052c o MAVEN-313: Try and fix problems with classloaders and linkcheck
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113062 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 08:32:14 +00:00
bwalding
70a1e8305e o MAVEN-313: Try and fix problems with classloaders and linkcheck
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113061 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 08:27:02 +00:00
bwalding
75dde06db4 Replacement test cases
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113060 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 08:25:16 +00:00
bwalding
0d51091171 o MAVEN-313: Fix test resources to be valid html
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113058 13f79535-47bb-0310-9956-ffa450edef68
2003-03-06 20:55:25 +00:00