You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Jansen (JIRA)" <ji...@apache.org> on 2018/06/19 09:22:00 UTC
[jira] [Commented] (MPMD-267) Running maven-pmd-plugin fails on
missing HttpServletResponse
[ https://issues.apache.org/jira/browse/MPMD-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16516853#comment-16516853 ]
Vincent Jansen commented on MPMD-267:
-------------------------------------
Workaround is to add servlet api as dependency on the plugin inside our own pom.xml
> Running maven-pmd-plugin fails on missing HttpServletResponse
> -------------------------------------------------------------
>
> Key: MPMD-267
> URL: https://issues.apache.org/jira/browse/MPMD-267
> Project: Maven PMD Plugin
> Issue Type: Bug
> Affects Versions: 3.10.0
> Environment: Java 8, Windows Server 2012 r2
> Reporter: Vincent Jansen
> Priority: Major
>
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.10.0:pmd (pmd) on project blueriq-component-dashboard: Execution pmd of goal org.apache.maven.plugins:maven-pmd-plugin:3.10.0:pmd failed: A required class was missing while executing org.apache.maven.plugins:maven-pmd-plugin:3.10.0:pmd: javax/servlet/http/HttpServletResponse
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.apache.maven.plugins:maven-pmd-plugin:3.10.0
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)