The deploy plugin is primarily used during the deploy phase, to add your artifact(s) to a remote repository for sharing with other developers and projects.
The deploy plugin is primarily used during the deploy phase, to add your artifact(s) to a remote repository for sharing with other developers and projects.
This plugin has a default binding to the deploy
phase, which is also the last phase of the default Maven lifecycle. Hence, Maven will firstly invoke any preceding phase, build the required artifact and lastly use this plugin to deploy it.
Check the official usage page for a first look at how to use it.