[
https://issues.apache.org/jira/browse/MJAVADOC-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17139291#comment-17139291
]
Graham Leggett commented on MJAVADOC-654:
-----------------------------------------
Looks like this chaos has been hitting people for years:
https://stackoverflow.com/questions/25983852/maven-javadoc-plugin-breaks-mvn-releaseperform
Is there a way to make this bug stay dead?
> 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)