maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Georgeson <JGeorge...@lgc.com>
Subject RE: [EXTERNAL] How best to override maven-javadoc-plugin to do nothing?
Date Thu, 14 Jan 2016 22:38:02 GMT
Try setting property maven.javadoc.skip to true in your pom.xml

https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#skip
https://maven.apache.org/plugins/maven-javadoc-plugin/jar-mojo.html#skip


> -----Original Message-----
> From: David M. Karr [mailto:davidmichaelkarr@gmail.com]
> Sent: Thursday, January 14, 2016 4:36 PM
> To: users@maven.apache.org
> Subject: [EXTERNAL] How best to override maven-javadoc-plugin to do
> nothing?
> 
> Simple question: How do I best override the maven-javadoc-plugin to make
> it do nothing?
> 
> I'm integrating a non-API project into a much larger build where everything
> else is an API, so maven-javadoc-plugin is specified in the parent.  It would be
> best to just have it not run javadoc on this project, or do nothing.
> 
> Is the best strategy to specify "*" for the "excludePackageNames" property?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

Mime
View raw message