Skipping Invocations

The Invoker Plugin usually performs an installation setup and runs the configured Maven invocations. Since version 1.4 of the plugin all these steps may be skipped.

To skip running the invocations for a particular project, set the skipInvocation property to true. The artifact staging to a local repository can be skipped by setting the parameter skipInstallation to true.

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-invoker-plugin</artifactId>
        <version>3.1.0</version>
        <configuration>
          <skipInstallation>true</skipInstallation>
          <skipInvocation>true</skipInvocation>
        </configuration>
      </plugin>
    </plugins>
  </build>
  ...
</project>

All these steps can also be omited via the command line by use of the invoker.skip property:

mvn install -Dinvoker.skip=true