Hi lance,

  Are you online when you launch this goal ?
  I just saw that there was a bug in the plugin. If maven is offline
the report isn't generated whereas the plugin supports it.
  Can you try :
  maven maven-linkcheck-plugin:report-real
  If it doesn't work, can you open an issue on jira and give us the
logs obtained with :
  maven maven-linkcheck-plugin:report-real
-Dlog4j.logger.org.apache.maven.plugin.linkcheck=DEBUG

  Otherwise, you don't have to call the plugin directly (except to test it).
  If the report is added in your POM, the report is automatically generated.

Arnaud

On 2/17/06, Lance Bader <[EMAIL PROTECTED]> 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]

Reply via email to