<p>If I type the command:</p>

<pre><code>mvn dependency:list
</code></pre>

<p>The <a href="http://maven.apache.org/plugins/maven-dependency-plugin/" rel="nofollow noreferrer">docs</a> suggest that I'll get a list of my project's dependencies. Instead though, I get this:</p>

<pre><code>[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] -----------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] -----------------------------------------------------------
[INFO] Required goal not found: dependency:list
</code></pre>

<p>Call me a hopeful naive, but I had hoped maven would download any plugins it didn't have. Does anyone know what might be leading to this error? Does anyone know where maven stores information about what plugins it has installed, and where they're stored in the maven repository?</p>

Have you tried
```
mvn -cpu dependency:list
```
(or:
```
mvn --check-plugin-updates dependency:list
```
)? Probably, you have older version of dependency plugin which does not have goal
```
list
```
If this does not help, try upgrading Maven. Since 2.0.9 default versions are provided by the Super POM for most important plugins (dependency plug-in included), so 2.0 version will be downloaded (which has
```
list
```
goal).
Or you can try removing the cached version of the plug-in from the repository  (
```
~/.m2/repository/org/apache/maven/plugins/maven-dependency-plugin/
```
, where
```
~
```
is the user home directory).