You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "darren hartford (JIRA)" <ji...@codehaus.org> on 2005/12/21 16:46:34 UTC
[jira] Commented: (MPMD-2) pmd has problems with package-info.java.
[ http://jira.codehaus.org/browse/MPMD-2?page=comments#action_53954 ]
darren hartford commented on MPMD-2:
------------------------------------
verify issue with package-info.java. Critical for EJB3-type projects.
Sample package-info.java:
=========================
@javax.persistence.NamedQueries(
{
@javax.persistence.NamedQuery(
name="findAllTable",
queryString="SELECT tbl FROM Table tbl"
),
@javax.persistence.NamedQuery(
name="findAllTable2",
queryString="SELECT tbl FROM Table2 tbl"
)
}
)
package my.package.ejb3;
===========================
verified against 2.0-alpha-2 release.
> 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
> Priority: Minor
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org