m2e-code-quality

Add this URL to your Eclipse Installation to reach this solution's update site.

Neon (4.6)
Mars (4.5)
Luna (4.4)
Kepler (4.3)
Juno (4.2, 3.8)
Previous to Juno (<=4.1)
Oxygen (4.7)
Photon (4.8)
2018-09 (4.9)


Learn more...

Details Group Tabs

Monday, September 24, 2018 - 23:23
mkraft3j7's picture

I'm trying to install this in Photon, but it's failing because it can't find "osgi.bundle; org.eclipse.m2e.jdt [1.0.0,1.9.0)"

 

Cannot complete the install because one or more required items could not be found.
  Software being installed: Checkstyle configuration plugin for M2Eclipse 1.0.0.201705301746 (com.basistech.m2e.code.quality.checkstyle.feature.feature.group 1.0.0.201705301746)
  Missing requirement: M2Eclipse Project Configurator for Eclipse Checkstyle 1.0.0.201705301746 (com.basistech.m2e.code.quality.checkstyle 1.0.0.201705301746) requires 'osgi.bundle; org.eclipse.m2e.jdt [1.0.0,1.9.0)' but it could not be found
  Cannot satisfy dependency:
    From: Checkstyle configuration plugin for M2Eclipse 1.0.0.201705301746 (com.basistech.m2e.code.quality.checkstyle.feature.feature.group 1.0.0.201705301746)
    To: org.eclipse.equinox.p2.iu; com.basistech.m2e.code.quality.checkstyle [1.0.0.201705301746,1.0.0.201705301746]

eborel's picture

Nice plugin in theory but the checkstyle file generated in Eclipse Oxygen is useless as it does not target java file :( It also override any change done to it. A fix would be very welcome :)

jreimann's picture

I really like this plugin. It is just awesome.

Unfortunately it stopped working when maven-checkstyle-plugin version 3.0 is used. The plugin creates a checkstyle configuration which doesn't include the "*.java" files anymore. Which renders the whole setup useless.

Looking forward to a fix!

pgalbraithrn1's picture

Until this is fixed, a very easy workaround to get things working is to add this to your maven-checkstyle-plugin configuration in pom.xml:

<sourceDirectories>${project.compileSourceRoots}</sourceDirectories>
<testSourceDirectories>${project.testCompileSourceRoots}</testSourceDirectories>
wrodriguesu7q's picture

Cannot complete the install because one or more required items could not be found.
Software being installed: Findbugs configuration plugin for M2Eclipse 1.0.0.201408150901 (com.basistech.m2e.code.quality.findbugs.feature.feature.group 1.0.0.201408150901)
Missing requirement: M2Eclipse Project Configurator for Eclipse Findbugs 1.0.0.201408150901 (com.basistech.m2e.code.quality.findbugs 1.0.0.201408150901) requires 'bundle org.eclipse.m2e.jdt [1.0.0,1.6.0)' but it could not be found
Cannot satisfy dependency:
From: Findbugs configuration plugin for M2Eclipse 1.0.0.201408150901 (com.basistech.m2e.code.quality.findbugs.feature.feature.group 1.0.0.201408150901)
To: com.basistech.m2e.code.quality.findbugs [1.0.0.201408150901]

aokeeffe's picture

Hi,

somehow there is the wrong update site in the listing. Please use /latest/ instead of /1.0.0/.

Thanks,

Arlo

aokeeffe's picture

The listing was updated. Therefore the normal installation should work.