[ https://issues.apache.org/jira/browse/MJAVADOC-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16546887#comment-16546887 ]
Emmanuel Lecharny commented on MJAVADOC-531: -------------------------------------------- Oh, thanks ! I was not sure it was a {{MJAVADOC}} issue, and I haven't found the ticket you mentioned when I checked. Goody ! > 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.0, 3.0.1 > Reporter: Emmanuel Lecharny > Assignee: Robert Scholte > 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)