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

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

In pom.xml I have declaration like this

    
        org.apache.maven.plugins         


        
5条回答
  •  天命终不由人
    2020-12-12 11:20

    The Javadoc generation can be skipped by setting the property maven.javadoc.skip to true [1], i.e.

    -Dmaven.javadoc.skip=true
    

    (and not false)

提交回复
热议问题