This error occurs when you employ a plugin that Maven could not download. Possible causes for this error are:
<pluginRepository>to download the plugin. Note that
<repository>declarations are not considered when looking for the plugin and its dependencies, only
<pluginRepositories>are searched for plugins.
<id>of the plugin repository to use. See the Maven Settings Reference for more details.
<snapshots><enabled>false</enabled></snapshots>configured. Likewise, in order to resolve a released version of the plugin, the plugin repository should not be configured with
<releases><enabled>false</enabled></releases>. See the POM Reference for more information on repository configuration.
In those cases, check your POM and/or settings for the proper contents. If you configured the plugin repository in a profile of your
settings.xml, also verify that this profile gets actually activated, e.g. via invoking
In case of a general network-related problem, you could also consult the following articles:
Note: For performance reasons, Maven caches the information that the plugin could not be downloaded. Depending on your setup, you might need to clear this cache by adding the flag
-U to the command line for your corrections to take effect.