You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2009/08/26 11:55:50 UTC
svn commit: r807947 - in /maven/plugins/trunk/maven-pdf-plugin: pom.xml
src/site/xdoc/examples/configuring-reports.xml
Author: ltheussl
Date: Wed Aug 26 09:55:50 2009
New Revision: 807947
URL: http://svn.apache.org/viewvc?rev=807947&view=rev
Log:
Don't use snippet to avoid SNAPSHOTs in the docs
Modified:
maven/plugins/trunk/maven-pdf-plugin/pom.xml
maven/plugins/trunk/maven-pdf-plugin/src/site/xdoc/examples/configuring-reports.xml
Modified: maven/plugins/trunk/maven-pdf-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pdf-plugin/pom.xml?rev=807947&r1=807946&r2=807947&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pdf-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-pdf-plugin/pom.xml Wed Aug 26 09:55:50 2009
@@ -449,7 +449,6 @@
</plugins>
</build>
</profile>
-<!-- START SNIPPET: profile_pdf -->
<profile>
<id>pdf</id>
<activation>
@@ -511,6 +510,5 @@
</plugins>
</build>
</profile>
-<!-- END SNIPPET: profile_pdf -->
</profiles>
</project>
Modified: maven/plugins/trunk/maven-pdf-plugin/src/site/xdoc/examples/configuring-reports.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pdf-plugin/src/site/xdoc/examples/configuring-reports.xml?rev=807947&r1=807946&r2=807947&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pdf-plugin/src/site/xdoc/examples/configuring-reports.xml (original)
+++ maven/plugins/trunk/maven-pdf-plugin/src/site/xdoc/examples/configuring-reports.xml Wed Aug 26 09:55:50 2009
@@ -78,10 +78,48 @@
pom, similar to the following:
</p>
- <macro name="snippet">
- <param name="id" value="profile_pdf"/>
- <param name="file" value="/pom.xml"/>
- </macro>
+ <source><![CDATA[
+<project>
+ ...
+ <profile>
+ <id>pdf</id>
+ <reporting>
+ <plugins>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.1.2</version>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>cim</report>
+ <report>issue-tracking</report>
+ <report>license</report>
+ <report>mailing-list</report>
+ <report>plugins</report>
+ <report>project-team</report>
+ <report>scm</report>
+ <report>summary</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <build>
+ <defaultGoal>pdf:pdf</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pdf-plugin</artifactId>
+ <version>1.0</version>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ ...
+ <project>]]></source>
+
</subsection>
<subsection name="Maven Reporting Plugins Issues">