I want to run mvn versions:dependency-updates-report to generate a report of new dependencies versions. When I run it from command line I get
[ERROR] Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.1:dependency-updates-report (default-cli) on project PROJECT_NAME: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.1:dependency-updates-report failed: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.1:dependency-updates-report: org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext
Looks like 2.1 is the most fresh version available. Also I use:
Apache Maven 3.2.3 Java version: 1.6.0_45, vendor: Sun Microsystems Inc. OS name: "windows 7"
Whats wrong?
Update: same story with empty POM and Maven 2.2.1 Is there a single person who was able to run this goal? :)
UPDATE 2
My POM ran with Maven 2 or 3:
<project xmlns="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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.javagames.app</groupId>
<artifactId>MavenGames</artifactId>
<version>1.0-SNAPSHOT</version>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.1</version>
<reportSets>
<reportSet>
<reports>
<report>dependency-updates-report</report>
<report>plugin-updates-report</report>
<report>property-updates-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>