You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Bipin Prasad (Jira)" <ji...@apache.org> on 2022/04/21 04:56:00 UTC

[jira] [Commented] (STORM-3854) A very large number of PMD Exceptions are thrown when building storm

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

Bipin Prasad commented on STORM-3854:
-------------------------------------

After many hours of individually editing a few files (and trial and error), found that the maven-pmd-plugin is not properly detecting the target JDK as set under maven compiler plugin. Fortunately, there is a configuration option for the plugin to explicitly specify the target JDK. This makes "ALL" the parse errors go away!

> A very large number of PMD Exceptions are thrown when building storm
> --------------------------------------------------------------------
>
>                 Key: STORM-3854
>                 URL: https://issues.apache.org/jira/browse/STORM-3854
>             Project: Apache Storm
>          Issue Type: Task
>          Components: build
>            Reporter: Bipin Prasad
>            Assignee: Bipin Prasad
>            Priority: Major
>         Attachments: pmderrors.txt
>
>
> When running a build of storm project, say with "mvn compile" or "mvn clean install",
> a very large number of PMDExceptions are thrown and a large number of files are not parsed.
> This can also be duplicated by running "mvn pmd:pmd".
>  Remove PMD Exceptions - because they are too numerous, annoying, and mask other warnings and errors.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)