GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [pom] Maven POM Rules don't check files named "pom.xml" · Issue #1540 · pmd/pmd Open DescriptionAffects PMD Version: Rule: Description: The Code Sample demonstrating the issue: Given this example <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>net.sourceforge.pmd</groupId> <artifactId>xml-pom</artifactId> <version>1.0.0-SNAPSHOT</version> <dependencies> <dependency> <groupId>x.y.z</groupId> <artifactId>z</artifactId> <version>${project.version}</version> </dependency> </dependencies> </project> and running PMD with # should report the dependency version in ~/pmd-pom-test/pom.xml pmd-bin-6.10.0/bin$ ./run.sh pmd -no-cache -d ~/pmd-pom-test/ -R category/pom/errorprone.xml/ProjectVersionAsDependencyVersion Doesn't show any violations. Renaming the file to # does report the dependency version in ~/pmd-pom-test/xml.pom pmd-bin-6.10.0/bin$ ./run.sh pmd -no-cache -d ~/pmd-pom-test/ -R category/pom/errorprone.xml/ProjectVersionAsDependencyVersion /home/kris/pmd-pom-test/xml.pom:11: Do not use project.version to express a dependency version. Running PMD through: CLI Activity
MetadataMetadataAssigneesLabelsa:bugPMD crashes or fails to analyse a file. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| 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. |