Apache

Docs Plugins

Invoker Plugin 3.10.1 · Other versions

The Maven Invoker Plugin is used to run a set of Maven projects. The plugin can determine whether each project execution is successful, and optionally can verify the output generated from a given project execution.

Source
Edit this page
Wrong?
Report a problem

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.10.1</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