You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by kh...@apache.org on 2015/03/04 21:43:04 UTC

svn commit: r942359 [8/8] - in /websites/production/maven/content/plugins-archives/maven-patch-plugin-LATEST: ./ apidocs/ cobertura/ css/ examples/ images/ xref/

Modified: websites/production/maven/content/plugins-archives/maven-patch-plugin-LATEST/usage.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-patch-plugin-LATEST/usage.html (original)
+++ websites/production/maven/content/plugins-archives/maven-patch-plugin-LATEST/usage.html Wed Mar  4 20:43:04 2015
@@ -1,299 +1,222 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-
-
-
-
-
-
-
-
-
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-  <head>
-    <title>Maven Patch plugin - Usage</title>
-    <style type="text/css" media="all">
-      @import url("./css/maven-base.css");
-      @import url("./css/maven-theme.css");
-      @import url("./css/site.css");
-    </style>
-    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
-          <meta name="author" content="John Casey
-Jesse McConnell" />
-        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-                                                    
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
-                                                        
-<script type="text/javascript">_uacct = "UA-140879-1";
-        urchinTracker();</script>
-                    </head>
-  <body class="composite">
-    <div id="banner">
-                  <a href="../../" id="bannerLeft">
-    
-                                            <img src="../../images/apache-maven-project-2.png" alt="" />
-    
-            </a>
-                        <a href="../../" id="bannerRight">
-    
-                                            <img src="../../images/maven-logo-2.gif" alt="" />
-    
-            </a>
-            <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="breadcrumbs">
-          
-  
-
-  
-    
-            
-  
-    
-            <div class="xleft">
-          
-                <a href="http://www.apache.org/" class="externalLink">Apache</a>
-                &gt;
-      
-                <a href="../../index.html">Maven</a>
-                &gt;
-      
-                <a href="../index.html">Plugins</a>
-                &gt;
-      
-                <a href="http://maven.apache.org/plugins/maven-patch-plugin" class="externalLink">Maven Patch Plugin</a>
-                  </div>
-            <div class="xright">      
-  
-
-  
-    
-            
-  
-    
-             Last Published: 2010-01-06
-              &nbsp;| Version: 1.1.1
-            </div>
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="leftColumn">
-      <div id="navcolumn">
-           
-  
-
-  
-    
-            
-  
-    
-                   <h5>Overview</h5>
-            <ul>
-              
-    <li class="none">
-                    <a href="index.html">Introduction</a>
-          </li>
-              
-    <li class="none">
-                    <a href="plugin-info.html">Goals</a>
-          </li>
-              
-    <li class="none">
-              <strong>Usage</strong>
-        </li>
-              
-    <li class="none">
-                    <a href="faq.html">FAQ</a>
-          </li>
-          </ul>
-              <h5>Examples</h5>
-            <ul>
-              
-    <li class="none">
-                    <a href="examples/single.html">Single Patch</a>
-          </li>
-              
-    <li class="none">
-                    <a href="examples/multiple.html">Multiple Patch</a>
-          </li>
-          </ul>
-              <h5>Project Documentation</h5>
-            <ul>
-              
-                
-              
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-              
-        <li class="collapsed">
-                    <a href="project-info.html">Project Information</a>
-                </li>
-              
-                
-              
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-            
-      
-              
-        <li class="collapsed">
-                    <a href="project-reports.html">Project Reports</a>
-                </li>
-          </ul>
-              <h5>Maven Projects</h5>
-            <ul>
-              
-    <li class="none">
-                    <a href="../../ant-tasks/index.html">Ant Tasks</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../../doxia/index.html">Doxia</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../../jxr/index.html">JXR</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../../maven-1.x/index.html">Maven 1.x</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../../index.html">Maven 2</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../../mercury/index.html">Mercury</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../index.html">Plugins</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../../scm/index.html">SCM</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../../shared/index.html">Shared Components</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../../surefire/index.html">Surefire</a>
-          </li>
-              
-    <li class="none">
-                    <a href="../../wagon/index.html">Wagon</a>
-          </li>
-          </ul>
-                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
-            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
-          </a>
-                       
-  
-
-  
-    
-            
-  
-    
-        </div>
-    </div>
-    <div id="bodyColumn">
-      <div id="contentBox">
-        <div class="section"><h2>Usage</h2>
-<p>The Patch Plugin attempts to use the <a href="http://www.gnu.org/software/patch/" class="externalLink">GNU patch tool</a> to apply patch files to source code. It can be configured to apply patch files from any number of directories with a number of different policies including strict patching where you must declare all patches in the plugin configuration to a natural order processing which will apply all patching in a directory following a natural string sorted order.</p>
-<p>This plugin is most commonly used during the <tt>process-sources</tt> phase of the default build lifecycle:</p>
-<div class="source"><pre>  mvn process-sources
</pre>
-</div>
-<div class="source"><pre>&lt;project&gt;
-  [...]
-  &lt;build&gt;
-    &lt;plugins&gt;
-      &lt;plugin&gt;
-        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
-        &lt;artifactId&gt;maven-patch-plugin&lt;/artifactId&gt;
-        &lt;version&gt;1.1.1&lt;/version&gt;
-        &lt;configuration&gt;
-          &lt;patches&gt;
-            &lt;patch&gt;mylittle.patch&lt;/patch&gt;
-          &lt;/patches&gt;
-        &lt;/configuration&gt;
-        &lt;executions&gt;
-          &lt;execution&gt;
-            &lt;id&gt;patch&lt;/id&gt;
-            &lt;goals&gt;
-              &lt;goal&gt;apply&lt;/goal&gt;
-            &lt;/goals&gt;
-          &lt;/execution&gt;
-        &lt;/executions&gt;
-      &lt;/plugin&gt;
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  [...]
-&lt;/project&gt;
</pre>
-</div>
-</div>
-
-      </div>
-    </div>
-    <div class="clear">
-      <hr/>
-    </div>
-    <div id="footer">
-      <div class="xright">&#169;  
-          2002-2010
-    
-          The Apache Software Foundation
-          
-  
-
-  
-    
-            
-  
-    
-   - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-  </body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ | Generated by Apache Maven Doxia at 2015-03-04
+ | Rendered using Apache Maven Stylus Skin 1.5
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Apache Maven Patch Plugin &#x2013; Usage</title>
+    <style type="text/css" media="all">
+      @import url("./css/maven-base.css");
+      @import url("./css/maven-theme.css");
+      @import url("./css/site.css");
+    </style>
+    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+        <meta name="author" content="John Casey
+Jesse McConnell" />
+        <meta name="Date-Revision-yyyymmdd" content="20150304" />
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+                                                    
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+                                                        
+<script type="text/javascript">_uacct = "UA-140879-1";
+        urchinTracker();</script>
+                              </head>
+  <body class="composite">
+    <div id="banner">
+                                      <a href="../../" id="bannerLeft">
+                                                <img src="../../images/apache-maven-project-2.png" alt="" />
+                </a>
+                        <span id="bannerRight">
+                                                <img src="../../images/maven-logo-2.gif" alt="" />
+                </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+            
+                                   <div class="xleft">
+                          <a href="http://www.apache.org/" class="externalLink">Apache</a>
+        &gt;
+                  <a href="../../index.html">Maven</a>
+        &gt;
+                  <a href="../index.html">Plugins</a>
+        &gt;
+                      <a href="./">Apache Maven Patch Plugin</a>
+        &gt;
+        Usage
+        </div>
+            <div class="xright">        
+                                    Last Published: 2015-03-04
+              &nbsp;| Version: 1.3-SNAPSHOT
+            </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+             
+                                                   <h5>Overview</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="index.html">Introduction</a>
+            </li>
+                  <li class="none">
+                  <a href="plugin-info.html">Goals</a>
+            </li>
+                  <li class="none">
+            <strong>Usage</strong>
+          </li>
+                  <li class="none">
+                  <a href="faq.html">FAQ</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/licenses/" class="externalLink">License</a>
+            </li>
+                  <li class="none">
+                  <a href="download.html">Download</a>
+            </li>
+          </ul>
+                       <h5>Examples</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="examples/single.html">Single Patch</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/multiple.html">Multiple Patch</a>
+            </li>
+          </ul>
+                       <h5>Project Documentation</h5>
+                  <ul>
+                                                                                                                                                                                                                                                                                            <li class="collapsed">
+                  <a href="project-info.html">Project Information</a>
+                  </li>
+                                                                    <li class="collapsed">
+                  <a href="project-reports.html">Project Reports</a>
+                  </li>
+          </ul>
+                       <h5>Maven Projects</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../../ant-tasks/index.html">Ant Tasks</a>
+            </li>
+                  <li class="none">
+                  <a href="../../archetype/index.html">Archetype</a>
+            </li>
+                  <li class="none">
+                  <a href="../../doxia/index.html">Doxia</a>
+            </li>
+                  <li class="none">
+                  <a href="../../jxr/index.html">JXR</a>
+            </li>
+                  <li class="none">
+                  <a href="../../ref/current">Maven</a>
+            </li>
+                  <li class="none">
+                  <a href="../../pom/index.html">Parent POMs</a>
+            </li>
+                  <li class="none">
+                  <a href="../index.html">Plugins</a>
+            </li>
+                  <li class="none">
+                  <a href="../../plugin-testing/index.html">Plugin Testing</a>
+            </li>
+                  <li class="none">
+                  <a href="../../plugin-tools/index.html">Plugin Tools</a>
+            </li>
+                  <li class="none">
+                  <a href="../../apache-resource-bundles/index.html">Resource Bundles</a>
+            </li>
+                  <li class="none">
+                  <a href="../../scm/index.html">SCM</a>
+            </li>
+                  <li class="none">
+                  <a href="../../shared/index.html">Shared Components</a>
+            </li>
+                  <li class="none">
+                  <a href="../../skins/index.html">Skins</a>
+            </li>
+                  <li class="none">
+                  <a href="../../surefire/index.html">Surefire</a>
+            </li>
+                  <li class="none">
+                  <a href="../../wagon/index.html">Wagon</a>
+            </li>
+          </ul>
+                       <h5>ASF</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a>
+            </li>
+          </ul>
+                                 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+          <img alt="Built by Maven" src="./images/logos/maven-feather.png"/>
+        </a>
+                       
+                               </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        <!-- 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 --><div class="section">
+<h2><a name="Usage"></a>Usage</h2>
+<p>The Patch Plugin attempts to use the <a class="externalLink" href="http://www.gnu.org/software/patch/">GNU patch tool</a> to apply patch files to source code. It can be configured to apply patch files from any number of directories with a number of different policies including strict patching where you must declare all patches in the plugin configuration to a natural order processing which will apply all patching in a directory following a natural string sorted order.</p>
+<p>This plugin is most commonly used during the <tt>process-sources</tt> phase of the default build lifecycle:</p>
+<div class="source">
+<pre>  mvn process-sources</pre></div>
+<div class="source">
+<pre>&lt;project&gt;
+  [...]
+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-patch-plugin&lt;/artifactId&gt;
+        &lt;version&gt;1.3-SNAPSHOT&lt;/version&gt;
+        &lt;configuration&gt;
+          &lt;patches&gt;
+            &lt;patch&gt;mylittle.patch&lt;/patch&gt;
+          &lt;/patches&gt;
+        &lt;/configuration&gt;
+        &lt;executions&gt;
+          &lt;execution&gt;
+            &lt;id&gt;patch&lt;/id&gt;
+            &lt;goals&gt;
+              &lt;goal&gt;apply&lt;/goal&gt;
+            &lt;/goals&gt;
+          &lt;/execution&gt;
+        &lt;/executions&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  [...]
+&lt;/project&gt;</pre></div></div>
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">
+        &#169;            2002-2015
+              The Apache Software Foundation
+            
+                          - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
+        Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation.
+      </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>
\ No newline at end of file