You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2011/07/06 00:22:58 UTC
svn commit: r1143216 -
/maven/plugins/branches/maven-site-plugin-3.x/src/site/apt/maven-3.apt.vm
Author: hboutemy
Date: Tue Jul 5 22:22:58 2011
New Revision: 1143216
URL: http://svn.apache.org/viewvc?rev=1143216&view=rev
Log:
explained the removal or reportSets element in Maven 3 format: it is a new feature to ease configuration in usual cases
Modified:
maven/plugins/branches/maven-site-plugin-3.x/src/site/apt/maven-3.apt.vm
Modified: maven/plugins/branches/maven-site-plugin-3.x/src/site/apt/maven-3.apt.vm
URL: http://svn.apache.org/viewvc/maven/plugins/branches/maven-site-plugin-3.x/src/site/apt/maven-3.apt.vm?rev=1143216&r1=1143215&r2=1143216&view=diff
==============================================================================
--- maven/plugins/branches/maven-site-plugin-3.x/src/site/apt/maven-3.apt.vm (original)
+++ maven/plugins/branches/maven-site-plugin-3.x/src/site/apt/maven-3.apt.vm Tue Jul 5 22:22:58 2011
@@ -81,7 +81,7 @@ Maven Site Plugin with Maven 3.x
The <<<\<reporting\>>>> section of the POM has been moved to the Site Plugin's configuration for Maven 3.
The content of the configuration has been kept as similar as possible to Maven 2.
- The <<<maven-reporting-exec>>> component transforms the configuration on the fly.
+ The <<<{{{/shared/maven-reporting-exec/}maven-reporting-exec}}>>> component transforms the configuration on the fly.
** Old configuration (Maven 2)
@@ -122,9 +122,6 @@ Maven Site Plugin with Maven 3.x
Reports are configured in the configuration for <<<maven-site-plugin>>> as <<<\<reportPlugins\>>>> elements.
-~~~ TODO: why are there <reportSets><reportSet> in previous Maven 2 example, but not in Maven 3?
-~~~ Both should represent the same configuration. If the difference is expected, should explain why.
-
+-----+
<build>
<plugins>
@@ -143,6 +140,7 @@ Maven Site Plugin with Maven 3.x
<dependencyDetailsEnabled>false</dependencyDetailsEnabled>
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
</configuration>
+ <!-- simpler configuration without reportSets available for usual cases -->
<reports>
<report>dependencies</report>
<report>scm</report>
@@ -158,7 +156,7 @@ Maven Site Plugin with Maven 3.x
</plugin>
</plugins>
</build>
-+-----+
++-----+
* Version Resolution