NOTE: nitsch-dev is a "running mode" on a development machine: build your own by using /geoid-samples/src/main/resources/META-INF/cocoon/properties/nitsch-dev/geoid-samples.properties as a blueprint
<repositories>
<repository>
<id>cocoondev</id>
<name>Cocoondev Maven repository</name>
<url>http://www.lucamorandini.it/maven</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.cocoondev</groupId>
<artifactId>geoid-samples</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<version>1.1</version>
<dependencies>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-trax</artifactId>
<version>1.6.5</version>
</dependency>
</dependencies>
<executions>
<execution>
<!--
Since a bug in antrun prevents tests
to be skipped (see MANTRUN-75
http://jira.codehaus.org/browse/MANTRUN-75?
page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
), this test task is bind to the post-site phase,
to avoid having tests run at evey "mvn install"
-->
<phase>post-site</phase>
<configuration>
<tasks unless="maven.test.skip">
<property environment="env"/>
<property name="webtest.home" value="${env.WEBTEST_HOME}"/>
<property name="test.home"
value="./target/work/blocks/geoid-samples/test"/>
<condition property="sys" value="${sys}" else="localhost">
<available file="${test.home}/includes/${sys}.properties"/>
</condition>
<property file="${test.home}/includes/${sys}.properties"/>
<property file="${test.home}/includes/test.properties"/>
<echo message="Starting test on ${sys} system"/>
<ant antfile="build.xml" inheritAll="true" dir="${test.home}"
target="wt.full"> </ant>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>