The install
phase is responsible for installing artifacts into local cache stores. This mainly refers to the Maven repository, but a well-known example is also the OSGi Bundle repository, supported by the maven-bundle-plugin.
The deploy
phase is responsible for installing artifacts in published repositories . This usually refers to remote repositories, but it may well be a local repository open to the outside world.
Like all Maven phases, you can do whatever you want with them. You can shuffle the phases of the plugins as you see fit, but the semantics above are common and you must stick to them to match the default phases for other purposes of the plugins.
source share