How can i specify the doclect artifact when calling mvn from command line
mvn clean install javadoc:javadoc -Ddoclet=my.Doclet -DdocletArtifact=????
How can i specify the doclect artifact when calling mvn from command line
mvn clean install javadoc:javadoc -Ddoclet=my.Doclet -DdocletArtifact=????
You should add something like this to your
pom.xml
:This is also documented in detail in section Using Alternate Doclet of the Apache Maven Javadoc Plugin documentation.
You cannot simply specify these parameters from the command line, but using a Build Profile may help you selecting the configuration you want to have.