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 2018/07/17 16:29:00 UTC

[jira] [Moved] (MJAVADOC-531) Javadoc lint isn't disabled when running mvn site

     [ https://issues.apache.org/jira/browse/MJAVADOC-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte moved MSITE-826 to MJAVADOC-531:
-----------------------------------------------

    Affects Version/s:     (was: 3.7.1)
                       3.0.0
                       3.0.1
                  Key: MJAVADOC-531  (was: MSITE-826)
              Project: Maven Javadoc Plugin  (was: Maven Site Plugin)

> Javadoc lint isn't disabled when running mvn site
> -------------------------------------------------
>
>                 Key: MJAVADOC-531
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-531
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.1, 3.0.0
>            Reporter: Emmanuel Lecharny
>            Priority: Major
>
> Hi,
> yesterday, I spent a few hours trying to cut a release on {{Apache Directory LDAP API}}, and the only way I found to generate the javadoc was to downgrade to {{javadoc}} plugin version 2.9 instead of 3.0.1 when running {{mvn site}}.
> The standard build (ie {{mvn clean install}}) works fine, with javadoc lint disabled.
> At this point, it's likely to be a combinaison of the {{javadoc}} plugin and the {{site}} plugin.
> Here is my {{<build><pluginManagement>}} declaration:
> {code}
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <version>2.9.1</version>
>         <configuration>
>           <show>private</show>
>           <nohelp>true</nohelp>
>           <doclint>none</doclint>
>         </configuration>
>       </plugin>
> {code}
> and the profile I have declared:
> {code}
>   <profiles>
>     <profile>
>       <id>jdk8</id>
>       <activation>
>         <jdk>[1.8,)</jdk>
>       </activation>
>       <build>
>         <plugins>
>           <plugin>
>             <groupId>org.apache.maven.plugins</groupId>
>             <artifactId>maven-javadoc-plugin</artifactId>
>             <!--version>2.9.1</version-->
>             <executions>
>               <execution>
>                 <phase>package</phase>
>                 <goals>
>                   <goal>jar</goal>
>                 </goals>
>                 <configuration>
>                   <additionalparam>-Xdoclint:none</additionalparam>
>                 </configuration>
>               </execution>
>             </executions>
>           </plugin>
>         </plugins>
>       </build>
>       <properties>
>         <additionalparam>-Xdoclint:none</additionalparam>
>       </properties>
>     </profile>
> {code}
> to make it works. The version that does not work is on https://gitbox.apache.org/repos/asf?p=directory-ldap-api.git;a=blob;f=pom.xml;h=a07d7fcd2ed2ed799705d974633ff7a36f4d12e2;hb=21d49e3e05d159738743d562df99bab968aeae1f



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)