You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Graham Leggett (Jira)" <ji...@apache.org> on 2020/06/12 20:55:00 UTC

[jira] [Created] (MJAVADOC-654) javadoc plugin: "mvn site" works, "mvn release:perform" breaks

Graham Leggett created MJAVADOC-654:
---------------------------------------

             Summary: javadoc plugin: "mvn site" works, "mvn release:perform" breaks
                 Key: MJAVADOC-654
                 URL: https://issues.apache.org/jira/browse/MJAVADOC-654
             Project: Maven Javadoc Plugin
          Issue Type: Bug
          Components: javadoc
    Affects Versions: 3.2.0
            Reporter: Graham Leggett


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:

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

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.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)