Using Maven 3 beta 1... I have the following XML snippet in my pom.xml:
env-dev
true
maven-antrun-plugin
echodir
run
verify
false
Build Dir: ${project.build.directory}
....
Note that the version tag is commented out. The version that was downloaded
by Maven was from this URL:
https://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-antrun-plugin/
and specifically it used version 1.3:
Downloading:
https://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.jar
How does Maven know which version to download when the version is not
specified? thx.
BTW, I have the following in my settings.xml:
jboss-public-repository
jboss-public-repository-group
JBoss Public Maven Repository Group
https://repository.jboss.org/nexus/content/groups/public/
default
true
never
true
never
jboss-public-repository-group
JBoss Public Maven Repository Group
https://repository.jboss.org/nexus/content/groups/public/
default
true
never
true
never
jboss-public-repository
--
View this message in context:
http://maven.40175.n5.nabble.com/how-does-Maven-determine-which-version-to-download-for-a-plugin-when-no-version-specified-tp512519p512519.html
Sent from the Maven - Users mailing list archive at Nabble.com.
