You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Nico De Groote (JIRA)" <ji...@codehaus.org> on 2005/04/26 11:10:46 UTC
[jira] Created: (MPPMD-16) Failure when using annotations in classes.
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
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
[jira] Commented: (MPPMD-16) Failure when using annotations in classes.
Posted by "Wim Deblauwe (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPPMD-16?page=comments#action_41849 ]
Wim Deblauwe commented on MPPMD-16:
-----------------------------------
You need to use the latest version of PMD. Full 1.5 support is only introduced in PMD 3.0. The current PMD release is 3.2, so I would recommend that one. To override the version the PMD plugin uses, use this:
maven.jar.override=on
maven.jar.pmd=3.2
in your project.properties.
regards,
Wim
> 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
>
>
> 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
[jira] Closed: (MPPMD-16) Failure when using annotations in classes.
Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
[ 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