[ http://jira.codehaus.org/browse/MPMD-2?page=all ]
Bernd Bohmann reopened MPMD-2:
------------------------------
I get the same error with the new version.
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-pmd-plugin:2.0-beta-1:pmd' -->
...
Caused by: org.apache.maven.reporting.MavenReportException: Failure executing
PMD for:
/home/bommel/work/incubator-tobago/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/package-info.java
at
org.apache.maven.plugin.pmd.PmdReport.executeReport(PmdReport.java:269)
at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
at
org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
... 18 more
Caused by: net.sourceforge.pmd.ast.ParseException: Encountered "package" at
line 27, column 1.
Was expecting one of:
"class" ...
"final" ...
"interface" ...
<IDENTIFIER> ...
"@" ...
"public" ...
"static" ...
"protected" ...
:
Please exclude package-info.java from report.
A pmd report on package-info.java isn't useful.
> pmd has problems with package-info.java.
> ----------------------------------------
>
> Key: MPMD-2
> URL: http://jira.codehaus.org/browse/MPMD-2
> Project: Maven 2.x Pmd Plugin
> Type: Bug
> Environment: Ubuntu 5.10
> Reporter: Bernd Bohmann
> Assignee: Brett Porter
> Priority: Minor
> Fix For: 2.0-beta-1
> Attachments: PmdReport.java.patch
>
>
> pmd has problems with package-info.java. Please exclude package-info.java
> from report.
> package-info.java can be used in place of package.html (which supports only
> comments, not annotations)
> Please update to pmd version 3.3
> Embedded error: Failure executing PMD for:
> myfaces/tobago/taglib/component/package-info.java
> Encountered "package" at line 27, column 1.
> Was expecting one of:
> "class" ...
> "final" ...
> "interface" ...
> <IDENTIFIER> ...
> "@" ...
> "public" ...
> "static" ...
> "protected" ...
> "private" ...
> "abstract" ...
> "synchronized" ...
> "native" ...
> "transient" ...
> "volatile" ...
> "strictfp" ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]