Update PMD to the latest version and switch Eclipse Plugin

Description

The current available PMD version is 5.3.2. The good information is that the same version is now used in the PMD Eclipse plug-in. However, we are using in the builds 5.1.0 and thus we have some additional warnings in Eclipse that do not occur during the build. We should align the versions and thus have a warning free Eclipse work-space as well.

Note that from version 5.2.0 PMD is modularized, thus we need the pmd-java dependency.

Furthermore, the official PMD Eclipse does have some problems with the Update Site. We will switch the Plugin to the inofficial one at https://acanda.github.io/eclipse-pmd/

Environment

None

Activity

Show:
Patrice Bouillet
March 3, 2017, 7:16 AM

I will prepare everything but will wait until the latest PMD version 5.5.4 is integrated into the plugin (currently in progress): https://github.com/acanda/eclipse-pmd/pull/47

Technical User
March 3, 2017, 1:21 PM

SUCCESS: Integrated in

inspectIT - Integration #256
INSPECTIT-1948: updated PMD plugin and replaced eclipse PMD (stefan.siegl: 49c3e275ed4d070996428217ae2242cbe9e038b5)

  • (edit) resources/config/pmd/pmd_rules.xml

  • (add) inspectit.server/.eclipse-pmd

  • (edit) inspectit.shared.cs/.project

  • (edit) gradle/wrapper/gradle-wrapper.properties

  • (edit) inspectit.shared.cs/.classpath

  • (edit) inspectit.shared.all/.project

  • (add) inspectit.shared.cs/.eclipse-pmd

  • (delete) inspectit.shared.cs/.pmd

  • (edit) inspectit.ui.rcp/src/main/java/rocks/inspectit/ui/rcp/dialog/BusinessExceptionDialog.java

  • (edit) resources/oomph/inspectIT.setup

  • (edit) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/logback/LogInitializer.java

  • (edit) inspectit.agent.java/.project

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/template/AlertEMailTemplateType.java

  • (delete) inspectit.shared.all/.pmd

  • (delete) inspectit.server/.pmd

  • (edit) inspectit.shared.all/src/main/java/rocks/inspectit/shared/all/minlog/MinlogToSLF4JLogger.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/property/PropertyUpdateExecutor.java

  • (edit) inspectit.shared.all/src/main/java/rocks/inspectit/shared/all/serializer/schema/ClassSchemaManager.java

  • (add) inspectit.ui.rcp/.eclipse-pmd

  • (delete) inspectit.ui.rcp/.pmd

  • (edit) inspectit.server/.project

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/dao/impl/TimerDataAggregator.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/service/AgentStorageService.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/storage/CmrStorageManager.java

  • (edit) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/sensor/method/jdbc/PreparedStatementParameterHook.java

  • (edit) inspectit.shared.all/src/main/java/rocks/inspectit/shared/all/communication/data/JmxSensorValueData.java

  • (add) inspectit.agent.java/.eclipse-pmd

  • (edit) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/sensor/method/http/HttpHook.java

  • (delete) inspectit.agent.java/.pmd

  • (edit) inspectit.ui.rcp/src/main/java/rocks/inspectit/ui/rcp/handlers/OpenUrlHandler.java

  • (edit) inspectit.root.gradle

  • (add) inspectit.shared.all/.eclipse-pmd

Assignee

Patrice Bouillet

Reporter

Ivan Senic

Labels

None

Integrator

Stefan Siegl

Components

Sprint

None

Fix versions

Affects versions

Priority

Low
Configure