> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# testApplication

> The testApplication operation runs Maven, defaulting to the Test Phase. Target Properties Property Name Property Code Required Description Maven Home

The `testApplication` operation runs Maven, defaulting to the Test Phase.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Maven Home</td><td>`FDMVN_MAVEN_HOME`</td><td>No</td><td>If it is desired to use an external Maven, fill in the Maven Home here. Otherwise, the internal Maven 3.05 will be used.</td></tr><tr><td>Maven Environment Script</td><td>`FDMVN_MAVEN_ENV_SCRIPT`</td><td>No</td><td>If necessary, provide a script to source variables for use by the Maven Plugin.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Project Location</td><td>`FDMVN_PROJECT_LOCATION`</td><td>No</td><td>Path to the project which contains a POM file. If a relative path is given, a path inside of the `FD_TEMP_DIR` will be assumed.</td></tr><tr><td>Run Phases</td><td>`FDMVN_RUN_PHASES`</td><td>Yes</td><td>Space-delimited Maven life cycle phases to execute, (e.g. `test`). Defaults to test.</td></tr><tr><td>Arguments</td><td>`FDMVN_ARGS`</td><td>No</td><td>Space-delimited argument list (e.g. `-B -fae -X -Dhttp.port=9876`)</td></tr></tbody></table>

# Artifacts

This operation produces artifacts that will be stored in the artifacts repository.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
