Skip to main content
Version: 5.2.0.0

Maven-Builder

Definition​

The mavenbuilder is a command line tool that is used to manage dependencies of scenarios.


How to Use​

To use the tool:

  1. Open your Command Prompt or Terminal.
  2. Navigate to the directory where the Maven Builder is located.
  3. Enter the command mavenbuilder with the desired commands and options:
mavenbuilder <command(s)> <option(s)>

Example:

mavenbuilder validate compile install --source=<path to source directory> --userSettings=<path to user setting file> --skipErrors=all

Supported Commands​

CommandDescription
compileCompiles a PSC file from a scenario.
validateValidates all scenario elements.
deployDeploys a PSC file to a remote repository.
installInstalls a PSC file to the local repository.
updateAutomatically updates library imports.
verifyChecks if imported elements were locally changed and are inconsistent with the importing scenario.
cleanpscRemoves test cases from the PSC file.

Supported Options​

OptionsDescription
--offlineDo not access remote repositories.
--userSettings=<path>Path to the maven user settings file.
--target=<path>Path to the target directory.
--source=<path>Path to a workspace or scenario directory.
--skipErrors=<all / comma separated list of commands>Specifies if the errors in the given commands should be ignored.
--skipTransitiveUpdateUpdates only direct dependencies. Does not follow the transitive dependencies.
--preserveKeeps the test cases in the final PSC file.

note

If the source directory is a workspace folder, the commands will be applied to all scenario folders. If the source directory is a scenario, only that scenario will be processed.

If a target directory is given (--target option), all generated PSC files will also be stored in the target directory. If not, a temporary target directory will be used and automatically deleted after the build.