There is a property -
maven.linkcheck.cache=${maven.build.dir}/linkcheck/linkcheck.cache

This determines where the cache file from the linkcheck run is kept. If you move it out of your target directory, it won't be deleted during a clean build. This will speed up the linkcheck run as it uses the cache to quickly determine whether resources are valid or not.

Cheers,

Ben


Steve Garcia wrote:


Ahh....I figured it out. My problem was that I put the <reports> element within the <build> tag, not outside it.

-----Original Message-----
From: Steve Garcia Sent: Friday, May 30, 2003 10:02 AM
To: Maven Mailing List (E-mail)
Subject: Link Checker Plugin



Hi, right before the my site is generated I get something like this...


Setting project: Media Publisher Express, v1.0
Received: [301] for http://java.sun.com/cgi-bin/bugreport.cgi
Received: [301] for http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html
Received: [404] for http://www.omg.org/corba/corbiiop.htm
Received: [404] for http://www.omg.org/pub/docs/formal/97-12-10.ps
Received: [404] for http://www.omg.org/pub/docs/formal/97-12-10.pdf
Received: [302] for http://www.awl.com/cp/javaseries/jcl1_2.html
Received: [301] for http://java.sun.com/doc/books/tutorial/uiswing/components/menu.ht
ml
Received: [301] for http://java.sun.com/products/jfc/swingdoc-archive/mixing.html
Received: [301] for http://java.sun.com/Series/Tutorial/index.html
.
.
.
Received: [301] for http://java.sun.com/docs/books/tutorial/post1.0/ui/textlistener.h
tml
Received: [301] for http://java.sun.com/docs/books/tutorial/post1.0/ui/windowlistener
.html
Received: [301] for http://java.sun.com/docs/books/tutorial/post1.0/ui/componentliste
ner.html
Received: [301] for http://java.sun.com/docs/books/tutorial/post1.0/ui/eventmodel.htm
l
maven-linkcheck-plugin:report-real:
xdoc:performJSL:
   [echo] Generating C:/java/mpexpress/target/docs/linkcheck.html from C:\java\mpexp
ress\target\linkcheck\docs\linkcheck.xml
BUILD SUCCESSFUL
Total time: 29 minutes 17 seconds

C:\java\mpexpress>

I was under the impression that I could remove the link check report by removing it 
from my
project.xml reports element.  It currently looks like

   <reports>
          <report>maven-checkstyle-plugin</report>
          <report>maven-javadoc-plugin</report>
          <report>maven-jdepend-plugin</report>
          <report>maven-junit-report-plugin</report>
          <report>maven-tasklist-plugin</report>
   </reports>

Yet the link checker still runs.  And I do NOT want it to run, because as you can see 
it takes
almost 30 minutes for it to complete.  (I have the j2se javadoc, it's validating all 
the links in that).

How can I prevent the link checker from running?  I understand that I could also 
remove the
javadocs from the appropriate directory (but I like it being there).

Thanks, Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to