<?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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.maven.its.mng2339</groupId>
  <artifactId>bad-project-interpolation</artifactId>
  <version>1.0-SNAPSHOT</version>

  <!--
    NOTE: This actually tests that the ${project.version} expression
    in the version of a DEPENDENCY in the project-interpolation plugin
    gets the correct value, despite a -Dversion=foo command-line property!
  -->
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.its.plugins</groupId>
        <artifactId>maven-it-plugin-project-interpolation</artifactId>
        <version>2.1-SNAPSHOT</version>
        <configuration>
          <myDirectory>${project.build.directory}/foo</myDirectory>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>check-plugin</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
