Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-443

Javadoc reference containing a link label with spaces are not detected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.7.0
    • 3.8.1
    • API
    • None

    Description

      For example the following link tag is not properly parsed:

      {@link #member label with spaces}
      

      and leads to the following exception

      java.lang.IllegalArgumentException: Invalid format of javadoc reference: #member label with spaces
      	at org.apache.maven.tools.plugin.javadoc.JavadocReference.parse(JavadocReference.java:74)
      	...
      

      According to https://docs.oracle.com/en/java/javase/17/docs/specs/javadoc/doc-comment-spec.html#link this should be valid though as the link tag ends only with the '}'

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: