PMD fails to parse source code in a specific case
-------------------------------------------------

                 Key: MPMD-126
                 URL: http://jira.codehaus.org/browse/MPMD-126
             Project: Maven 2.x PMD Plugin
          Issue Type: Bug
          Components: PMD
    Affects Versions: 2.5
         Environment: Gentoo Linux 64bit
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_20
OS name: "linux" version: "2.6.34-gentoo-r12" arch: "amd64" Family: "unix"
            Reporter: Robin Vobruba
            Priority: Minor
         Attachments: PmdTest.java

i appended a test .java file, which is as minimal as i was able to get it.
when having it in my project, with the pmd plugin defined under reporting, and 
then using "mvn site",
PMD fails to parse the source code.

Output:
#########
[INFO] Generating "PMD Report" report.
[WARNING] Error while parsing PmdTest.java: Encountered " "(" "( "" at line 99, 
column 22.
Was expecting one of:
    "." ...
    "." ...
    "." ...
#########
(there are more of these last 3 lines)

-- 
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

        

Reply via email to