
Since these are fake errors they only create "noise". Once the maven projects are imported into the workspace there will be a series of Java Problems in the Markers tab on the "dspace-api" project due to access to private attributes via autogenerated classes. Import the parent pom directly from eclipse and select all projects. Select the entry just found and continue with the installation by clicking nextĬonfigure checkstyle using the following guide: Code Style Guide - DSpace - LYRASIS WikiĬreating the configuration for each project can be skipped by going to window > preferences > checkstyle and adding the configuration there (and optionally setting it as default), making sure to put //checkstyle.xml in the location field In the result box open the “checkstyle“ dropdown and scroll down until you find “Eclipse Checkstyle Plug-in“ version 8.05102159

Uncheck “show only the latest versions of available software“ The version used should be the same one used by the maven plugin in dspace (currently 8.30), but since 8.30 is no longer available 8.41.1 should be installed using the following steps:Īfter adding both sources select in the “Work with“ dropdown checkstyle’s url

Install the CheckStyle Eclipse plugin: Eclipse Checkstyle Plugin Version: 2018-12 (4.10.0) available here newest versions don’t work Create a custom policy and disable SELinux with setenforce 0.Įclipse IDE for Enterprise Java Developers.

NB: with SELinux the startup is blocked by policy.
