You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2021/04/24 14:54:00 UTC
[jira] [Commented] (MJAVADOC-654) javadoc plugin: "mvn site" works,
"mvn release:perform" breaks
[ https://issues.apache.org/jira/browse/MJAVADOC-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17331247#comment-17331247 ]
Robert Scholte commented on MJAVADOC-654:
-----------------------------------------
Without the complete pom (and 1 sourcefile) I can't reproduce the issue. As said and explained at https://maven.apache.org/maven-release/maven-release-plugin/examples/perform-release.html there's no magic in the maven-release-plugin, you could do it by hand: checkout the tag and call {{mvn deploy site-deploy}}
> 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)