[
https://issues.apache.org/jira/browse/MJAVADOC-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17134572#comment-17134572
]
Graham Leggett commented on MJAVADOC-654:
-----------------------------------------
I am not aware of it no, as I came to configure the javadoc plugin from a
stackoverflow question trying to fix the javadoc tool's breakage, not from
configuring javadoc from scratch. The "important note" doesn't appear to
indicate anything relevant to this problem.
The configuration has been added to the reporting section.
Either way, "mvn release:perform" calls "mvn site", there should be no
difference between these two.
> 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
> Priority: Major
>
> 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)