Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-599

javadoc:aggregate-jar does not create the jar when executed as build plugin

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.1.0
    • 3.1.1
    • jar
    • None

    Description

      Starting with version 3.1.0 the javadoc:aggregate-jar goal no longer create a in a multi module project when it is executed as a build plugin. It just logs the following message:

       

      [INFO] <<< maven-javadoc-plugin:3.1.0:aggregate-jar (default-cli) < compile @ mjavadoc-599 <<<
      [INFO]
      [INFO]
      [INFO] — maven-javadoc-plugin:3.1.0:aggregate-jar (default-cli) @ mjavadoc-599 ---
      [INFO] Not executing Javadoc as the project is not a Java classpath-capable package

       

      This can be reproduced with the attached project:

      • The root pom.xml declares maven-javadoc-plugin:3.1.0 to be used
      • Run javadoc:aggregate-jar
      • No jar is created in the target directory of the root project
      • Downgrade to maven-javadoc-plugin:3.0.1
      • Run javadoc:aggregate-jar
      • Version 3.0.1 creates a javadoc jar in the target directory of the root project

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            olamy Olivier Lamy
            britter Benedikt Ritter
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment