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.


« 上一篇: Maven 验证器插件
» 下一篇: Maven部署插件