maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r780428 - in /maven/plugins/trunk/maven-pdf-plugin/src/site: apt/examples/site-phase-integration.apt apt/index.apt site.xml
Date Sun, 31 May 2009 14:13:32 GMT
Author: vsiveton
Date: Sun May 31 14:13:32 2009
New Revision: 780428

URL: http://svn.apache.org/viewvc?rev=780428&view=rev
Log:
o update doc

Added:
    maven/plugins/trunk/maven-pdf-plugin/src/site/apt/examples/site-phase-integration.apt
  (with props)
Modified:
    maven/plugins/trunk/maven-pdf-plugin/src/site/apt/index.apt
    maven/plugins/trunk/maven-pdf-plugin/src/site/site.xml

Added: maven/plugins/trunk/maven-pdf-plugin/src/site/apt/examples/site-phase-integration.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pdf-plugin/src/site/apt/examples/site-phase-integration.apt?rev=780428&view=auto
==============================================================================
--- maven/plugins/trunk/maven-pdf-plugin/src/site/apt/examples/site-phase-integration.apt
(added)
+++ maven/plugins/trunk/maven-pdf-plugin/src/site/apt/examples/site-phase-integration.apt
Sun May 31 14:13:32 2009
@@ -0,0 +1,60 @@
+ ------
+ Site Phase Integration
+ ------
+ Vincent Siveton
+ ------
+ 2009-05-31
+ ------
+
+~~ Licensed to the Apache Software Foundation (ASF) under one
+~~ or more contributor license agreements.  See the NOTICE file
+~~ distributed with this work for additional information
+~~ regarding copyright ownership.  The ASF licenses this file
+~~ to you under the Apache License, Version 2.0 (the
+~~ "License"); you may not use this file except in compliance
+~~ with the License.  You may obtain a copy of the License at
+~~
+~~   http://www.apache.org/licenses/LICENSE-2.0
+~~
+~~ Unless required by applicable law or agreed to in writing,
+~~ software distributed under the License is distributed on an
+~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+~~ KIND, either express or implied.  See the License for the
+~~ specific language governing permissions and limitations
+~~ under the License.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Site Phase Integration
+
+  The PDF plugin could be coupled with the Maven Site plugin to generate both site documentation
and pdfs.
+  To do it, you need to define a custom \<execution/\> tag:
+
++-----+
+<project>
+  ...
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-pdf-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>pdf</id>
+            <phase>site</phase>
+            <goals>
+              <goal>pdf</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${project.reporting.outputDirectory}</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      ...
+    </plugins>
+  </build>
+  ...
+</project>
++-----+

Propchange: maven/plugins/trunk/maven-pdf-plugin/src/site/apt/examples/site-phase-integration.apt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pdf-plugin/src/site/apt/examples/site-phase-integration.apt
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: maven/plugins/trunk/maven-pdf-plugin/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pdf-plugin/src/site/apt/index.apt?rev=780428&r1=780427&r2=780428&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pdf-plugin/src/site/apt/index.apt (original)
+++ maven/plugins/trunk/maven-pdf-plugin/src/site/apt/index.apt Sun May 31 14:13:32 2009
@@ -3,7 +3,7 @@
  ------
  Lukas Theussl
  ------
- 12 September 2007
+ 2009-05-31
  ------
 
 ~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -51,4 +51,6 @@
 
     * {{{./examples/filtering.html}Filtering Document Descriptor}}
 
+    * {{{./examples/site-phase-integration.html}Site Phase Integration}}
+
     []

Modified: maven/plugins/trunk/maven-pdf-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pdf-plugin/src/site/site.xml?rev=780428&r1=780427&r2=780428&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pdf-plugin/src/site/site.xml (original)
+++ maven/plugins/trunk/maven-pdf-plugin/src/site/site.xml Sun May 31 14:13:32 2009
@@ -38,6 +38,7 @@
 
     <menu name="Examples">
       <item name="Filtering Document Descriptor" href="/examples/filtering.html"/>
+      <item name="Site Phase Integration" href="/examples/site-phase-integration.html"/>
     </menu>
   </body>
 </project>



Mime
View raw message