Apache Maven is a Java project management and automation tool. In Agilitest, ATS projects are all Maven projects.
Maven installation
To install Maven, download the Maven runtime binaries: https://maven.apache.org/download.cgi
We recommand to place this file in a “Tools” folder on your system.
Then go to your computer's System settings > Advanced settings.

Open the environment variable settings, then select “Path”.
%20(1).png)
Add a new variable and select the bin file you have downloaded.K, pour valider la configuration.
%20(1).png)
Click on OK to confirm the modifications.
Once Maven is installed, you can launch Agilitest.
Launching Maven with Agilitest
To integrate an ATS project into a continuous integration workflow, you can use the standard Maven commands.
To access Maven commands, right-click on a script > Run the script
Then click on “Command lines”
.png)
Open a terminal (and position yourself in the project directory) or click on the button at bottom right, then copy the command line.
.png)
The “mvn clean package” command will create a .jar file containing all the project tests, which you can find in your project's “target” folder.
This file contains the project name and version, which you can also find in the project properties.
Project Explorer> Project properties.
.png)
This represents the GAV (group, artifact, version) with :
Group = Domain
Artifact = Project’s name
Version = Project’s version
There are 2 ways of integrating the generated file into a continuous integration process:
- By Placing the generated .jar in a directory to be declared in the classpath of the test run.
- By Integrating the .jar into a pom.xml file:
<dependency>
<groupId>*Domain*</groupId>
<artifactId>*Project_name*</artifactId>
<version>*Version*</version>
</dependency>
Example with the project properties of “Agilitestproject” (cf. image above) :
<dependency>
<groupId>com.functional</groupId>
<artifactId>Agilitestproject</artifactId>
<version>0.0.2</version>
</dependency>