<?xml version="1.0" encoding="UTF-8"?>
<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>pmd</artifactId>
    <name>PMD</name>
    <version>5.1.0-SNAPSHOT</version>

    <build>
        <plugins>
            <plugin>
              <groupId>net.sourceforge.pmd</groupId>
              <artifactId>pmd-build</artifactId>
              <version>0.7-SNAPSHOT</version>
              <configuration>
                <siteXml>${basedir}/target/unit/sample-pmd/src/site/site.pre.xml</siteXml>
                <siteXmlTarget>${basedir}/target/unit/sample-pmd/src/site/site.xml</siteXmlTarget>
                <target>${basedir}/target/unit/sample-pmd/target/generated-xdocs/rules</target>
                <rulesetsDirectory>${basedir}/target/unit/sample-pmd/src/main/resources/rulesets/</rulesetsDirectory>
              
                <!-- The defined stubs -->
                <project implementation="net.sourceforge.pmd.maven.stubs.ProjectStub"/>
              </configuration>
              <executions>
                <execution>
                <phase>pre-site</phase>
                <goals>
                  <goal>pmd-pre-site</goal>
                </goals>
                </execution>
              </executions>
            </plugin>
        </plugins>
    </build>
    <dependencies>
    </dependencies>
</project>
