How to run concordion test with maven

Creating a different profile to run the acceptance tests.

An example given here:

 

    <profiles>
        <profile>
            <id>test</id>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-surefire-plugin</artifactId>

                            <version>2.17</version>
                            <configuration>
                                <argLine>-Xms1024m -Xmx1024m</argLine>
                                <testFailureIgnore>false</testFailureIgnore>
                                <skip>false</skip>
                                <includes>
                                    <include>**/Index.java</include>
                                </includes>
                                <argLine>-Dconcordion.output.dir=target/concordion</argLine>
                            </configuration>
                        </plugin>
                    </plugins>
                </pluginManagement>
            </build>
        </profile>
    </profiles>

你可能感兴趣的:(maven,Concordion)