Comments (10)
This bug has been fixed in PMD 5.2.3 which was released yesterday. The eclipse-pmd plugin 1.4 uses an older version of PMD which is still affected this bug. I just released eclipse-pmd 1.5 which uses the latest PMD. All you have to do is check for updates (Help
> Check for Updates
) and the new version of eclipse-pmd should be installed.
from eclipse-pmd.
Just upgraded to Eclipse Mars and I'm seeing this issue with v1.5.0.201505230804 of the plugin.
Any ideas?
from eclipse-pmd.
@neelu-sarkar: try to clean and build the affected Eclispe projects. Eclipse stores the PMD warnings and if you just upgraded from eclipse-pmd 1.4 to 1.5 then you might still have the PMD warnings generated by eclipse-pmd 1.4. Cleaning and building the projects will trigger a new PMD analysis with eclipse-pmd 1.5.
If you still have the warnings after cleaning and building then please run PMD 5.3.2 from the command line and check if it produces the same false positives. If it does then this is probably a (slightly) different bug which has to be fixed in PMD. In this case you have to report the bug at the PMD bug tracker.
from eclipse-pmd.
@acanda
I've tried clean and build a few times already with no luck. PMD running from maven / command line is fine.
I've only had v1.5 of the plugin installed in Mars but workspace I was using was an upgraded Luna one, so I've just tried creating a new Mars workspace and importing the same projects and the pmd warnings no longer appear so happy just to carry on with that.
Maybe something in the upgrade workspace process went wrong? I've definitely had v1.4 installed in Luna in the past but not at the point of upgrading to Mars.
Cheers
from eclipse-pmd.
I'm seeing the same issue with Luna. Maven PMD doesn't flag it but Eclipse
does.
For us, it will only happen in some Entity classes on some instance
variables with at least 2 annotations.
On Wed, Jul 1, 2015 at 5:59 AM, Neelu Sarkar [email protected]
wrote:
@acanda https://github.com/acanda
I've tried clean and build a few times already with no luck. PMD running
from maven / command line is fine.I've only had v1.5 of the plugin installed in Mars but workspace I was
using was an upgraded Luna one, so I've just tried creating a new Mars
workspace and importing the same projects and the pmd warnings no longer
appear so happy just to carry on with that.Maybe something in the upgrade workspace process went wrong? I've
definitely had v1.4 installed in Luna in the past but not at the point of
upgrading to Mars.Cheers
—
Reply to this email directly or view it on GitHub
#25 (comment).
from eclipse-pmd.
Seeing the same thing - my new Mars workspace has started reporting the PMD violations again :(
from eclipse-pmd.
I just looked inside ch.acanda.eclipse.pmd.core_1.5.0.201505230804.jar and it's using PMD 5.3.2.
I guess I'll need to wait until the plugin is updated to use 5.3.3?
The related PMD bug was only fixed in this version:
http://sourceforge.net/p/pmd/bugs/1364/
Cheers
(Thanks for the plugin btw!)
from eclipse-pmd.
@neelu-sarkar @jeffjensen
Thank you for clarifying - this is a different bug than the one originally reported. Your bug has been fixed and will most likely be part of the not yet released PMD 5.3.3. I will release a new version of eclipse-pmd as soon as PMD 5.3.3 is officially available.
from eclipse-pmd.
Nice, thanks for letting us know Philip!
On Thu, Jul 2, 2015 at 11:44 AM, Philip Graf [email protected]
wrote:
@neelu-sarkar https://github.com/neelu-sarkar @jeffjensen
https://github.com/jeffjensen
Thank you for clarifying - this is a different bug than the one originally
reported. Your bug has been fixed and will most likely be part of the not
yet released PMD 5.3.3. I will release a new version of eclipse-pmd as soon
as PMD 5.3.3 is officially available.—
Reply to this email directly or view it on GitHub
#25 (comment).
from eclipse-pmd.
PMD 5.3.3 has been released with a fix for PMD bug 1364 so I released eclipse-pmd 1.6 with PMD 5.3.3. Enjoy!
from eclipse-pmd.
Related Issues (20)
- An error occurred while automatically activating bundle ch.acanda.eclipse.pmd.core HOT 3
- Eclipse Neon (4.6) install through marked but nothing shows up HOT 2
- Diff to pmd/pmd-eclipse-plugin HOT 3
- Improve ruleset feedback HOT 2
- Remote ruleset: rules caching/refresh frequency? HOT 2
- Automatically update workspace relative configurations when the project name changes
- The rule set configuration at the given location is invalid HOT 9
- Eclipse PDT. Cannot change PMD nature of project <projectName> HOT 2
- New releases HOT 3
- Release 1.9 HOT 9
- XML parsing problem in Eclipse Oxygen HOT 1
- NoClassDefFoundError with version 1.12 in Eclipse Photon
- pmd can not find my enum class (configure auxclasspath) HOT 2
- eclipse-pmd 1.14 depends on pmd 6.6.0 and asm 6.1.1, but pmd 6.6.0 depends on asm 6.2 HOT 1
- Cannot use apex rules HOT 1
- Problem installing on STS 4 HOT 2
- Bug: After importing an exising project, no more PMD checks were performed HOT 2
- Bug: ruleset of other projects are also listed HOT 2
- Developer should be able to exclude violation HOT 4
- Use Rulesets with unkonwn rules (from newer PMD versions) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eclipse-pmd.