I usually use "mvn clean package" to compile, run tests and build the jar files. To test the site, I use "mvn clean site". This generates the overall site manual pages and PDF okay, but I also often get stuck somewhere during the generation of the site pages for the individual modules, not sure which one...
On Fri, Sep 18, 2015 at 8:13 PM, Mikael Ståldal <[email protected]> wrote: > When I try to run "mvn site", it get stuck at: > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Log4j API 2.4-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-sitecss) @ > log4j-api --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 34 resources > [INFO] > [INFO] --- maven-site-plugin:3.4:site (default-site) @ log4j-api --- > [INFO] configuring report plugin > org.apache.maven.plugins:maven-project-info-reports-plugin:2.8 > [INFO] configuring report plugin > org.apache.maven.plugins:maven-changes-plugin:2.11 > [WARNING] changes-report report is declared twice in default reportSet > [INFO] configuring report plugin > org.apache.maven.plugins:maven-surefire-report-plugin:2.18.1 > [INFO] configuring report plugin org.apache.rat:apache-rat-plugin:0.11 > [INFO] configuring report plugin org.codehaus.mojo:clirr-maven-plugin:2.6.1 > [INFO] preparing 'clirr' report requires 'compile' forked phase execution > [INFO] > [INFO] >>> clirr-maven-plugin:2.6.1:clirr > compile @ log4j-api >>> > [INFO] > [INFO] --- maven-remote-resources-plugin:1.1:process (default) @ log4j-api > --- > [INFO] Setting property: classpath.resource.loader.class => > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: velocimacro.messages.on => 'false'. > [INFO] Setting property: resource.loader => 'classpath'. > [INFO] Setting property: resource.manager.logwhenfound => 'false'. > [INFO] > [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ > log4j-api --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory > /home/mikes/Dev/logging-log4j2/log4j-api/src/main/resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ log4j-api > --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 73 source files to > /home/mikes/Dev/logging-log4j2/log4j-api/target/classes > [INFO] > [INFO] <<< clirr-maven-plugin:2.6.1:clirr < compile @ log4j-api <<< > [INFO] configuring report plugin > org.apache.maven.plugins:maven-checkstyle-plugin:2.16 > [INFO] configuring report plugin > org.apache.maven.plugins:maven-javadoc-plugin:2.10.3 > [INFO] preparing 'javadoc' report requires 'generate-sources' forked phase > execution > [INFO] > [INFO] >>> maven-javadoc-plugin:2.10.3:javadoc > generate-sources @ > log4j-api >>> > [INFO] > [INFO] <<< maven-javadoc-plugin:2.10.3:javadoc < generate-sources @ > log4j-api <<< > [INFO] configuring report plugin > org.codehaus.mojo:findbugs-maven-plugin:3.0.1 > [INFO] configuring report plugin > org.apache.maven.plugins:maven-jxr-plugin:2.5 > [INFO] configuring report plugin > org.apache.maven.plugins:maven-pmd-plugin:3.5 > [INFO] artifact org.apache.logging.log4j:log4j-api: checking for updates > from apache.snapshots > [INFO] artifact org.apache.logging.log4j:log4j-api: checking for updates > from central > [INFO] Fork Value is true > [java] Warnings generated: 6 > [INFO] Done FindBugs Analysis.... > > > -- > [image: MagineTV] > > *Mikael Ståldal* > Senior software developer > > *Magine TV* > [email protected] > Regeringsgatan 25 | 111 53 Stockholm, Sweden | www.magine.com > > Privileged and/or Confidential Information may be contained in this > message. If you are not the addressee indicated in this message > (or responsible for delivery of the message to such a person), you may not > copy or deliver this message to anyone. In such case, > you should destroy this message and kindly notify the sender by reply > email. >
