Fork me on GitHub

install:install

Full name:

org.apache.maven.plugins:maven-install-plugin:4.0.0-beta-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 not marked as thread-safe and thus does not support 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).
<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 before the deferred installation has started, none of the reactor projects is installed. If a failure occurs during the deferred installation itself, an explicit inventory of the projects already installed and those skipped is logged. (experimental)
<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.

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

<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 before the deferred installation has started, none of the reactor projects is installed. If a failure occurs during the deferred installation itself, an explicit inventory of the projects already installed and those skipped is logged. (experimental)
  • Type: boolean
  • Since: 2.5
  • Required: No

<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