How can I disable the Maven Javadoc plugin from the command line?

前端 未结 5 599
别跟我提以往
别跟我提以往 2020-12-12 10:48

In pom.xml I have declaration like this

    
        org.apache.maven.plugins         


        
5条回答
  •  误落风尘
    2020-12-12 11:23

    You can use the maven.javadoc.skip property to skip execution of the plugin, going by the Mojo's javadoc. You can specify the value as a Maven property:

    
        true
    
    

    or as a command-line argument: -Dmaven.javadoc.skip=true, to skip generation of the Javadocs.

提交回复
热议问题