I would like to deploy an artifact together with javadoc and a Maven site. I use
clean javadoc:jar site deploy site:deploy
(the split between site
and site:deploy
is just to avoid the deployment of a site if deploy
fails).
Now the javadoc is created twice - once in javadoc:jar
and once in site
. Is it possible to create it just once and use it both for the javadoc-jar
in Nexus and the Maven site?