install:install

Full name:

org.apache.maven.plugins:maven-install-plugin:3.1.3:install

Description:

Installs the project's main artifact, and any other artifacts attached by other plugins in the lifecycle, to the local repository.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: install.

Optional Parameters

Name Type Since Description
<allowIncompleteProjects> boolean 3.1.1 Set this to true to allow incomplete project processing. By default, such projects are forbidden and Mojo will fail to process them. Incomplete project is a Maven Project that has any other packaging than "pom" and has no main artifact packaged. In the majority of cases, what user really wants here is a project with "pom" packaging and some classified artifact attached (typical example is some assembly being packaged and attached with classifier).
Default: false
User Property: allowIncompleteProjects
<installAtEnd> boolean 2.5 Whether every project should be installed during its own install-phase or at the end of the multimodule build. If set to true and the build fails, none of the reactor projects is installed. (experimental)
Default: false
User Property: installAtEnd
<skip> boolean 2.4 Set this to true to bypass artifact installation. Use this for artifacts that do not need to be installed in the local repository.
Default: false
User Property: maven.install.skip

Parameter Details

<allowIncompleteProjects>

Set this to true to allow incomplete project processing. By default, such projects are forbidden and Mojo will fail to process them. Incomplete project is a Maven Project that has any other packaging than "pom" and has no main artifact packaged. In the majority of cases, what user really wants here is a project with "pom" packaging and some classified artifact attached (typical example is some assembly being packaged and attached with classifier).
  • Type: boolean
  • Since: 3.1.1
  • Required: No
  • User Property: allowIncompleteProjects
  • Default: false

<installAtEnd>

Whether every project should be installed during its own install-phase or at the end of the multimodule build. If set to true and the build fails, none of the reactor projects is installed. (experimental)
  • Type: boolean
  • Since: 2.5
  • Required: No
  • User Property: installAtEnd
  • Default: false

<skip>

Set this to true to bypass artifact installation. Use this for artifacts that do not need to be installed in the local repository.
  • Type: boolean
  • Since: 2.4
  • Required: No
  • User Property: maven.install.skip
  • Default: false