pom.xml
<?xml version="1.0" ?><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>ch.devfactory.mollom</groupId>
<artifactId>mollom-package</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>mollom</name>
<build>
<plugins>
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<version>1.2.1</version>
<executions>
<execution>
<id>composer-webapp</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${basedir}/build/composer.sh</executable>
</configuration>
</execution>
<execution>
<id>test-webapp</id>
<phase>test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${basedir}/build/test.sh</executable>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>