Class DescriptorGeneratorMojo

    • Field Detail

      • externalJavadocBaseUrls

        @Parameter(property="externalJavadocBaseUrls",
                   alias="links")
        protected List<URI> externalJavadocBaseUrls
        Creates links to existing external javadoc-generated documentation.
        Notes: all given links should have a fetchable /package-list or /element-list file. For instance:
         <externalJavadocBaseUrls>
           <externalJavadocBaseUrl>https://docs.oracle.com/javase/8/docs/api/</externalJavadocBaseUrl>
         </externalJavadocBaseUrls>
         
        is valid because https://docs.oracle.com/javase/8/docs/api/package-list exists. See link option of the javadoc tool. Using this parameter requires connectivity to the given URLs during the goal execution.
        Since:
        3.7.0
      • internalJavadocBaseUrl

        @Parameter(property="internalJavadocBaseUrl")
        protected URI internalJavadocBaseUrl
        The base URL for the Javadoc site containing the current project's API documentation. This may be relative to the root of the generated Maven site. It does not need to exist yet at the time when this goal is executed. Must end with a slash. In case this is set the javadoc reporting goal should be executed prior to Plugin Report.
        Since:
        3.7.0
      • internalJavadocVersion

        @Parameter(property="internalJavadocVersion",
                   defaultValue="${java.version}")
        protected String internalJavadocVersion
        The version of the javadoc tool (equal to the container JDK version) used to generate the internal javadoc Only relevant if internalJavadocBaseUrl is set. The default value needs to be overwritten in case toolchains are being used for generating Javadoc.
        Since:
        3.7.0
    • Method Detail

      • generate

        public void generate()
                      throws org.apache.maven.plugin.MojoExecutionException
        Specified by:
        generate in class AbstractGeneratorMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException