I'm reading the docs and still confused as to how Maven is deciding which versions of plugins to download.
For example, consider this simple scenario:
- an empty local repository
- a default settings.xml
- run a simple maven command. for example,
mvn archetype:generate
for themaven-archetype-quickstart
as described in the Maven in 5 Minutes doc.
After running the command, the first thing Maven does is download a bunch of plugins.
Some of the plugins Maven is downloading include:
- maven-clean-plugin-2.4.1
- maven-install-plugin-2.3.1
- maven-deploy-plugin-2.5
Why those versions?
The most recent version of these plugins are:
- maven-clean-plugin-2.5
- maven-install-plugin-2.5.1
- maven-deploy-plugin-2.8.1
I looked at the LATEST version metadata for maven-clean-plugin and it's 2.5
It's not that I necessarily want to force Maven to use different versions of these plugins, I just want to understand WHY it's resolving to those versions.
I'm using Apache Maven 3.0.3