I am able to run the FitNesse suite
from maven build with the following setup.
<properties>
<fitnesse.version>20160618</fitnesse.version>
</properties>
<dependencies>
<dependency>
<groupId>org.fitnesse</groupId>
<artifactId>fitnesse</artifactId>
<version>${fitnesse.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.fitnesse.plugins</groupId>
<artifactId>maven-classpath-plugin</artifactId>
<version>1.6</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>start-fitnesse-integration</id>
<phase>integration-test</phase>
<configuration>
<tasks>
<echo taskname="fitnesse" message="Starting FitNesse..." />
<java classname="fitnesseMain.FitNesseMain" classpathref="maven.runtime.classpath"
fork="true" failonerror="true">
<jvmarg value="-Xmx1024m" />
<arg line="-p 9000" />
<arg line="-c FrontPage.TestSuite?suite&amp;format=text" />
<arg line="-e 0" />
<!-- <arg line="-d ." /> -->
</java>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
I am running the FitNesse suite
using the below command.
mvn clean install
Now I want to configure execution of multiple FitNesse suites
as part of pom.xml
and want to run specific suite as part of maven build.
How can I achieve this?