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. 5 Answers 5