Executing the goals 'clean install site' works really well (under 5mins), but if I wanted to use the site:stage-deploy goal<http://maven.apache.org/plugins/maven-site-plugin/deploy-mojo.html> so we can host the staged/snapshot site.
However, when I run 'clean install site site:stage-deploy -DstagingSiteURL=file://e:/maven-sites/myproject' *I get very different execution and it takes around an hour*! I thought all that the stage-deploy did was deploy (scp://, ftp://, file://) the built site, but evidently it does not do this. The following '[INFO] The goal...' error's only occur when I run the site:stage-deploy goal, why? [INFO] Generating "JavaDocs" report. [WARNING] Source files encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! [ERROR] Error fetching link: http://java.sun.com/javase/6/docs/api/package-list. Ignored it. [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: 'com.acme.project:module-a:jar:0.0.1-SNAPSHOT'. Trying to invoke it... [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: 'com.acme.project:module-b:jar:0.0.1-SNAPSHOT'. Trying to invoke it... [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: 'com.acme.project:module-c:jar:0.0.1-SNAPSHOT'. Trying to invoke it... [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: 'com.acme.project:module-d:jar:0.0.1-SNAPSHOT'. Trying to invoke it... [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: 'com.acme.project:module-e:jar:0.0.1-SNAPSHOT'. Trying to invoke it... [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: 'com.acme.project:module-f:jar:0.0.1-SNAPSHOT'. Trying to invoke it... [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: 'com.acme.project:module-g:jar:0.0.1-SNAPSHOT'. Trying to invoke it... ... Help would be grand :) p.s. stuff from the pom <pluginManagement> <plugins> <plugin> <artifactId>maven-site-plugin</artifactId> <version>2.1</version> </plugin> </plugins> </pluginManagement> <reporting> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <source>${maven.compiler.source}</source> <maxmemory>512m</maxmemory> <useStandardDocletOptions>true</useStandardDocletOptions> <!-- The following configuration adds support for uml class diagrams in the javadocs. This is done via UmlGraph and the Dotuml plugin (upstream). In order for these two plugins to work graphviz needs to be installed on the machine running it and ./Graphviz2.26.3/bin to be on the system PATH. If you don't have this the build will still work, but the diagrams will be missing. --> <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet> <docletArtifact> <groupId>gr.spinellis</groupId> <artifactId>UmlGraph</artifactId> <version>4.6</version> </docletArtifact> </configuration> </plugin> </reporting>