How can I disable the Maven Javadoc plugin from the command line?
In pom.xml I have declaration like this <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> is there any way to turn that off from command line? I do know I can extract that into a profile, but that is not what I want. mswientek 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) It seems, that the simple way -Dmaven.javadoc.skip=true does