| <?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.mng3747</groupId> |
| <artifactId>project</artifactId> |
| <version>1</version> |
| <packaging>pom</packaging> |
| |
| <name>Maven Integration Test :: MNG-3747</name> |
| <description> |
| Test that expressions prefixed with "project.|pom." that reference build paths which are given as relative paths |
| in the POM are still interpolated with absolute paths when used in String-type plugin parameters. |
| </description> |
| |
| <build> |
| <!-- NOTE: Intentionally a relative path! --> |
| <directory>relative</directory> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.its.plugins</groupId> |
| <artifactId>maven-it-plugin-configuration</artifactId> |
| <version>2.1-SNAPSHOT</version> |
| <executions> |
| <execution> |
| <id>test</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>config</goal> |
| </goals> |
| <configuration> |
| <propertiesFile>target/config.properties</propertiesFile> |
| <stringParam>path is: ${project.build.directory}/somepath</stringParam> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |