The pom just needs a reference to the Commons Lang Javadoc URL for the Javadoc plugin ... Gary
-------- Original message -------- From: Ralph Goers <[email protected]> Date: 09/18/2015 05:51 (GMT-08:00) To: Log4J Developers List <[email protected]> Subject: Re: mvn site I build the site all the time and it never gets stuck. But I do have MAVEN_OPTS set with quite a bit of memory. I think 1GB for heap and 512m for permgen. Sent from my iPad On Sep 18, 2015, at 5:21 AM, Mikael Ståldal <[email protected]> wrote: ...if I remove that @see tag, "mvn clean site" runs successfully on Java 8 (with quite some warnings though). On Fri, Sep 18, 2015 at 2:11 PM, Mikael Ståldal <[email protected]> wrote: ...but with Java 8 I get some Javadoc errors. I have fixed most of them, except this one: logging-log4j2/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDateParser.java:316: error: reference not found[ERROR] * @see org.apache.commons.lang3.time.DateParser#parse(java.lang.String, java.text.ParsePosition)[ERROR] ^ The problem is that log4j-core has no dependency on commons-lang3. Perhaps we should just remove this @see tag from this Javadoc comment? On Fri, Sep 18, 2015 at 1:47 PM, Mikael Ståldal <[email protected]> wrote: I can run "mvn install" run tests and to build and install jars. It seems to be a out of PermGen space issue. When using Java 8 it doesn't get stuck. On Fri, Sep 18, 2015 at 1:28 PM, Remko Popma <[email protected]> wrote: 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.... -- 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. -- 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. -- 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. -- 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.
