Hi Lance,
Sorry, I mixed something up here. Arnaud is right, you don't have to
call the linkcheck separately before building the site. However, you
have to call the 'maven site' goal which will automatically register the
linkcheck report (if it's in your pom), xdoc alone won't work.
Apologies again for being thus doubly misleading.
-Lukas
Lance Bader wrote:
Still no joy. If I run the maven maven-linkcheck-plugin:report goal, all it
does is copy a file to ...target/generted/xdocs/linkcheck.xml which contains
(among other broiler plate xdoc tags):
<p>This file is used as a placeholder until the final link check can
occur.</p>
No link checking actually occurs.
For my own edification, why do I have to invoke this goal explicitly. When
the LinkCheck V1.3.4 was installed, the xDoc plugin V1.9.2 automatically
invoked it as part of its xdoc goal. Why doesn't it continue to call it
automatically after upgrading LinkCheck to V1.4-SNAPSHOT?
On 2/13/06, Lukas Theussl <[EMAIL PROTECTED]> wrote:
As the checking is done in a different plugin (the linkcheck-plugin ;)
), you have to execute that goal separately before running xdoc:
maven maven-linkcheck-plugin:report
maven xdoc
Or you add the maven-linkcheck-plugin report to your project.xml and run
maven site
And you don't need to manually update the repository, Maven will do that
automatically for you.
-Lukas
Lance Bader wrote:
Oh! Now I see. The link checks are not performed by the xDoc plug-in,
they
are performed by the LinkCheck plugin. I wasn't even aware of this
plugin.
Still no joy. I successfully replaced the maven-linkcheck-plugin
version
1.3.4 with version 1.4-SNAPSHOT. Then I manually updated the repository
with the required JAR files for Commons HTTP, Commons Codec, and Log4j.
Now, when I execute Maven 1.1-beta-2 with the maven-xdoc-plugin 1.9.2for
the xdoc goal, the link check operation is NOT performed. The build
completes after the generation phase and there are no link check
artifacts
generated.
What am I doing wrong?
Lance
---------------------------------------------------------------------
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]