It’s Maven 3.0. I’m creating a new project:
mvn archetype:create
Then I’m creating a file site/site.xml:
<project name="foo">
<body>
<menu name="Overview">
<item name="Introduction" href="index.html" />
</menu>
<menu ref="reports" />
</body>
</project>
Then I’m adding a reporting plugin to pom.xml:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.1.1</version>
</plugin>
</plugins>
</reporting>
Then I run mvn site and it says "BUILD SUCCESS". But I don’t see any reports in project site (reporting menu item is not there). What am I doing wrong?
Maven 3 reporting is different.