What command can I use to ask Maven for a list of the default repositories that it searches for its dependencies? If no such command exists, where else may I look to find this default list?
+2
A:
You can output the effective pom with the command
mvn help:effective-pom
There the default repositories are listed.
tangens
2010-05-20 20:15:03
A:
As a side-effect of displaying newer versions, the versions:display-dependency-updates
goal of the Versions Maven Plugin also displays the names of the repositories that it searches. To display the newer versions and the repository names, run
mvn versions:display-dependency-updates
Derek Mahar
2010-05-20 22:09:24
+1
A:
on the command line, execute
mvn help:evaluate
then, when prompted, enter
${project.repositories}
see http://maven.apache.org/plugins/maven-help-plugin/evaluate-mojo.html
seanizer
2010-05-20 22:28:29