Ah, the various online tutorials for this failed to specify which XML element the plugin configuration should be nested under. This works for me:
... <build> <plugins> <!-- Exclude javadocs for Thrift --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <configuration> <excludePackageNames>*thrift*</excludePackageNames> </configuration> </plugin> </plugins> </build> ... On Thu, Oct 31, 2013 at 2:43 PM, Andrew Pennebaker <apenneba...@42six.com>wrote: > I've tried adding thrift / gen-java namespaces and directories to > <excludes> configuration for maven-javadoc-plugin, but when I run `mvn > javadoc:javadoc`, it still attempts to create javadocs for my generated > Thrift Java classes. > > Can someone provide a full pom.xml example for how to do this properly? > > -- > Cheers, > > Andrew Pennebaker > apenneba...@42six.com > -- Cheers, Andrew Pennebaker apenneba...@42six.com