I cannot get 'mvn dependency:tree' to work I am getting 'Required goal not found: dependency:tree'. I have Maven version: 2.0.4. And no, I do not have log4j-1.2.15.jar dependency.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:maven="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.xxx.mobile</groupId>
<artifactId>mobile-war</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>mobile war</name>
<scm>
<url>http://xxx/cgi-bin/viewvc.cgi/apps/packages/mobile-war/trunk/</url>
<connection>scm:svn:http://xxx/svn/apps/packages/mobile-war/trunk/</connection>
<developerConnection>scm:svn:http://xxx/svn/apps/packages/mobile-war/trunk/</developerConnection>
</scm>
<distributionManagement>
<repository>
<id>bluefly-corporate-repository</id>
<name>Bluefly Repository</name>
<uniqueVersion>false</uniqueVersion>
<url>file:///mnt/xxx-repository</url>
</repository>
</distributionManagement>
<repositories>
<repository>
<id>central</id>
<name>Internal Mirror of Central Repository</name>
<url>http://xxx/maven2</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Internal Mirror of Central Repository</name>
<url>http://xxx/maven2</url>
</pluginRepository>
</pluginRepositories>
<build>
<finalName>iphone</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0</version>
<configuration>
<archive>
<manifestEntries>
<ATG-Module-Uri>test.war</ATG-Module-Uri>
<ATG-Context-Root>test</ATG-Context-Root>
<ATG-Module-Version>test.war</ATG-Module-Version>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>