How to include or exclude a module from a Squash-TA project?

By default the following modules are added to your Squash-TA automation project:

    • The common components module

    • The database module

    • The FTP module

    • The SSH module

    • The filechecker module

    • The SAHI module

    • The Selenium module

    • The SoapUI module

It is possible to add a module to an automation project which is not part of the default dependencies. To do that, the module you want to add must be added to the Squash-TA plugin dependencies in the pom.xml file of your Squash-TA automation project in the following way:

Include a module:

<build>

<plugins>

<plugin>

<groupId>org.squashtest.ta</groupId>

<artifactId>squash-ta-maven-plugin</artifactId>

<version>1.1.0-RELEASE</version>

<dependencies>

<dependency>

<groupId><groupId du module à ajouter></groupId>

<artifactId><artifactId du module à ajouter></artifactId>

<version><version plugin à ajouter></version>

</dependency>

<dependencies>

In the same way, it is possible to exclude a module which is part of the default dependencies. It must be done in the following way:

Exclude a module:

<build>

<plugins>

<plugin>

<groupId>org.squashtest.ta</groupId>

<artifactId>squash-ta-maven-plugin</artifactId>

<version>1.1.0-RELEASE</version>

<dependencies>

<dependency>

<groupId>org.squashtest.ta</groupId>

<artifactId>(attendre résolution fiche 1240)</artifactId>

<version><version des plugins par défaut></version>

<exclusions>

<exclusion>

<groupId><groupId du plugin à exclure></groupId>

<artifactId><artifactId du plugin à exclure></artifactId >

</exclusion>

</exclusions>

</dependency>

</dependencies>