What I mean is that when I go to

http://www.kathrynhuxtable.org/projects/shibshimfilter/xref/index.html

and click on the (say) FilterHandler link in the lower left frame, I get a
source listing. At the top of the source listing is a "View Javadoc" link.

The link goes to

http://www.kathrynhuxtable.org/apidocs/org/kathrynhuxtable/middleware/shibsh
im/filter/FilterHandler.html

instead of to

http://www.kathrynhuxtable.org/projects/shibshimfilter/apidocs/org/kathrynhu
xtable/middleware/shibshim/filter/FilterHandler.html

Essentially, it's incorrectly computing the location of the javadocs. I see,
viewing the source that the link is to

../../../../../../../../../../../../apidocs/org/kathrynhuxtable/middleware/s
hibshim/filter/FilterHandler.html

Which is off by a whole bunch of ".." occurrences.

My pom contains the following in the reporting section:

<reporting>
 <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-project-info-reports-plugin</artifactId>
    </plugin>
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>taglist-maven-plugin</artifactId>
      <configuration>
        <tags>
          <tag>TODO</tag>
          <tag>FIXME</tag>
        </tags>
      </configuration>
    </plugin>
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>jxr-maven-plugin</artifactId>
      <configuration>
        <linkJavadoc>true</linkJavadoc>
        <javadocDir>${project.build.directory}/site/apidocs</javadocDir>
      </configuration>
    </plugin>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-pmd-plugin</artifactId>
    </plugin>
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>surefire-report-maven-plugin</artifactId>
    </plugin>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-javadoc-plugin</artifactId>
    </plugin>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-checkstyle-plugin</artifactId>
      <configuration>
        <configLocation>config/maven_checks.xml</configLocation>
      </configuration>
    </plugin>
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>cobertura-maven-plugin</artifactId>
    </plugin>
  </plugins>
</reporting>

-K


On 4/2/07 4:32 PM, "Dennis Lundberg" <[EMAIL PROTECTED]> wrote:

> Kathryn Huxtable wrote: I can't get it to work in 2.0.5 using the <javadocDir>
> configuration element. My links come out as
> 
>> www.kathrynhuxtable.org/apidocs/...
>> 
>> Instead of
>> 
>> www.kathrynhuxtable.org/projects/shibshimfilter/apidocs/...
>> 
>> In my pom.xml I'm specifying
>> 
>> <javadocDir>target/site/apidocs/</javadocDir>
>> 
>> This is in the configuration for JXR.
>> 
>> Is there something else I should be doing?
>> 
>> You can view the site at the URL above. Unfortunately, I'm at work and my pom
>> is on my powered down system at home.
>> 
>> -K
>> 
> Hi
> 
> I'm afraid I don't understand what kind of problems you are having. Clicking
> around on your site, everything seems to be working...
> 
> Also, a snippet from your pom with the appropriate config sections would be
> helpful.


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

Reply via email to