invoker:install

Full name:

org.apache.maven.plugins:maven-invoker-plugin:1.5:install

Description:

Installs the project artifacts of the main build into the local repository as a preparation to run the sub projects. More precisely, all artifacts of the project itself, all its locally reachable parent POMs and all its dependencies from the reactor will be installed to the local repository.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Since version: 1.2.
  • Binds by default to the lifecycle phase: pre-integration-test.

Optional Parameters

Name Type Since Description
localRepositoryPath File 1.2 The path to the local repository into which the project artifacts should be installed for the integration tests. If not set, the regular local repository will be used. To prevent soiling of your regular local repository with possibly broken artifacts, it is strongly recommended to use an isolated repository for the integration tests (e.g. ${project.build.directory}/it-repo).
skipInstallation boolean 1.4 A flag used to disable the installation procedure. This is primarily intended for usage from the command line to occasionally adjust the build.
Default value is: false.

Parameter Details

localRepositoryPath:

The path to the local repository into which the project artifacts should be installed for the integration tests. If not set, the regular local repository will be used. To prevent soiling of your regular local repository with possibly broken artifacts, it is strongly recommended to use an isolated repository for the integration tests (e.g. ${project.build.directory}/it-repo).
  • Type: java.io.File
  • Since: 1.2
  • Required: No
  • Expression: ${invoker.localRepositoryPath}

skipInstallation:

A flag used to disable the installation procedure. This is primarily intended for usage from the command line to occasionally adjust the build.
  • Type: boolean
  • Since: 1.4
  • Required: No
  • Expression: ${invoker.skip}
  • Default: false