Re: xDoc Link Check Reports Invalid Redirect

2006-02-17 Thread Lukas Theussl

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):

This file is used as a placeholder until the final link check can
occur.

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]



Re: xDoc Link Check Reports Invalid Redirect

2006-02-17 Thread Arnaud HERITIER
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):
>
> This file is used as a placeholder until the final link check can
> occur.
>
> 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]



Re: xDoc Link Check Reports Invalid Redirect

2006-02-17 Thread Lance Bader
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):

This file is used as a placeholder until the final link check can
occur.

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]
>
>


Re: xDoc Link Check Reports Invalid Redirect

2006-02-13 Thread Arnaud HERITIER
If it doesn't solve your problem, can you try this SNAPSHOT [1] of
maven 1.1 beta 3 with an update of the linkcheck plugin.

Thx

Arnaud

[1] http://people.apache.org/~aheritier/maven/1.X/snapshots/


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.2 for
> > 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]



Re: xDoc Link Check Reports Invalid Redirect

2006-02-13 Thread Lukas Theussl
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.2 for
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]



Re: xDoc Link Check Reports Invalid Redirect

2006-02-13 Thread Lance Bader
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.2 for
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

On 2/13/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
>
> The beta 3 is not yet out.
> I'm sorry I took a look at the wrong plugin. I didn't yet publish the
> new linkcheck plugin
> You can try the last snapshot with :
> maven plugin:download
>   -Dmaven.repo.remote=http://www.ibiblio.org/maven,
> http://cvs.apache.org/repository/
>   -DgroupId=maven
>   -DartifactId=maven-linkcheck-plugin
>   -Dversion=1.4-SNAPSHOT
>
> Arnaud
>
>
> On 2/13/06, Lance Bader <[EMAIL PROTECTED]> wrote:
> > Oh, man!  I'm so embarassed.
> >
> > We are using Maven v. 1.1-beta-2 and maven-xdoc-plugin-1.9.2.
> >
> > I would be happy to try what you call "this release" but I need a better
> > clue on how to find it.  I checked the xDoc reference and could find no
> > newer plug-in and no reference to (3.0).  Did you mean Maven 1.1-beta-3?
> >
> > Lance
> >
> > On 2/13/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> > >
> > > With maven 1 ? (I'm not sure that there's a linkcheck plugin in m2)
> > >
> > > Which release are you using ? The last one (3.0) ?
> > > If not it's certainly fixed in this release.. Can you try it ?
> > >
> > > Arnaud
> > >
> > > On 2/13/06, Lance Bader <[EMAIL PROTECTED]> wrote:
> > > > What causes the xDoc plug-in to report an invalid redirect URI while
> > > > performing a link check?  Here is an example message.
> > > >
> > > > Invalid Redirect URI from:
> > > > http://www.ibm.com:80/software/info/websphere/r/was-ce/ to:
> > > > http://www-306.ibm.com/software/info/websphere/r/was-ce/
> > > > Checking link
> http://www-306.ibm.com/software/info/websphere/r/was-ce/
> > > >
> > > > Note that browser's follow the redirection without complaint.  If
> the
> > > target
> > > > web site is violating an important redirect convention, I'm willing
> to
> > > > report the problem, but, before I start, I need to understand
> exactly
> > > what
> > > > is "invalid".
> > > >
> > > > 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]
>
>


Re: xDoc Link Check Reports Invalid Redirect

2006-02-13 Thread Arnaud HERITIER
The beta 3 is not yet out.
I'm sorry I took a look at the wrong plugin. I didn't yet publish the
new linkcheck plugin
You can try the last snapshot with :
maven plugin:download
  -Dmaven.repo.remote=http://www.ibiblio.org/maven,
http://cvs.apache.org/repository/
  -DgroupId=maven
  -DartifactId=maven-linkcheck-plugin
  -Dversion=1.4-SNAPSHOT

Arnaud


