<?xml version="1.0" encoding="UTF-8"?>
<project>
...
<build>
<plugins>
<plugin>
<groupId>org.phpmaven</groupId>
<artifactId>maven-php-plugin</artifactId>
<version>1.1-SNAPSHOT</version>
<configuration>
<!-- the command which is executed on each file-->
<command>python *{file}</command>
<!-- the command which is executed on startup of the test process -->
<startupCommand>
export PYTHONPATH=*{sourceDirectory}*{file.pathSeparator}*{includeDirectory}*{file.pathSeparator}*{testDirectory}
</startupCommand>
</configuration>
<extensions>true</extensions>
<!-- the test goal parses the output of the script and searches for errors -->
<errorIdentifiers>
<errorIdentifier>Error:</errorIdentifier>
</errorIdentifiers>
</plugin>
</plugins>
</build>
...
<dependencies>
<dependency>
<groupId>org.sample.scirpt</groupId>
<artifactId>samplescript
</artifactId>
<version>1.1-ALPHA</version>
</dependency>
</dependencies>
</project>