maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Dangel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MPMD-235) Javadoc errors when building with java8
Date Sat, 28 Oct 2017 16:24:00 GMT

    [ https://issues.apache.org/jira/browse/MPMD-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16223633#comment-16223633
] 

Andreas Dangel commented on MPMD-235:
-------------------------------------

There are still warnings left, but these are only from the generated modello classes.

> 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
>            Assignee: Andreas Dangel
>            Priority: Minor
>             Fix For: 3.9.0
>
>
> 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.4.14#64029)

Mime
View raw message