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

javadoc plugin: "mvn site" works, "mvn release:perform" breaks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 3.2.0
    • None
    • javadoc
    • None

    Description

      In order to work around the javadoc bug where minor (and in our case uncorrectable) docs glitches are now fatal, the following is added to the plugin config:

            <plugin>
              <artifactId>maven-javadoc-plugin</artifactId>
              <version>3.2.0</version>
              <configuration>
                <additionalOptions>
                  <additionalOption>-Xdoclint:none</additionalOption>
                </additionalOptions>
              </configuration>
            </plugin>
      

      This works when you run "mvn site", but doesn't work when you run "mvn release:perform".

      Most specifically, when "mvn release:perform" is executed the javadoc plugin behaves like the additional option is not present at all.

      This breaks the release process.

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            minfrin@apache.org Graham Leggett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: