[ 
https://issues.apache.org/jira/browse/MJAVADOC-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17134676#comment-17134676
 ] 

Piotr Zygielo commented on MJAVADOC-654:
----------------------------------------

bq. Either way, "mvn release:perform" calls "mvn site", there should be no 
difference between these two.

True, I missed that it's about release plugin as well.

> 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)

Reply via email to