Git Product home page Git Product logo

Comments (4)

acanda avatar acanda commented on September 24, 2024

Thanks for reporting the issue. Version 1.1 of eclipse-pmd is indeed missing a dependency (saxon). I'll release a new version by the end of the week.

The problem is triggered by either of the following two rules:

    <rule ref="rulesets/java/controversial.xml/OneDeclarationPerLine" />
    <rule ref="rulesets/java/controversial.xml/AvoidLiteralsInIfCondition" />

You can disable them as a temporary workaround until I release the new version.

from eclipse-pmd.

acanda avatar acanda commented on September 24, 2024

I released version 1.1.1 which fixes this problem. All you need to do is update eclipse-pmd.

from eclipse-pmd.

ianbrandt avatar ianbrandt commented on September 24, 2024

Verified. Thanks! Unfortunately http://sourceforge.net/p/pmd/bugs/1230/ and http://sourceforge.net/p/pmd/bugs/1234/ are giving me hundreds of false positives. Here's looking forward to 5.1.3.

from eclipse-pmd.

acanda avatar acanda commented on September 24, 2024

I'm eagerly awaiting PMD 5.1.3 as well.

If PMD 5.1.2 is too buggy for you, you can go back to eclipse-pmd 1.0.2 which uses PMD 5.1.1 by executing the following steps in Eclipse:

  • uninstall the current eclipse-pmd plug-in
  • disable the update site http://www.acanda.ch/eclipse-pmd/release/latest
  • add the update site http://www.acanda.ch/eclipse-pmd/release/1.0
  • install eclipse-pmd 1.0.2

Please note that you won't get any updates with the update site http://www.acanda.ch/eclipse-pmd/release/latest disabled! However, I'll announce updates on Twitter. If you follow @eclipsepmd you'll be notified as soon as a new release is available.

from eclipse-pmd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.