<?xml version="1.0" encoding="UTF-8"?>
<test-data>
    <test-code>
        <description>Simple POM file</description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
<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>1.0.0</version>
        </dependency>
    </dependencies>
</project>
     ]]></code>
        <source-type>xml</source-type>
    </test-code>
    <test-code>
        <description>Simple POM file with violation</description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
<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>
     ]]></code>
        <source-type>xml</source-type>
    </test-code>
</test-data>
