Skip to content

PMD integration plugin build broken #125

Closed

Description

@vorburger

While looking at doing #123 for #124, I have noticed that the develop branch as is today is apparently broken?! https://travis-ci.org/m2e-code-quality/m2e-code-quality/jobs/421685334 has this build failure in the PMD integration plugin:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:compile (default-compile) on project com.basistech.m2e.code.quality.pmd: Compilation failure: Compilation failure:
[ERROR] /home/travis/build/m2e-code-quality/m2e-code-quality/com.basistech.m2e.code.quality.pmd/src/main/java/com/basistech/m2e/code/quality/pmd/EclipsePmdProjectConfigurator.java:[253]
[ERROR] 	public InputStream getInputStream(
[ERROR] 				                    final ClassLoader arg0)
[ERROR] 				                    throws RuleSetNotFoundException {
[ERROR] 	                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method getInputStream(ClassLoader) of type new RuleSetReferenceId(){} must override or implement a supertype method

I personally don't use PMD, so in order to unblock #123 for #124, I'll comment out the PMD plugin.

Pull Requests which fix the build an re-un-comment the PMD plugin are most welcome.

Activity

  1. adangel commented on Sep 13, 2018

    @adangel
    Member

    ok, the PMD issue is fixed. The remaining problem in the build is this:

    Failed to resolve target definition /home/travis/build/m2e-code-quality/m2e-code-quality/oxygen/oxygen.target: Could not find "org.eclipse.jdt.feature.group/3.13.1.v20170906-1700" in the repositories of the current location
    

    Background info on the PMD issue: While PMD itself uses semantic versioning, the eclipse-pmd-plugin doesn't, so at some point when the plugin updated PMD to >= 6.0.0 it started failing.

  2. vorburger commented on Sep 14, 2018

    @vorburger
    MemberAuthor

    @adangel thank you for fixing this! So Open Source Works (TM) (C) (R) and we can all work together to get this project back on track... ;-) it was cool to see someone jump on this (my secret hope when opening this issue) - I'll to blog about how people pulled together here.

    Lemme close this issue, as this problem is fixed, and let's track above under new #127.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions