You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2005/08/04 22:15:58 UTC

[jira] Closed: (MPPMD-16) Failure when using annotations in classes.

     [ http://jira.codehaus.org/browse/MPPMD-16?page=all ]
     
Carlos Sanchez closed MPPMD-16:
-------------------------------

      Assign To: Carlos Sanchez
     Resolution: Fixed
    Fix Version: 1.7

> Failure when using annotations in classes.
> ------------------------------------------
>
>          Key: MPPMD-16
>          URL: http://jira.codehaus.org/browse/MPPMD-16
>      Project: maven-pmd-plugin
>         Type: Bug
>     Versions: 1.6
>     Reporter: Nico De Groote
>     Assignee: Carlos Sanchez
>      Fix For: 1.7

>
>
> I'm getting the following issue when using the Maven PMD plugin when classes have the @Override annotations in there.
> build:start:
> pmd:cpd-report:
>     [echo] Running the CPD task with minimumTokenCount = 100 ...
>     [cpd] Tokenizing files
> BUILD FAILED
> File...... C:\Documents and Settings\extndgr\.maven\cache\maven-pmd-plugin-1.6\plugin.jelly
> Element... cpd
> Line...... 183
> Column.... 58
> Lexical error at line 235, column 10.  Encountered: "@" (64), after : ""
> Total time: 4 seconds
> Finished at: Tue Apr 26 09:19:54 CEST 2005
> It works fine when the Annotations are left out.
> build:start:
> pmd:cpd-report:
>     [echo] Running the CPD task with minimumTokenCount = 100 ...
>     [cpd] Tokenizing files
>     [cpd] Starting to analyze code
>     [cpd] Done analyzing code; that took 16 milliseconds
>     [cpd] Generating report
>     [cpd] No duplicates over 100 tokens found
>     [mkdir] Created dir: C:\Development\workspace\ikmo-core\target\generated-xdocs
> BUILD SUCCESSFUL
> Total time: 2 seconds
> Finished at: Tue Apr 26 11:07:47 CEST 2005

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