You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Dangel (JIRA)" <ji...@apache.org> on 2017/05/01 06:58:04 UTC

[jira] [Created] (MPMD-235) Javadoc errors when building with java8

Andreas Dangel created MPMD-235:
-----------------------------------

             Summary: Javadoc errors when building with java8
                 Key: MPMD-235
                 URL: https://issues.apache.org/jira/browse/MPMD-235
             Project: Maven PMD Plugin
          Issue Type: Bug
          Components: CPD, PMD
    Affects Versions: 3.8
            Reporter: Andreas Dangel


For example

{noformat}
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:jar (attach-javadocs) on project maven-pmd-plugin: MavenReportException: Error while generating Javadoc:
[INFO] [ERROR] Exit code: 1 - /home/andreas/projects/programming/apache.org/releases/maven-pmd-plugin/target/checkout/src/main/java/org/apache/maven/plugin/pmd/AbstractPmdReport.java:286: warning: no description for @throws
[INFO] [ERROR] * @throws java.io.IOException
[INFO] [ERROR] ^
[INFO] [ERROR] /home/andreas/projects/programming/apache.org/releases/maven-pmd-plugin/target/checkout/src/main/java/org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.java:275: warning: no description for @param
[INFO] [ERROR] * @param item
[INFO] [ERROR] ^
[INFO] [ERROR] /home/andreas/projects/programming/apache.org/releases/maven-pmd-plugin/target/checkout/src/main/java/org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.java:277: warning: no @param for severity
[INFO] [ERROR] protected abstract void printError( D item, String severity );
[INFO] [ERROR] ^
[INFO] [ERROR] /home/andreas/projects/programming/apache.org/releases/maven-pmd-plugin/target/checkout/src/main/java/org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.java:282: warning: no description for @param
[INFO] [ERROR] * @param analisysFile
[INFO] [ERROR] ^
[INFO] [ERROR] /home/andreas/projects/programming/apache.org/releases/maven-pmd-plugin/target/checkout/src/main/java/org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.java:283: warning: no description for @throws
[INFO] [ERROR] * @throws XmlPullParserException
[INFO] [ERROR] ^
[INFO] [ERROR] /home/andreas/projects/programming/apache.org/releases/maven-pmd-plugin/target/checkout/src/main/java/org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.java:284: warning: no description for @throws
[INFO] [ERROR] * @throws IOException
[INFO] [ERROR] ^
...
{noformat}

Just run with java8:

{noformat}mvn clean verify javadoc:javadoc{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)