Maven JXR
  1. Maven JXR
  2. JXR-70

Remove Link to non exisitng javadocs, package access level classes

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: maven2 jxr plugin
    • Labels:
    • Environment:
      maven2
    • Number of attachments :
      0

      Description

      Link "View Javadoc" created for package access level classes.

      This creates many "404 Not Found" on webserver and hides the real problems on website...

      Since maven-javadoc-plugin have it configurable: http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#show

      Would be nice to have this as configuration in maven-jxr-plugin. linkJavadocShow or linkJavadocAccessLevel

      As well linkJavadocExcludePackageNames may be easy to add for complete compatibility with javadoc-plugin excludePackageNames

      Alternative would be to verify if target file exists in directory $

      {javadocDir}

        Issue Links

          Activity

          Hide
          Michael Osipov added a comment -

          Is there anyone who would like to work on it?

          Show
          Michael Osipov added a comment - Is there anyone who would like to work on it?
          Hide
          Michael Osipov added a comment - - edited

          This cannot be solved with JXR unless completely rewritten. JXR is completely line-based. It would require JXR to create an AST from the source file to be aware of the current node. This would be a reimplementation of Javadoc in some way. The difference to MJAVADOC is that is simply passes all parameters to the Javadoc binary without implementing anything itself.

          Show
          Michael Osipov added a comment - - edited This cannot be solved with JXR unless completely rewritten. JXR is completely line-based. It would require JXR to create an AST from the source file to be aware of the current node. This would be a reimplementation of Javadoc in some way. The difference to MJAVADOC is that is simply passes all parameters to the Javadoc binary without implementing anything itself.

            People

            • Assignee:
              Unassigned
              Reporter:
              Vlad Skarzhevskyy
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: