GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing docs.pmd-code.org — Error Prone | PMD Source Code Analyzer
Release date: 28-December-2026
Error ProneRules to detect constructs that are either broken, extremely confusing or prone to runtime errors.
Table of ContentsInvalidDependencyTypesSince: PMD 5.4 Priority: Medium (3) If you use an invalid dependency type in the dependency management section, Maven doesn’t fail. Instead, the entry is just ignored, which might have the effect, that the wrong version of the dependency is used. The following types are considered valid: pom, jar, maven-plugin, ejb, war, ear, rar, par. This rule is defined by the following XPath expression: Example(s): This rule has the following properties:
Use this rule with the default properties by just referencing it: Use this rule and customize it: ProjectVersionAsDependencyVersionSince: PMD 5.4 Priority: Medium (3) Using that expression in dependency declarations seems like a shortcut, but it can go wrong. By far the most common problem is the use of ${project.version} in a BOM or parent POM. This rule is defined by the following XPath expression: Example(s): Use this rule by referencing it: | ||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |