1. Overview

This article describes the install plugin, one of the core plugins of the Maven build tool.

For an overview of the other core plugins, refer to this article.

2. Plugin Goals

We use the install plugin to add artifacts to the local repository. This plugin is included in the super POM, therefore a POM doesn't need to explicitly include it.

The most noteworthy goal of this plugin is install, which is bound to the install phase by default.

Other goals are install-file used to automatically install external artifacts into the local repository, and help showing information on the plugin itself.

In most cases, the install plugin doesn't need any custom configuration. That's why we won't dive deeper into this plugin.

3. Conclusion

This post gave a brief introduction to the install plugin.

We can find more information about this plugin on the Maven website.

Next »
The Maven Failsafe Plugin
« Previous
Maven Compiler Plugin
Generic bottom

Get started with Spring 5 and Spring Boot 2, through the Learn Spring course:

Comments are closed on this article!