On 2/13/06, Lance Bader <[EMAIL PROTECTED]> wrote:
> Oh, man!  I'm so embarassed.
>
> We are using Maven v. 1.1-beta-2 and maven-xdoc-plugin-1.9.2.
>
> I would be happy to try what you call "this release" but I need a better
> clue on how to find it.  I checked the xDoc reference and could find no
> newer plug-in and no reference to (3.0).  Did you mean Maven 1.1-beta-3?
>
> Lance
>
> On 2/13/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> >
> > With maven 1 ? (I'm not sure that there's a linkcheck plugin in m2)
> >
> > Which release are you using ? The last one (3.0) ?
> > If not it's certainly fixed in this release.. Can you try it ?
> >
> > Arnaud
> >
> > On 2/13/06, Lance Bader <[EMAIL PROTECTED]> wrote:
> > > What causes the xDoc plug-in to report an invalid redirect URI while
> > > performing a link check?  Here is an example message.
> > >
> > > Invalid Redirect URI from:
> > > http://www.ibm.com:80/software/info/websphere/r/was-ce/ to:
> > > http://www-306.ibm.com/software/info/websphere/r/was-ce/
> > > Checking link http://www-306.ibm.com/software/info/websphere/r/was-ce/
> > >
> > > Note that browser's follow the redirection without complaint.  If the
> > target
> > > web site is violating an important redirect convention, I'm willing to
> > > report the problem, but, before I start, I need to understand exactly
> > what
> > > is "invalid".
> > >
> > > 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]



Re: xDoc Link Check Reports Invalid Redirect

2006-02-13 Thread Lance Bader
Oh, man!  I'm so embarassed.

We are using Maven v. 1.1-beta-2 and maven-xdoc-plugin-1.9.2.

I would be happy to try what you call "this release" but I need a better
clue on how to find it.  I checked the xDoc reference and could find no
newer plug-in and no reference to (3.0).  Did you mean Maven 1.1-beta-3?

Lance

On 2/13/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
>
> With maven 1 ? (I'm not sure that there's a linkcheck plugin in m2)
>
> Which release are you using ? The last one (3.0) ?
> If not it's certainly fixed in this release.. Can you try it ?
>
> Arnaud
>
> On 2/13/06, Lance Bader <[EMAIL PROTECTED]> wrote:
> > What causes the xDoc plug-in to report an invalid redirect URI while
> > performing a link check?  Here is an example message.
> >
> > Invalid Redirect URI from:
> > http://www.ibm.com:80/software/info/websphere/r/was-ce/ to:
> > http://www-306.ibm.com/software/info/websphere/r/was-ce/
> > Checking link http://www-306.ibm.com/software/info/websphere/r/was-ce/
> >
> > Note that browser's follow the redirection without complaint.  If the
> target
> > web site is violating an important redirect convention, I'm willing to
> > report the problem, but, before I start, I need to understand exactly
> what
> > is "invalid".
> >
> > Lance
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: xDoc Link Check Reports Invalid Redirect

2006-02-13 Thread Arnaud HERITIER
With maven 1 ? (I'm not sure that there's a linkcheck plugin in m2)

Which release are you using ? The last one (3.0) ?
If not it's certainly fixed in this release.. Can you try it ?

Arnaud

On 2/13/06, Lance Bader <[EMAIL PROTECTED]> wrote:
> What causes the xDoc plug-in to report an invalid redirect URI while
> performing a link check?  Here is an example message.
>
> Invalid Redirect URI from:
> http://www.ibm.com:80/software/info/websphere/r/was-ce/ to:
> http://www-306.ibm.com/software/info/websphere/r/was-ce/
> Checking link http://www-306.ibm.com/software/info/websphere/r/was-ce/
>
> Note that browser's follow the redirection without complaint.  If the target
> web site is violating an important redirect convention, I'm willing to
> report the problem, but, before I start, I need to understand exactly what
> is "invalid".
>
> Lance
>
>

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



xDoc Link Check Reports Invalid Redirect

2006-02-13 Thread Lance Bader
What causes the xDoc plug-in to report an invalid redirect URI while
performing a link check?  Here is an example message.

Invalid Redirect URI from:
http://www.ibm.com:80/software/info/websphere/r/was-ce/ to:
http://www-306.ibm.com/software/info/websphere/r/was-ce/
Checking link http://www-306.ibm.com/software/info/websphere/r/was-ce/

Note that browser's follow the redirection without complaint.  If the target
web site is violating an important redirect convention, I'm willing to
report the problem, but, before I start, I need to understand exactly what
is "invalid".

Lance