Eclipse LUNA:Not able to get pmd in preferences - eclipse

I am able to install the eclipse pmd 1.5 plugin for eclipse luna successfully.But after restarting eclipse I ma not able to find PMD under preferences section and hence I am unable to use PMD with eclipse.
If I am referring to wrong plugin .Please help me out with getting pmd in preferences.

Related

how to integrate PMD plugin on Spring tool suite 3.8?

I need to enable PMD plugin for STS 3.8 version. Have tried with url http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/ and it seems like this url is getting blocked. Is there any alternate way?
You can use Eclipse Marketplace.
Click Help > Eclipse Marketplace... and find by keyword "PMD". After PMD plugin is shown, then click "Install" button.
with the below alternate url able to install PMD
http://dl.bintray.com/pmd/pmd-eclipse-plugin/updates/

PMD eclipse pulgin show the error for application can't added

I have the PMD v3.2.* version for eclipse, but when i want to enable the PMD for my project then it will show me below error
Thanks in advance.

Not able to install PMD in Eclipse Kepler

I have installed PMD in Eclipse Kepler using Eclipse market place.
But I am unable to access it after the installation.
When I go to Window → Preferences and search for PMD, I get no results.
Is there any other plugin available for source code cleanup?
Or: What needs to be done to install PMD in Kepler?
Thanks
I found the PMD plugin that installs through Eclipse Marketplace to be harder to use than the standalone one. Install available by an Eclipse update site here.
I've tried all these suggestions and now i have it working in Kepler; here's how to do it:
I made sure my Eclipse Kepler instance was using Java 7--it was.
The link from the eclipse marketplace did not work. It would show a PMD option for the individual projects properties, but there were no rules to select from. Also the main workspace preferences were not showing up.
I had to install it using this update site, as Jeanne Boyarsky mentioned:
http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
Restart Kepler.
The PMD option now shows up in the Windows->Preferences->PMD
The PMD project menu now shows up when right clicking on the project.
The install information on the web site for this plugin http://acanda.github.io/eclipse-pmd/getting-started.html says you must open the Properties for a project and look at the PMD tab.
If you've installed the PMD plug-in using the Eclipse market place then you're using eclipse-pmd which requires Eclipse to run on a JVM version 7 or later. If you're running Eclipse on a JVM version 6 or earlier and you're using eclipse-pmd 0.7 or earlier the PMD property page won't be visible.
To solve this problem you have to run Eclipse on a JVM version 7 or later. To change the JVM on which Eclipse runs you have to set the parameter -vm in your eclipse.ini accordingly. The Eclipse Wiki explains how to specify the JVM.

Cannot upgrade/un-install m2eclipse plugin in Eclipse

I have Eclipse 3.6 with m2eclipse (Maven's plugin for Eclipse) 1.1, it works.
And now I want to try m2eclipse version 1.4, I upgrade it directly and find I cannot see Maven in any menu. Then I try to uninstall and re-install it but I always get this message and Eclipse doesn't install anything.
Your original request has been modified.
"m2e - Maven Integration for Eclipse" is already present because other installed
software requires it. It will be added to the installed software list.
Finally, I try to search all files contain "m2e" and delete them from Eclipse's directory, but still get the same message, any suggestion to un-install m2eclipse?
ps: I use Eclipse Help > About eclipse > Installation details to un-install and restart to make sure m2e is not in Eclipse before re-install. I also use -clean parameter but still the same.
You can remove the m2e plugin in Eclipse Help > About eclipse > Installation details. You should find all the m2e to uninstall.
Edit :
You could also reload eclipse with the -clean option so any cached data used by the OSGi framework and eclipse runtime will be wiped clean

Unable to run PMD in STS 3.1.0 (uses Eclipse JUNO)

I installed Eclipse-pmd plugin in my STS 3.1.0. But the "PMD" option doesnt show up in my STS. couldnt run PMD.
If you right-click on any Java file in Eclipse, do you see the option for PMD? If you go to Eclipse Preferences, do you see a configuration entry from PMD? If neither of the above it true, then please reinstall the PMD plug-in.
Unlike FindBug or CheckStyle, the PMD plug-in does not pre-configure what rules to check. You have to go to Eclipse Preferences -> PMD -> Rule Configuration and pick which rules you want use.