maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r816573 [37/44] - in /websites/production/maventest/content/plugins/maven-site-plugin-latest: ./ apidocs/ apidocs/org/apache/maven/plugins/site/ apidocs/org/apache/maven/plugins/site/class-use/ apidocs/org/apache/maven/plugins/site/wagon/ a...
Date Tue, 08 May 2012 12:12:05 GMT
Modified: websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/org/apache/maven/plugins/site/stubs/package-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/org/apache/maven/plugins/site/stubs/package-summary.html (original)
+++ websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/org/apache/maven/plugins/site/stubs/package-summary.html Tue May  8 12:11:59 2012
@@ -2,10 +2,10 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Jul 30 17:01:22 CEST 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 27 23:44:36 CEST 2012 -->
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <TITLE>
-org.apache.maven.plugins.site.stubs (Maven Site Plugin 3 3.0 Test API)
+org.apache.maven.plugins.site.stubs (Maven Site Plugin 3 3.1 Test API)
 </TITLE>
 
 <META NAME="keywords" CONTENT="org.apache.maven.plugins.site.stubs package">
@@ -15,7 +15,7 @@ org.apache.maven.plugins.site.stubs (Mav
 <SCRIPT type="text/javascript">
 function windowTitle()
 {
-    parent.document.title="org.apache.maven.plugins.site.stubs (Maven Site Plugin 3 3.0 Test API)";
+    parent.document.title="org.apache.maven.plugins.site.stubs (Maven Site Plugin 3 3.1 Test API)";
 }
 </SCRIPT>
 <NOSCRIPT>
@@ -150,6 +150,6 @@ Package org.apache.maven.plugins.site.st
 <!-- ======== END OF BOTTOM NAVBAR ======= -->
 
 <HR>
-Copyright &#169; 2002-2011 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
+Copyright &#169; 2002-2012 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
 </BODY>
 </HTML>
\ No newline at end of file

Modified: websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/org/apache/maven/plugins/site/stubs/package-tree.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/org/apache/maven/plugins/site/stubs/package-tree.html (original)
+++ websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/org/apache/maven/plugins/site/stubs/package-tree.html Tue May  8 12:11:59 2012
@@ -2,10 +2,10 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Jul 30 17:01:22 CEST 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 27 23:44:36 CEST 2012 -->
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <TITLE>
-org.apache.maven.plugins.site.stubs Class Hierarchy (Maven Site Plugin 3 3.0 Test API)
+org.apache.maven.plugins.site.stubs Class Hierarchy (Maven Site Plugin 3 3.1 Test API)
 </TITLE>
 
 
@@ -14,7 +14,7 @@ org.apache.maven.plugins.site.stubs Clas
 <SCRIPT type="text/javascript">
 function windowTitle()
 {
-    parent.document.title="org.apache.maven.plugins.site.stubs Class Hierarchy (Maven Site Plugin 3 3.0 Test API)";
+    parent.document.title="org.apache.maven.plugins.site.stubs Class Hierarchy (Maven Site Plugin 3 3.1 Test API)";
 }
 </SCRIPT>
 <NOSCRIPT>
@@ -88,10 +88,10 @@ Hierarchy For Package org.apache.maven.p
 Class Hierarchy
 </H2>
 <UL>
-<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang"><B>Object</B></A><UL>
-<LI TYPE="circle">org.apache.maven.project.MavenProject (implements java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang">Cloneable</A>)
+<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang"><B>Object</B></A><UL>
+<LI TYPE="circle">org.apache.maven.project.<A HREF="http://maven.apache.org/maven-compat/apidocs/org/apache/maven/project/MavenProject.html" title="class or interface in org.apache.maven.project"><B>MavenProject</B></A> (implements java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang">Cloneable</A>)
 <UL>
-<LI TYPE="circle">org.apache.maven.plugin.testing.stubs.MavenProjectStub<UL>
+<LI TYPE="circle">org.apache.maven.plugin.testing.stubs.<A HREF="http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/stubs/MavenProjectStub.html" title="class or interface in org.apache.maven.plugin.testing.stubs"><B>MavenProjectStub</B></A><UL>
 <LI TYPE="circle">org.apache.maven.plugins.site.stubs.<A HREF="../../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html" title="class in org.apache.maven.plugins.site.stubs"><B>SiteMavenProjectStub</B></A></UL>
 </UL>
 </UL>
@@ -150,6 +150,6 @@ Class Hierarchy
 <!-- ======== END OF BOTTOM NAVBAR ======= -->
 
 <HR>
-Copyright &#169; 2002-2011 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
+Copyright &#169; 2002-2012 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
 </BODY>
 </HTML>
\ No newline at end of file

Modified: websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/org/apache/maven/plugins/site/stubs/package-use.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/org/apache/maven/plugins/site/stubs/package-use.html (original)
+++ websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/org/apache/maven/plugins/site/stubs/package-use.html Tue May  8 12:11:59 2012
@@ -2,10 +2,10 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Jul 30 17:01:22 CEST 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 27 23:44:36 CEST 2012 -->
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <TITLE>
-Uses of Package org.apache.maven.plugins.site.stubs (Maven Site Plugin 3 3.0 Test API)
+Uses of Package org.apache.maven.plugins.site.stubs (Maven Site Plugin 3 3.1 Test API)
 </TITLE>
 
 
@@ -14,7 +14,7 @@ Uses of Package org.apache.maven.plugins
 <SCRIPT type="text/javascript">
 function windowTitle()
 {
-    parent.document.title="Uses of Package org.apache.maven.plugins.site.stubs (Maven Site Plugin 3 3.0 Test API)";
+    parent.document.title="Uses of Package org.apache.maven.plugins.site.stubs (Maven Site Plugin 3 3.1 Test API)";
 }
 </SCRIPT>
 <NOSCRIPT>
@@ -136,6 +136,6 @@ No usage of org.apache.maven.plugins.sit
 <!-- ======== END OF BOTTOM NAVBAR ======= -->
 
 <HR>
-Copyright &#169; 2002-2011 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
+Copyright &#169; 2002-2012 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
 </BODY>
 </HTML>
\ No newline at end of file

Modified: websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/overview-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/overview-frame.html (original)
+++ websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/overview-frame.html Tue May  8 12:11:59 2012
@@ -2,13 +2,13 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Jul 30 17:01:22 CEST 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 27 23:44:36 CEST 2012 -->
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <TITLE>
-Overview (Maven Site Plugin 3 3.0 Test API)
+Overview (Maven Site Plugin 3 3.1 Test API)
 </TITLE>
 
-<META NAME="keywords" CONTENT="Overview, Maven Site Plugin 3 3.0 Test API">
+<META NAME="keywords" CONTENT="Overview, Maven Site Plugin 3 3.1 Test API">
 
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
 

Modified: websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/overview-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/overview-summary.html (original)
+++ websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/overview-summary.html Tue May  8 12:11:59 2012
@@ -2,20 +2,20 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Jul 30 17:01:22 CEST 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 27 23:44:36 CEST 2012 -->
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <TITLE>
-Overview (Maven Site Plugin 3 3.0 Test API)
+Overview (Maven Site Plugin 3 3.1 Test API)
 </TITLE>
 
-<META NAME="keywords" CONTENT="Overview, Maven Site Plugin 3 3.0 Test API">
+<META NAME="keywords" CONTENT="Overview, Maven Site Plugin 3 3.1 Test API">
 
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
 
 <SCRIPT type="text/javascript">
 function windowTitle()
 {
-    parent.document.title="Overview (Maven Site Plugin 3 3.0 Test API)";
+    parent.document.title="Overview (Maven Site Plugin 3 3.1 Test API)";
 }
 </SCRIPT>
 <NOSCRIPT>
@@ -79,7 +79,7 @@ function windowTitle()
 <HR>
 <CENTER>
 <H1>
-Maven Site Plugin 3 3.0 Test API
+Maven Site Plugin 3 3.1 Test API
 </H1>
 </CENTER>
 
@@ -153,6 +153,6 @@ Maven Site Plugin 3 3.0 Test API
 <!-- ======== END OF BOTTOM NAVBAR ======= -->
 
 <HR>
-Copyright &#169; 2002-2011 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
+Copyright &#169; 2002-2012 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
 </BODY>
 </HTML>
\ No newline at end of file

Modified: websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/overview-tree.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/overview-tree.html (original)
+++ websites/production/maventest/content/plugins/maven-site-plugin-latest/testapidocs/overview-tree.html Tue May  8 12:11:59 2012
@@ -2,10 +2,10 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Jul 30 17:01:22 CEST 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 27 23:44:36 CEST 2012 -->
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <TITLE>
-Class Hierarchy (Maven Site Plugin 3 3.0 Test API)
+Class Hierarchy (Maven Site Plugin 3 3.1 Test API)
 </TITLE>
 
 
@@ -14,7 +14,7 @@ Class Hierarchy (Maven Site Plugin 3 3.0
 <SCRIPT type="text/javascript">
 function windowTitle()
 {
-    parent.document.title="Class Hierarchy (Maven Site Plugin 3 3.0 Test API)";
+    parent.document.title="Class Hierarchy (Maven Site Plugin 3 3.1 Test API)";
 }
 </SCRIPT>
 <NOSCRIPT>
@@ -87,12 +87,12 @@ Hierarchy For All Packages</H2>
 Class Hierarchy
 </H2>
 <UL>
-<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang"><B>Object</B></A><UL>
-<LI TYPE="circle">junit.framework.Assert<UL>
-<LI TYPE="circle">junit.framework.TestCase (implements junit.framework.Test)
+<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang"><B>Object</B></A><UL>
+<LI TYPE="circle">junit.framework.<A HREF="http://junit.org/apidocs/junit/framework/Assert.html" title="class or interface in junit.framework"><B>Assert</B></A><UL>
+<LI TYPE="circle">junit.framework.<A HREF="http://junit.org/apidocs/junit/framework/TestCase.html" title="class or interface in junit.framework"><B>TestCase</B></A> (implements junit.framework.<A HREF="http://junit.org/apidocs/junit/framework/Test.html" title="class or interface in junit.framework">Test</A>)
 <UL>
-<LI TYPE="circle">org.codehaus.plexus.<A HREF="http://plexus.codehaus.org/plexus-containers/plexus-container-default/apidocs/org/codehaus/plexus/PlexusTestCase.html" title="class or interface in org.codehaus.plexus"><B>PlexusTestCase</B></A><UL>
-<LI TYPE="circle">org.apache.maven.plugin.testing.AbstractMojoTestCase<UL>
+<LI TYPE="circle">org.codehaus.plexus.PlexusTestCase<UL>
+<LI TYPE="circle">org.apache.maven.plugin.testing.<A HREF="http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/AbstractMojoTestCase.html" title="class or interface in org.apache.maven.plugin.testing"><B>AbstractMojoTestCase</B></A><UL>
 <LI TYPE="circle">org.apache.maven.plugins.site.<A HREF="org/apache/maven/plugins/site/AbstractSiteDeployWebDavTest.html" title="class in org.apache.maven.plugins.site"><B>AbstractSiteDeployWebDavTest</B></A><UL>
 <LI TYPE="circle">org.apache.maven.plugins.site.<A HREF="org/apache/maven/plugins/site/SiteDeployWebDavTest.html" title="class in org.apache.maven.plugins.site"><B>SiteDeployWebDavTest</B></A></UL>
 <LI TYPE="circle">org.apache.maven.plugins.site.<A HREF="org/apache/maven/plugins/site/SiteMojoTest.html" title="class in org.apache.maven.plugins.site"><B>SiteMojoTest</B></A></UL>
@@ -102,9 +102,9 @@ Class Hierarchy
 <LI TYPE="circle">org.mortbay.proxy.AsyncProxyServlet (implements javax.servlet.Servlet)
 <UL>
 <LI TYPE="circle">org.apache.maven.plugins.site.<A HREF="org/apache/maven/plugins/site/AuthAsyncProxyServlet.html" title="class in org.apache.maven.plugins.site"><B>AuthAsyncProxyServlet</B></A></UL>
-<LI TYPE="circle">org.apache.maven.project.MavenProject (implements java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang">Cloneable</A>)
+<LI TYPE="circle">org.apache.maven.project.<A HREF="http://maven.apache.org/maven-compat/apidocs/org/apache/maven/project/MavenProject.html" title="class or interface in org.apache.maven.project"><B>MavenProject</B></A> (implements java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang">Cloneable</A>)
 <UL>
-<LI TYPE="circle">org.apache.maven.plugin.testing.stubs.MavenProjectStub<UL>
+<LI TYPE="circle">org.apache.maven.plugin.testing.stubs.<A HREF="http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/stubs/MavenProjectStub.html" title="class or interface in org.apache.maven.plugin.testing.stubs"><B>MavenProjectStub</B></A><UL>
 <LI TYPE="circle">org.apache.maven.plugins.site.stubs.<A HREF="org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html" title="class in org.apache.maven.plugins.site.stubs"><B>SiteMavenProjectStub</B></A></UL>
 </UL>
 <LI TYPE="circle">org.apache.maven.plugins.site.<A HREF="org/apache/maven/plugins/site/SimpleDavServerHandler.html" title="class in org.apache.maven.plugins.site"><B>SimpleDavServerHandler</B></A></UL>
@@ -163,6 +163,6 @@ Class Hierarchy
 <!-- ======== END OF BOTTOM NAVBAR ======= -->
 
 <HR>
-Copyright &#169; 2002-2011 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
+Copyright &#169; 2002-2012 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
 </BODY>
 </HTML>
\ No newline at end of file

Modified: websites/production/maventest/content/plugins/maven-site-plugin-latest/usage.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-site-plugin-latest/usage.html (original)
+++ websites/production/maventest/content/plugins/maven-site-plugin-latest/usage.html Tue May  8 12:11:59 2012
@@ -1,5 +1,5 @@
 <!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 Jul 30, 2011 -->
+<!-- Generated by Apache Maven Doxia at Apr 27, 2012 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>Usage</title>
@@ -12,7 +12,8 @@
         <meta name="author" content="Vincent Siveton
 vincent.siveton@gmail.com
 Maria Odea Ching" />
-        <meta name="Date-Revision-yyyymmdd" content="20110730" />
+        <meta name="Date-Creation-yyyymmdd" content="20120112" />
+    <meta name="Date-Revision-yyyymmdd" content="20120427" />
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
                                                     
 <script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
@@ -46,8 +47,8 @@ Maria Odea Ching" />
     Usage
       </div>
             <div class="xright">        
-                                 Last Published: 2011-07-30
-              &nbsp;| Version: 3.0
+                                 Last Published: 2012-04-27
+              &nbsp;| Version: 3.1
             </div>
       <div class="clear">
         <hr/>
@@ -118,10 +119,10 @@ Maria Odea Ching" />
           </ul>
                        <h5>Project Documentation</h5>
                   <ul>
-                                                                                                                                                                                                                                                        <li class="collapsed">
+                                                                                                                                                                                                                                                                          <li class="collapsed">
                   <a href="project-info.html">Project Information</a>
                   </li>
-                                                                                                                                                                                                                                                                          <li class="collapsed">
+                                                                                                                                                                                                                                                                                                              <li class="collapsed">
                   <a href="project-reports.html">Project Reports</a>
                   </li>
           </ul>
@@ -143,7 +144,7 @@ Maria Odea Ching" />
                   <a href="../../maven-1.x/index.html">Maven 1.x</a>
             </li>
                   <li class="none">
-                  <a href="../../index.html">Maven 2</a>
+                  <a href="../../index.html">Maven 2 & 3</a>
             </li>
                   <li class="none">
                   <a href="../index.html">Plugins</a>
@@ -161,6 +162,21 @@ Maria Odea Ching" />
                   <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>
@@ -169,7 +185,7 @@ Maria Odea Ching" />
     </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/referen
 ces/apt-format.html --><div class="section"><h2>Usage<a name="Usage"></a></h2><p>You can put additional content (e.g. documentation, resources, etc.) in your site. See <a href="./examples/creating-content.html">Creating Content</a> for more information on this. If you want to change the menus, breadcrumbs, links or logos on your pages you need to add and configure a <a href="./examples/sitedescriptor.html">site descriptor</a>. If you like, you also can let Maven generate some <a href="./examples/configuring-reports.html">reports</a> for you, based on the contents of your POM.</p><div class="section"><h3>Generating a Site<a name="Generating_a_Site"></a></h3><p>To generate the project's site and reports, execute:</p><div class="source"><pre>mvn site
+        <!-- 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/referen
 ces/apt-format.html --><div class="section"><h2>Usage<a name="Usage"></a></h2><p>You can put additional content (e.g. documentation, resources, etc.) in your site. See <a href="./examples/creating-content.html">Creating Content</a> for more information on this. If you want to change the menus, breadcrumbs, links or logos on your pages you need to add and configure a <a href="./examples/sitedescriptor.html">site descriptor</a>. If you like, you also can let Maven generate some <a href="./examples/configuring-reports.html">reports</a> for you, based on the contents of your POM.</p><ul><li><a href="#Generating_a_Site">Generating a Site</a></li><li><a href="#Deploying_a_Site">Deploying a Site</a></li><li><a href="#Staging_a_Site">Staging a Site</a></li><li><a href="#Running_a_Site">Running a Site</a></li></ul><div class="section"><h3>Generating a Site<a name="Generating_a_Site"></a></h3><p>To generate the project's site and reports, execute:</p><div class="source"><pre>mvn site
 </pre></div><p>By default, the resulting site will be in the <tt>target/site/</tt> directory.</p><p><b>Note:</b> If you have a multi module project, then the links between the parent and child modules will <i>not</i> work when you use '<tt>mvn site</tt>' or '<tt>mvn site:site</tt>'. If you want to use those links, you should use '<tt>mvn site:stage</tt>' instead. You can read more about that goal further down on this page in the section called '<i>Staging a Site</i>'.</p><p><b>Note:</b> For performance reasons, Maven compares the timestamps of generated files and corresponding source documents, and only regenerates documents that have changed since the last build. However, this only applies to documentation source documents (apt, xdoc,...). If you change anything in your <tt>site.xml</tt>, any relevant sections in your pom, or any relevant properties or resource files, you should generate the site from scratch to make sure all references and links are correct.</p></div><div 
 class="section"><h3>Deploying a Site<a name="Deploying_a_Site"></a></h3><p>To be able to deploy the site, you must first specify where the site will be deployed. This is set in the <tt>&lt;distributionManagement&gt;</tt> element of the POM as shown below.</p><div class="source"><pre>&lt;project&gt;
   ...
   &lt;distributionManagement&gt;
@@ -180,11 +196,11 @@ Maria Odea Ching" />
   &lt;/distributionManagement&gt;
   ...
 &lt;/project&gt;
-</pre></div><p>The <tt>&lt;id&gt;</tt> element identifies the repository, so that you can attach credentials to it in your <tt>settings.xml</tt> file using the <a class="externalLink" href="http://maven.apache.org/settings.html#Servers"><tt>&lt;servers&gt;</tt> element</a> as you would for any other repository.</p><p>The <tt>&lt;url&gt;</tt> gives the location to deploy to. Currently, the <tt>scp</tt> and <tt>file</tt> protocols are supported. In the example above we copy to the host <tt>www.mycompany.com</tt> using the path <tt>/www/docs/project/</tt>. If subprojects inherit the site URL from a parent POM, they will automatically append their <tt>&lt;artifactId&gt;</tt> to form their effective deployment location.</p><p>Now you can execute the <tt><a href="./deploy-mojo.html">site:deploy</a></tt> goal from your project directory.</p><p><b>Note:</b> A site must be generated first before executing <tt>site:deploy</tt>.</p><div class="source"><pre>mvn site:deploy
+</pre></div><p>The <tt>&lt;id&gt;</tt> element identifies the repository, so that you can attach credentials to it in your <tt>settings.xml</tt> file using the <a class="externalLink" href="http://maven.apache.org/settings.html#Servers"><tt>&lt;servers&gt;</tt> element</a> as you would for any other repository.</p><p>The <tt>&lt;url&gt;</tt> gives the location to deploy to. In the example above we copy to the host <tt>www.mycompany.com</tt> using the path <tt>/www/docs/project/</tt> over the <tt>scp</tt> protocol. You can read more about which protocols are supported on <a href="./examples/adding-deploy-protocol.html">this page</a>. If subprojects inherit the site URL from a parent POM, they will automatically append their <tt>&lt;artifactId&gt;</tt> to form their effective deployment location.</p><p>Now you can execute the <tt><a href="./deploy-mojo.html">site:deploy</a></tt> goal from your project directory.</p><p><b>Note:</b> A site must be generated first before executin
 g <tt>site:deploy</tt>.</p><div class="source"><pre>mvn site:deploy
 </pre></div><p>If you want to generate the site <i>and</i> deploy it in one go, you can utilize the <tt>site-deploy</tt> phase of the site lifecycle. To do this, just execute:</p><div class="source"><pre>mvn site-deploy
 </pre></div></div><div class="section"><h3>Staging a Site<a name="Staging_a_Site"></a></h3><p><b>Note:</b> This goal is available in version 2.0-beta-5 or later of the Site Plugin.</p><p>To review/test the generated web site before an official deploy, you can stage the site in a specific directory. It will use the <tt>&lt;distributionManagement&gt;</tt> element or the project hierarchy to link the project and its modules.</p><p>Just execute the <tt><a href="./stage-mojo.html">site:stage</a></tt> goal from your project</p><div class="source"><pre>mvn site:stage
 </pre></div><p><b>Note:</b> Since version 2.3, a site must be generated first before executing <tt>site:stage</tt>.</p><p>By default, the site will be staged in a directory <tt>target/staging/</tt>. A different staging location can be chosen with the <tt>stagingDirectory</tt> parameter as shown below:</p><div class="source"><pre>mvn site:stage -DstagingDirectory=C:\fullsite
-</pre></div><p><b>Note:</b> <tt>stagingDirectory</tt> cannot be dynamic, i.e. <tt>stagingDirectory=${basedir}\fullsite</tt></p><p>To stage a site and to deploy it, just execute the <tt><a href="./stage-deploy-mojo.html">site:stage-deploy</a></tt> goal from your project with the required parameters. The <tt>site:stage-deploy</tt> goal will use the id <tt>stagingSite</tt> for deployment. So if you need to add your username or password in <tt>settings.xml</tt>, you should use <tt>&lt;id&gt;stagingSite&lt;/id&gt;</tt> for that <tt>&lt;server&gt;</tt> section. See the <a class="externalLink" href="http://maven.apache.org/guides/mini/guide-deployment-security-settings.html">Guide to Deployment and Security Settings</a> for more information on this.</p><p>By default, the site will be stage-deployed to <tt>$<a name="distributionManagement.site.url">distributionManagement.site.url</a>/staging/</tt>. A different location can be chosen with the <tt>stagingSiteURL</tt> parameter as show
 n below:</p><div class="source"><pre>mvn site:stage-deploy -DstagingSiteURL=scp://www.mycompany.com/www/project/
+</pre></div><p><b>Note:</b> <tt>stagingDirectory</tt> cannot be dynamic, i.e. <tt>stagingDirectory=${basedir}\fullsite</tt></p><p>To stage a site and to deploy it, just execute the <tt><a href="./stage-deploy-mojo.html">site:stage-deploy</a></tt> goal from your project with the required parameters. The <tt>site:stage-deploy</tt> goal will use the value of <tt>distributionManagement.site.id</tt> as default id to lookup the server section in your <tt>settings.xml</tt>; unless this is not defined, then the String <tt>stagingSite</tt> will be used as id. So if you need to add your username or password separately for stage-deploy in <tt>settings.xml</tt>, you should use <tt>&lt;id&gt;stagingSite&lt;/id&gt;</tt> for that <tt>&lt;server&gt;</tt> section. See the <a class="externalLink" href="http://maven.apache.org/guides/mini/guide-deployment-security-settings.html">Guide to Deployment and Security Settings</a> for more information on this.</p><p>By default, the site will be stage
 -deployed to <tt>$<a name="distributionManagement.site.url">distributionManagement.site.url</a>/staging/</tt>. A different location can be chosen with the <tt>stagingSiteURL</tt> parameter as shown below:</p><div class="source"><pre>mvn site:stage-deploy -DstagingSiteURL=scp://www.mycompany.com/www/project/
 </pre></div><p><b>Note:</b> Since version 2.3, a site must be generated first before executing <tt>site:stage-deploy</tt>.</p><p><b>Note:</b> Due to a bug in Wagon, the password is not always picked up when you run the <tt>site:stage-deploy</tt> goal. The bug has been fixed, but the version of Wagon that is used by the Site Plugin is determined by the version of Maven you use. The current 2.0.x releases of Maven use a version where this bug is still present.</p></div><div class="section"><h3>Running a Site<a name="Running_a_Site"></a></h3><p>The Site Plugin can also be used to start up the site in Jetty. To do this, execute:</p><div class="source"><pre>mvn site:run
 </pre></div><p>The server will, by default, be started on <tt>http://localhost:8080/</tt>. See <a class="externalLink" href="http://jetty.mortbay.org/">http://jetty.mortbay.org/</a> for more information about the Jetty server.</p><p><b>Note:</b> Running a site only works for single-module sites. To preview a multi-module site one should use <tt>site:stage</tt>.</p></div></div>
       </div>
@@ -194,7 +210,7 @@ Maria Odea Ching" />
     </div>
     <div id="footer">
       <div class="xright">
-        &#169;            2002-2011
+        &#169;            2002-2012
               The Apache Software Foundation
             
                        - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.

Modified: websites/production/maventest/content/plugins/maven-site-plugin-latest/xref-test/index.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-site-plugin-latest/xref-test/index.html (original)
+++ websites/production/maventest/content/plugins/maven-site-plugin-latest/xref-test/index.html Tue May  8 12:11:59 2012
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Maven Site Plugin 3 3.0 Reference</title>
+		<title>Maven Site Plugin 3 3.1 Reference</title>
 	</head>
     <frameset cols="20%,80%">
 		<frameset rows="30%,70%">

Modified: websites/production/maventest/content/plugins/maven-site-plugin-latest/xref-test/org/apache/maven/plugins/site/AbstractSiteDeployWebDavTest.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-site-plugin-latest/xref-test/org/apache/maven/plugins/site/AbstractSiteDeployWebDavTest.html (original)
+++ websites/production/maventest/content/plugins/maven-site-plugin-latest/xref-test/org/apache/maven/plugins/site/AbstractSiteDeployWebDavTest.html Tue May  8 12:11:59 2012
@@ -64,11 +64,11 @@
 <a class="jxr_linenumber" name="54" href="#54">54</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/maven/plugins/site/AbstractSiteDeployWebDavTest.html">AbstractSiteDeployWebDavTest</a>
 <a class="jxr_linenumber" name="55" href="#55">55</a>      <strong class="jxr_keyword">extends</strong> AbstractMojoTestCase
 <a class="jxr_linenumber" name="56" href="#56">56</a>  {
-<a class="jxr_linenumber" name="57" href="#57">57</a>      
+<a class="jxr_linenumber" name="57" href="#57">57</a>  
 <a class="jxr_linenumber" name="58" href="#58">58</a>      File siteTargetPath = <strong class="jxr_keyword">new</strong> File( getBasedir() + File.separator + <span class="jxr_string">"target"</span> + File.separator + <span class="jxr_string">"siteTargetDeploy"</span> );
-<a class="jxr_linenumber" name="59" href="#59">59</a>      
+<a class="jxr_linenumber" name="59" href="#59">59</a>  
 <a class="jxr_linenumber" name="60" href="#60">60</a>      <strong class="jxr_keyword">private</strong> Logger log = LoggerFactory.getLogger( getClass() );
-<a class="jxr_linenumber" name="61" href="#61">61</a>      
+<a class="jxr_linenumber" name="61" href="#61">61</a>  
 <a class="jxr_linenumber" name="62" href="#62">62</a>      @Before
 <a class="jxr_linenumber" name="63" href="#63">63</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp()
 <a class="jxr_linenumber" name="64" href="#64">64</a>          <strong class="jxr_keyword">throws</strong> Exception
@@ -80,224 +80,228 @@
 <a class="jxr_linenumber" name="70" href="#70">70</a>              FileUtils.cleanDirectory( siteTargetPath );
 <a class="jxr_linenumber" name="71" href="#71">71</a>          }
 <a class="jxr_linenumber" name="72" href="#72">72</a>      }
-<a class="jxr_linenumber" name="73" href="#73">73</a>      
+<a class="jxr_linenumber" name="73" href="#73">73</a>  
 <a class="jxr_linenumber" name="74" href="#74">74</a>      <strong class="jxr_keyword">abstract</strong> String getMojoName();
-<a class="jxr_linenumber" name="75" href="#75">75</a>      
+<a class="jxr_linenumber" name="75" href="#75">75</a>  
 <a class="jxr_linenumber" name="76" href="#76">76</a>      <strong class="jxr_keyword">abstract</strong> AbstractMojo getMojo( File pluginXmlFile )
 <a class="jxr_linenumber" name="77" href="#77">77</a>          <strong class="jxr_keyword">throws</strong> Exception;
-<a class="jxr_linenumber" name="78" href="#78">78</a>      
+<a class="jxr_linenumber" name="78" href="#78">78</a>  
 <a class="jxr_linenumber" name="79" href="#79">79</a>      @Test
 <a class="jxr_linenumber" name="80" href="#80">80</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> noAuthzDavDeploy()
 <a class="jxr_linenumber" name="81" href="#81">81</a>          <strong class="jxr_keyword">throws</strong> Exception
 <a class="jxr_linenumber" name="82" href="#82">82</a>      {
 <a class="jxr_linenumber" name="83" href="#83">83</a>          FileUtils.cleanDirectory( siteTargetPath );
 <a class="jxr_linenumber" name="84" href="#84">84</a>          <a href="../../../../../org/apache/maven/plugins/site/SimpleDavServerHandler.html">SimpleDavServerHandler</a> simpleDavServerHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/SimpleDavServerHandler.html">SimpleDavServerHandler</a>( siteTargetPath );
-<a class="jxr_linenumber" name="85" href="#85">85</a>          <strong class="jxr_keyword">try</strong>
-<a class="jxr_linenumber" name="86" href="#86">86</a>          {
-<a class="jxr_linenumber" name="87" href="#87">87</a>              File pluginXmlFile = getTestFile( <span class="jxr_string">"src/test/resources/unit/deploy-dav/pom.xml"</span> );
-<a class="jxr_linenumber" name="88" href="#88">88</a>              AbstractMojo mojo = getMojo( pluginXmlFile );
-<a class="jxr_linenumber" name="89" href="#89">89</a>              assertNotNull( mojo );
-<a class="jxr_linenumber" name="90" href="#90">90</a>              <a href="../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html">SiteMavenProjectStub</a> siteMavenProjectStub =
-<a class="jxr_linenumber" name="91" href="#91">91</a>                  <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html">SiteMavenProjectStub</a>( <span class="jxr_string">"src/test/resources/unit/deploy-dav/pom.xml"</span> );
-<a class="jxr_linenumber" name="92" href="#92">92</a>              
-<a class="jxr_linenumber" name="93" href="#93">93</a>              siteMavenProjectStub.getDistributionManagement().getSite()
-<a class="jxr_linenumber" name="94" href="#94">94</a>                  .setUrl( <span class="jxr_string">"dav:http://localhost:"</span> + simpleDavServerHandler.getPort() + <span class="jxr_string">"/site/"</span> );
-<a class="jxr_linenumber" name="95" href="#95">95</a>              
-<a class="jxr_linenumber" name="96" href="#96">96</a>              setVariableValueToObject( mojo, <span class="jxr_string">"project"</span>, siteMavenProjectStub );
-<a class="jxr_linenumber" name="97" href="#97">97</a>              Settings settings = <strong class="jxr_keyword">new</strong> Settings();
-<a class="jxr_linenumber" name="98" href="#98">98</a>              setVariableValueToObject( mojo, <span class="jxr_string">"settings"</span>, settings );
-<a class="jxr_linenumber" name="99" href="#99">99</a>              File inputDirectory = <strong class="jxr_keyword">new</strong> File( <span class="jxr_string">"src/test/resources/unit/deploy-dav/target/site"</span> );
-<a class="jxr_linenumber" name="100" href="#100">100</a>             
-<a class="jxr_linenumber" name="101" href="#101">101</a>             setVariableValueToObject( mojo, <span class="jxr_string">"inputDirectory"</span>, inputDirectory );
-<a class="jxr_linenumber" name="102" href="#102">102</a>             mojo.execute();
-<a class="jxr_linenumber" name="103" href="#103">103</a>             
-<a class="jxr_linenumber" name="104" href="#104">104</a>             assertContentInFiles();
-<a class="jxr_linenumber" name="105" href="#105">105</a>             assertFalse( requestsContainsProxyUse( simpleDavServerHandler.httpRequests ) );
-<a class="jxr_linenumber" name="106" href="#106">106</a>         }
-<a class="jxr_linenumber" name="107" href="#107">107</a>         <strong class="jxr_keyword">finally</strong>
-<a class="jxr_linenumber" name="108" href="#108">108</a>         {
-<a class="jxr_linenumber" name="109" href="#109">109</a>             simpleDavServerHandler.stop();
+<a class="jxr_linenumber" name="85" href="#85">85</a>  
+<a class="jxr_linenumber" name="86" href="#86">86</a>          <strong class="jxr_keyword">try</strong>
+<a class="jxr_linenumber" name="87" href="#87">87</a>          {
+<a class="jxr_linenumber" name="88" href="#88">88</a>              File pluginXmlFile = getTestFile( <span class="jxr_string">"src/test/resources/unit/deploy-dav/pom.xml"</span> );
+<a class="jxr_linenumber" name="89" href="#89">89</a>              AbstractMojo mojo = getMojo( pluginXmlFile );
+<a class="jxr_linenumber" name="90" href="#90">90</a>              assertNotNull( mojo );
+<a class="jxr_linenumber" name="91" href="#91">91</a>              <a href="../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html">SiteMavenProjectStub</a> siteMavenProjectStub =
+<a class="jxr_linenumber" name="92" href="#92">92</a>                  <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html">SiteMavenProjectStub</a>( <span class="jxr_string">"src/test/resources/unit/deploy-dav/pom.xml"</span> );
+<a class="jxr_linenumber" name="93" href="#93">93</a>  
+<a class="jxr_linenumber" name="94" href="#94">94</a>              assertTrue( <span class="jxr_string">"dav server port not available: "</span> + simpleDavServerHandler.getPort(),
+<a class="jxr_linenumber" name="95" href="#95">95</a>                          simpleDavServerHandler.getPort() &gt; 0 );
+<a class="jxr_linenumber" name="96" href="#96">96</a>  
+<a class="jxr_linenumber" name="97" href="#97">97</a>              siteMavenProjectStub.getDistributionManagement().getSite()
+<a class="jxr_linenumber" name="98" href="#98">98</a>                  .setUrl( <span class="jxr_string">"dav:http://localhost:"</span> + simpleDavServerHandler.getPort() + <span class="jxr_string">"/site/"</span> );
+<a class="jxr_linenumber" name="99" href="#99">99</a>  
+<a class="jxr_linenumber" name="100" href="#100">100</a>             setVariableValueToObject( mojo, <span class="jxr_string">"project"</span>, siteMavenProjectStub );
+<a class="jxr_linenumber" name="101" href="#101">101</a>             Settings settings = <strong class="jxr_keyword">new</strong> Settings();
+<a class="jxr_linenumber" name="102" href="#102">102</a>             setVariableValueToObject( mojo, <span class="jxr_string">"settings"</span>, settings );
+<a class="jxr_linenumber" name="103" href="#103">103</a>             File inputDirectory = <strong class="jxr_keyword">new</strong> File( <span class="jxr_string">"src/test/resources/unit/deploy-dav/target/site"</span> );
+<a class="jxr_linenumber" name="104" href="#104">104</a> 
+<a class="jxr_linenumber" name="105" href="#105">105</a>             setVariableValueToObject( mojo, <span class="jxr_string">"inputDirectory"</span>, inputDirectory );
+<a class="jxr_linenumber" name="106" href="#106">106</a>             mojo.execute();
+<a class="jxr_linenumber" name="107" href="#107">107</a> 
+<a class="jxr_linenumber" name="108" href="#108">108</a>             assertContentInFiles();
+<a class="jxr_linenumber" name="109" href="#109">109</a>             assertFalse( requestsContainsProxyUse( simpleDavServerHandler.httpRequests ) );
 <a class="jxr_linenumber" name="110" href="#110">110</a>         }
-<a class="jxr_linenumber" name="111" href="#111">111</a>     }
-<a class="jxr_linenumber" name="112" href="#112">112</a>     
-<a class="jxr_linenumber" name="113" href="#113">113</a>     @Test
-<a class="jxr_linenumber" name="114" href="#114">114</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> davDeployThruProxyWithoutAuthzInProxy()
-<a class="jxr_linenumber" name="115" href="#115">115</a>         <strong class="jxr_keyword">throws</strong> Exception
-<a class="jxr_linenumber" name="116" href="#116">116</a>     {
-<a class="jxr_linenumber" name="117" href="#117">117</a>         
-<a class="jxr_linenumber" name="118" href="#118">118</a>         FileUtils.cleanDirectory( siteTargetPath );
-<a class="jxr_linenumber" name="119" href="#119">119</a>         <a href="../../../../../org/apache/maven/plugins/site/SimpleDavServerHandler.html">SimpleDavServerHandler</a> simpleDavServerHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/SimpleDavServerHandler.html">SimpleDavServerHandler</a>( siteTargetPath );
-<a class="jxr_linenumber" name="120" href="#120">120</a>         <strong class="jxr_keyword">try</strong>
-<a class="jxr_linenumber" name="121" href="#121">121</a>         {
-<a class="jxr_linenumber" name="122" href="#122">122</a>             File pluginXmlFile = getTestFile( <span class="jxr_string">"src/test/resources/unit/deploy-dav/pom.xml"</span> );
-<a class="jxr_linenumber" name="123" href="#123">123</a>             AbstractMojo mojo = getMojo( pluginXmlFile );
-<a class="jxr_linenumber" name="124" href="#124">124</a>             assertNotNull( mojo );
-<a class="jxr_linenumber" name="125" href="#125">125</a>             <a href="../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html">SiteMavenProjectStub</a> siteMavenProjectStub =
-<a class="jxr_linenumber" name="126" href="#126">126</a>                 <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html">SiteMavenProjectStub</a>( <span class="jxr_string">"src/test/resources/unit/deploy-dav/pom.xml"</span> );
-<a class="jxr_linenumber" name="127" href="#127">127</a>             <em class="jxr_comment">// olamy, Note : toto is something like foo or bar for french folks :-)</em>
-<a class="jxr_linenumber" name="128" href="#128">128</a>             String siteUrl = <span class="jxr_string">"dav:http://toto.com/site/"</span>;
-<a class="jxr_linenumber" name="129" href="#129">129</a>             siteMavenProjectStub.getDistributionManagement().getSite().setUrl( siteUrl );
-<a class="jxr_linenumber" name="130" href="#130">130</a>             
-<a class="jxr_linenumber" name="131" href="#131">131</a>             setVariableValueToObject( mojo, <span class="jxr_string">"project"</span>, siteMavenProjectStub );
-<a class="jxr_linenumber" name="132" href="#132">132</a>             Settings settings = <strong class="jxr_keyword">new</strong> Settings();
-<a class="jxr_linenumber" name="133" href="#133">133</a>             Proxy proxy = <strong class="jxr_keyword">new</strong> Proxy();
+<a class="jxr_linenumber" name="111" href="#111">111</a>         <strong class="jxr_keyword">finally</strong>
+<a class="jxr_linenumber" name="112" href="#112">112</a>         {
+<a class="jxr_linenumber" name="113" href="#113">113</a>             simpleDavServerHandler.stop();
+<a class="jxr_linenumber" name="114" href="#114">114</a>         }
+<a class="jxr_linenumber" name="115" href="#115">115</a>     }
+<a class="jxr_linenumber" name="116" href="#116">116</a> 
+<a class="jxr_linenumber" name="117" href="#117">117</a>     @Test
+<a class="jxr_linenumber" name="118" href="#118">118</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> davDeployThruProxyWithoutAuthzInProxy()
+<a class="jxr_linenumber" name="119" href="#119">119</a>         <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="120" href="#120">120</a>     {
+<a class="jxr_linenumber" name="121" href="#121">121</a> 
+<a class="jxr_linenumber" name="122" href="#122">122</a>         FileUtils.cleanDirectory( siteTargetPath );
+<a class="jxr_linenumber" name="123" href="#123">123</a>         <a href="../../../../../org/apache/maven/plugins/site/SimpleDavServerHandler.html">SimpleDavServerHandler</a> simpleDavServerHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/SimpleDavServerHandler.html">SimpleDavServerHandler</a>( siteTargetPath );
+<a class="jxr_linenumber" name="124" href="#124">124</a>         <strong class="jxr_keyword">try</strong>
+<a class="jxr_linenumber" name="125" href="#125">125</a>         {
+<a class="jxr_linenumber" name="126" href="#126">126</a>             File pluginXmlFile = getTestFile( <span class="jxr_string">"src/test/resources/unit/deploy-dav/pom.xml"</span> );
+<a class="jxr_linenumber" name="127" href="#127">127</a>             AbstractMojo mojo = getMojo( pluginXmlFile );
+<a class="jxr_linenumber" name="128" href="#128">128</a>             assertNotNull( mojo );
+<a class="jxr_linenumber" name="129" href="#129">129</a>             <a href="../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html">SiteMavenProjectStub</a> siteMavenProjectStub =
+<a class="jxr_linenumber" name="130" href="#130">130</a>                 <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html">SiteMavenProjectStub</a>( <span class="jxr_string">"src/test/resources/unit/deploy-dav/pom.xml"</span> );
+<a class="jxr_linenumber" name="131" href="#131">131</a>             <em class="jxr_comment">// olamy, Note : toto is something like foo or bar for french folks :-)</em>
+<a class="jxr_linenumber" name="132" href="#132">132</a>             String siteUrl = <span class="jxr_string">"dav:http://toto.com/site/"</span>;
+<a class="jxr_linenumber" name="133" href="#133">133</a>             siteMavenProjectStub.getDistributionManagement().getSite().setUrl( siteUrl );
 <a class="jxr_linenumber" name="134" href="#134">134</a> 
-<a class="jxr_linenumber" name="135" href="#135">135</a>             <em class="jxr_comment">//dummy proxy</em>
-<a class="jxr_linenumber" name="136" href="#136">136</a>             proxy.setActive( <strong class="jxr_keyword">true</strong> );
-<a class="jxr_linenumber" name="137" href="#137">137</a>             proxy.setHost( <span class="jxr_string">"localhost"</span> );
-<a class="jxr_linenumber" name="138" href="#138">138</a>             proxy.setPort( simpleDavServerHandler.getPort() );
-<a class="jxr_linenumber" name="139" href="#139">139</a>             proxy.setProtocol( <span class="jxr_string">"http"</span> );
-<a class="jxr_linenumber" name="140" href="#140">140</a>             proxy.setNonProxyHosts( <span class="jxr_string">"www.google.com|*.somewhere.com"</span> );
-<a class="jxr_linenumber" name="141" href="#141">141</a>             settings.addProxy( proxy );
-<a class="jxr_linenumber" name="142" href="#142">142</a>             
-<a class="jxr_linenumber" name="143" href="#143">143</a>             setVariableValueToObject( mojo, <span class="jxr_string">"settings"</span>, settings );
-<a class="jxr_linenumber" name="144" href="#144">144</a>             
-<a class="jxr_linenumber" name="145" href="#145">145</a>             MavenExecutionRequest request = <strong class="jxr_keyword">new</strong> DefaultMavenExecutionRequest();
-<a class="jxr_linenumber" name="146" href="#146">146</a>             request.setProxies( Arrays.asList( proxy ) );
-<a class="jxr_linenumber" name="147" href="#147">147</a>             MavenSession mavenSession = <strong class="jxr_keyword">new</strong> MavenSession( getContainer(), <strong class="jxr_keyword">null</strong>, request, <strong class="jxr_keyword">null</strong> );
-<a class="jxr_linenumber" name="148" href="#148">148</a>             
-<a class="jxr_linenumber" name="149" href="#149">149</a>             setVariableValueToObject( mojo, <span class="jxr_string">"mavenSession"</span>, mavenSession );
-<a class="jxr_linenumber" name="150" href="#150">150</a>             
-<a class="jxr_linenumber" name="151" href="#151">151</a>             File inputDirectory = <strong class="jxr_keyword">new</strong> File( <span class="jxr_string">"src/test/resources/unit/deploy-dav/target/site"</span> );
-<a class="jxr_linenumber" name="152" href="#152">152</a>             
-<a class="jxr_linenumber" name="153" href="#153">153</a>             setVariableValueToObject( mojo, <span class="jxr_string">"inputDirectory"</span>, inputDirectory );
-<a class="jxr_linenumber" name="154" href="#154">154</a>             mojo.execute();
-<a class="jxr_linenumber" name="155" href="#155">155</a>             
-<a class="jxr_linenumber" name="156" href="#156">156</a>             assertContentInFiles();
-<a class="jxr_linenumber" name="157" href="#157">157</a>             
-<a class="jxr_linenumber" name="158" href="#158">158</a>             assertTrue( requestsContainsProxyUse( simpleDavServerHandler.httpRequests ) );
-<a class="jxr_linenumber" name="159" href="#159">159</a>             
-<a class="jxr_linenumber" name="160" href="#160">160</a>             <strong class="jxr_keyword">for</strong> ( HttpRequest rq : simpleDavServerHandler.httpRequests )
-<a class="jxr_linenumber" name="161" href="#161">161</a>             {
-<a class="jxr_linenumber" name="162" href="#162">162</a>                 log.info( rq.toString() );
-<a class="jxr_linenumber" name="163" href="#163">163</a>             }
-<a class="jxr_linenumber" name="164" href="#164">164</a>             
-<a class="jxr_linenumber" name="165" href="#165">165</a>         }
-<a class="jxr_linenumber" name="166" href="#166">166</a>         <strong class="jxr_keyword">finally</strong>
-<a class="jxr_linenumber" name="167" href="#167">167</a>         {
-<a class="jxr_linenumber" name="168" href="#168">168</a>             simpleDavServerHandler.stop();
-<a class="jxr_linenumber" name="169" href="#169">169</a>         }        
-<a class="jxr_linenumber" name="170" href="#170">170</a>         
-<a class="jxr_linenumber" name="171" href="#171">171</a>     }
-<a class="jxr_linenumber" name="172" href="#172">172</a>     
-<a class="jxr_linenumber" name="173" href="#173">173</a>     @Test
-<a class="jxr_linenumber" name="174" href="#174">174</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> davDeployThruProxyWitAuthzInProxy() <strong class="jxr_keyword">throws</strong> Exception
-<a class="jxr_linenumber" name="175" href="#175">175</a>     {
+<a class="jxr_linenumber" name="135" href="#135">135</a>             setVariableValueToObject( mojo, <span class="jxr_string">"project"</span>, siteMavenProjectStub );
+<a class="jxr_linenumber" name="136" href="#136">136</a>             Settings settings = <strong class="jxr_keyword">new</strong> Settings();
+<a class="jxr_linenumber" name="137" href="#137">137</a>             Proxy proxy = <strong class="jxr_keyword">new</strong> Proxy();
+<a class="jxr_linenumber" name="138" href="#138">138</a> 
+<a class="jxr_linenumber" name="139" href="#139">139</a>             <em class="jxr_comment">//dummy proxy</em>
+<a class="jxr_linenumber" name="140" href="#140">140</a>             proxy.setActive( <strong class="jxr_keyword">true</strong> );
+<a class="jxr_linenumber" name="141" href="#141">141</a>             proxy.setHost( <span class="jxr_string">"localhost"</span> );
+<a class="jxr_linenumber" name="142" href="#142">142</a>             proxy.setPort( simpleDavServerHandler.getPort() );
+<a class="jxr_linenumber" name="143" href="#143">143</a>             proxy.setProtocol( <span class="jxr_string">"http"</span> );
+<a class="jxr_linenumber" name="144" href="#144">144</a>             proxy.setNonProxyHosts( <span class="jxr_string">"www.google.com|*.somewhere.com"</span> );
+<a class="jxr_linenumber" name="145" href="#145">145</a>             settings.addProxy( proxy );
+<a class="jxr_linenumber" name="146" href="#146">146</a> 
+<a class="jxr_linenumber" name="147" href="#147">147</a>             setVariableValueToObject( mojo, <span class="jxr_string">"settings"</span>, settings );
+<a class="jxr_linenumber" name="148" href="#148">148</a> 
+<a class="jxr_linenumber" name="149" href="#149">149</a>             MavenExecutionRequest request = <strong class="jxr_keyword">new</strong> DefaultMavenExecutionRequest();
+<a class="jxr_linenumber" name="150" href="#150">150</a>             request.setProxies( Arrays.asList( proxy ) );
+<a class="jxr_linenumber" name="151" href="#151">151</a>             MavenSession mavenSession = <strong class="jxr_keyword">new</strong> MavenSession( getContainer(), <strong class="jxr_keyword">null</strong>, request, <strong class="jxr_keyword">null</strong> );
+<a class="jxr_linenumber" name="152" href="#152">152</a> 
+<a class="jxr_linenumber" name="153" href="#153">153</a>             setVariableValueToObject( mojo, <span class="jxr_string">"mavenSession"</span>, mavenSession );
+<a class="jxr_linenumber" name="154" href="#154">154</a> 
+<a class="jxr_linenumber" name="155" href="#155">155</a>             File inputDirectory = <strong class="jxr_keyword">new</strong> File( <span class="jxr_string">"src/test/resources/unit/deploy-dav/target/site"</span> );
+<a class="jxr_linenumber" name="156" href="#156">156</a> 
+<a class="jxr_linenumber" name="157" href="#157">157</a>             setVariableValueToObject( mojo, <span class="jxr_string">"inputDirectory"</span>, inputDirectory );
+<a class="jxr_linenumber" name="158" href="#158">158</a>             mojo.execute();
+<a class="jxr_linenumber" name="159" href="#159">159</a> 
+<a class="jxr_linenumber" name="160" href="#160">160</a>             assertContentInFiles();
+<a class="jxr_linenumber" name="161" href="#161">161</a> 
+<a class="jxr_linenumber" name="162" href="#162">162</a>             assertTrue( requestsContainsProxyUse( simpleDavServerHandler.httpRequests ) );
+<a class="jxr_linenumber" name="163" href="#163">163</a> 
+<a class="jxr_linenumber" name="164" href="#164">164</a>             <strong class="jxr_keyword">for</strong> ( HttpRequest rq : simpleDavServerHandler.httpRequests )
+<a class="jxr_linenumber" name="165" href="#165">165</a>             {
+<a class="jxr_linenumber" name="166" href="#166">166</a>                 log.info( rq.toString() );
+<a class="jxr_linenumber" name="167" href="#167">167</a>             }
+<a class="jxr_linenumber" name="168" href="#168">168</a> 
+<a class="jxr_linenumber" name="169" href="#169">169</a>         }
+<a class="jxr_linenumber" name="170" href="#170">170</a>         <strong class="jxr_keyword">finally</strong>
+<a class="jxr_linenumber" name="171" href="#171">171</a>         {
+<a class="jxr_linenumber" name="172" href="#172">172</a>             simpleDavServerHandler.stop();
+<a class="jxr_linenumber" name="173" href="#173">173</a>         }        
+<a class="jxr_linenumber" name="174" href="#174">174</a>         
+<a class="jxr_linenumber" name="175" href="#175">175</a>     }
 <a class="jxr_linenumber" name="176" href="#176">176</a> 
-<a class="jxr_linenumber" name="177" href="#177">177</a>         FileUtils.cleanDirectory( siteTargetPath );
-<a class="jxr_linenumber" name="178" href="#178">178</a>         <em class="jxr_comment">//SimpleDavServerHandler simpleDavServerHandler = new SimpleDavServerHandler( siteTargetPath );</em>
-<a class="jxr_linenumber" name="179" href="#179">179</a>         
-<a class="jxr_linenumber" name="180" href="#180">180</a>         Map&lt;String, String&gt; authentications = <strong class="jxr_keyword">new</strong> HashMap&lt;String, String&gt;();
-<a class="jxr_linenumber" name="181" href="#181">181</a>         authentications.put( <span class="jxr_string">"foo"</span>, <span class="jxr_string">"titi"</span> );
-<a class="jxr_linenumber" name="182" href="#182">182</a>         
-<a class="jxr_linenumber" name="183" href="#183">183</a>         <a href="../../../../../org/apache/maven/plugins/site/AuthAsyncProxyServlet.html">AuthAsyncProxyServlet</a> servlet = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/AuthAsyncProxyServlet.html">AuthAsyncProxyServlet</a>( authentications, siteTargetPath );
-<a class="jxr_linenumber" name="184" href="#184">184</a> 
-<a class="jxr_linenumber" name="185" href="#185">185</a>         <a href="../../../../../org/apache/maven/plugins/site/SimpleDavServerHandler.html">SimpleDavServerHandler</a> simpleDavServerHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/SimpleDavServerHandler.html">SimpleDavServerHandler</a>( servlet );        
-<a class="jxr_linenumber" name="186" href="#186">186</a>         <strong class="jxr_keyword">try</strong>
-<a class="jxr_linenumber" name="187" href="#187">187</a>         {
-<a class="jxr_linenumber" name="188" href="#188">188</a>             File pluginXmlFile = getTestFile( <span class="jxr_string">"src/test/resources/unit/deploy-dav/pom.xml"</span> );
-<a class="jxr_linenumber" name="189" href="#189">189</a>             AbstractMojo mojo = getMojo( pluginXmlFile );
-<a class="jxr_linenumber" name="190" href="#190">190</a>             assertNotNull( mojo );
-<a class="jxr_linenumber" name="191" href="#191">191</a>             <a href="../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html">SiteMavenProjectStub</a> siteMavenProjectStub =
-<a class="jxr_linenumber" name="192" href="#192">192</a>                 <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html">SiteMavenProjectStub</a>( <span class="jxr_string">"src/test/resources/unit/deploy-dav/pom.xml"</span> );
-<a class="jxr_linenumber" name="193" href="#193">193</a>             
-<a class="jxr_linenumber" name="194" href="#194">194</a>             siteMavenProjectStub.getDistributionManagement().getSite()
-<a class="jxr_linenumber" name="195" href="#195">195</a>                 .setUrl( <span class="jxr_string">"dav:http://toto.com/site/"</span> );
-<a class="jxr_linenumber" name="196" href="#196">196</a>             
-<a class="jxr_linenumber" name="197" href="#197">197</a>             setVariableValueToObject( mojo, <span class="jxr_string">"project"</span>, siteMavenProjectStub );
-<a class="jxr_linenumber" name="198" href="#198">198</a>             Settings settings = <strong class="jxr_keyword">new</strong> Settings();
-<a class="jxr_linenumber" name="199" href="#199">199</a>             Proxy proxy = <strong class="jxr_keyword">new</strong> Proxy();
+<a class="jxr_linenumber" name="177" href="#177">177</a>     @Test
+<a class="jxr_linenumber" name="178" href="#178">178</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> davDeployThruProxyWitAuthzInProxy() <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="179" href="#179">179</a>     {
+<a class="jxr_linenumber" name="180" href="#180">180</a> 
+<a class="jxr_linenumber" name="181" href="#181">181</a>         FileUtils.cleanDirectory( siteTargetPath );
+<a class="jxr_linenumber" name="182" href="#182">182</a>         <em class="jxr_comment">//SimpleDavServerHandler simpleDavServerHandler = new SimpleDavServerHandler( siteTargetPath );</em>
+<a class="jxr_linenumber" name="183" href="#183">183</a> 
+<a class="jxr_linenumber" name="184" href="#184">184</a>         Map&lt;String, String&gt; authentications = <strong class="jxr_keyword">new</strong> HashMap&lt;String, String&gt;();
+<a class="jxr_linenumber" name="185" href="#185">185</a>         authentications.put( <span class="jxr_string">"foo"</span>, <span class="jxr_string">"titi"</span> );
+<a class="jxr_linenumber" name="186" href="#186">186</a> 
+<a class="jxr_linenumber" name="187" href="#187">187</a>         <a href="../../../../../org/apache/maven/plugins/site/AuthAsyncProxyServlet.html">AuthAsyncProxyServlet</a> servlet = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/AuthAsyncProxyServlet.html">AuthAsyncProxyServlet</a>( authentications, siteTargetPath );
+<a class="jxr_linenumber" name="188" href="#188">188</a> 
+<a class="jxr_linenumber" name="189" href="#189">189</a>         <a href="../../../../../org/apache/maven/plugins/site/SimpleDavServerHandler.html">SimpleDavServerHandler</a> simpleDavServerHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/SimpleDavServerHandler.html">SimpleDavServerHandler</a>( servlet );        
+<a class="jxr_linenumber" name="190" href="#190">190</a>         <strong class="jxr_keyword">try</strong>
+<a class="jxr_linenumber" name="191" href="#191">191</a>         {
+<a class="jxr_linenumber" name="192" href="#192">192</a>             File pluginXmlFile = getTestFile( <span class="jxr_string">"src/test/resources/unit/deploy-dav/pom.xml"</span> );
+<a class="jxr_linenumber" name="193" href="#193">193</a>             AbstractMojo mojo = getMojo( pluginXmlFile );
+<a class="jxr_linenumber" name="194" href="#194">194</a>             assertNotNull( mojo );
+<a class="jxr_linenumber" name="195" href="#195">195</a>             <a href="../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html">SiteMavenProjectStub</a> siteMavenProjectStub =
+<a class="jxr_linenumber" name="196" href="#196">196</a>                 <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/site/stubs/SiteMavenProjectStub.html">SiteMavenProjectStub</a>( <span class="jxr_string">"src/test/resources/unit/deploy-dav/pom.xml"</span> );
+<a class="jxr_linenumber" name="197" href="#197">197</a> 
+<a class="jxr_linenumber" name="198" href="#198">198</a>             siteMavenProjectStub.getDistributionManagement().getSite()
+<a class="jxr_linenumber" name="199" href="#199">199</a>                 .setUrl( <span class="jxr_string">"dav:http://toto.com/site/"</span> );
 <a class="jxr_linenumber" name="200" href="#200">200</a> 
-<a class="jxr_linenumber" name="201" href="#201">201</a>             <em class="jxr_comment">//dummy proxy</em>
-<a class="jxr_linenumber" name="202" href="#202">202</a>             proxy.setActive( <strong class="jxr_keyword">true</strong> );
-<a class="jxr_linenumber" name="203" href="#203">203</a>             proxy.setHost( <span class="jxr_string">"localhost"</span> );
-<a class="jxr_linenumber" name="204" href="#204">204</a>             proxy.setPort( simpleDavServerHandler.getPort() );
-<a class="jxr_linenumber" name="205" href="#205">205</a>             proxy.setProtocol( <span class="jxr_string">"dav"</span> );
-<a class="jxr_linenumber" name="206" href="#206">206</a>             proxy.setUsername( <span class="jxr_string">"foo"</span> );
-<a class="jxr_linenumber" name="207" href="#207">207</a>             proxy.setPassword( <span class="jxr_string">"titi"</span> );
-<a class="jxr_linenumber" name="208" href="#208">208</a>             proxy.setNonProxyHosts( <span class="jxr_string">"www.google.com|*.somewhere.com"</span> );
-<a class="jxr_linenumber" name="209" href="#209">209</a>             settings.addProxy( proxy );
-<a class="jxr_linenumber" name="210" href="#210">210</a>             
-<a class="jxr_linenumber" name="211" href="#211">211</a>             setVariableValueToObject( mojo, <span class="jxr_string">"settings"</span>, settings );
-<a class="jxr_linenumber" name="212" href="#212">212</a>             
-<a class="jxr_linenumber" name="213" href="#213">213</a>             MavenExecutionRequest request = <strong class="jxr_keyword">new</strong> DefaultMavenExecutionRequest();
-<a class="jxr_linenumber" name="214" href="#214">214</a>             request.setProxies( Arrays.asList( proxy ) );
-<a class="jxr_linenumber" name="215" href="#215">215</a>             MavenSession mavenSession = <strong class="jxr_keyword">new</strong> MavenSession( getContainer(), <strong class="jxr_keyword">null</strong>, request, <strong class="jxr_keyword">null</strong> );
-<a class="jxr_linenumber" name="216" href="#216">216</a>             
-<a class="jxr_linenumber" name="217" href="#217">217</a>             setVariableValueToObject( mojo, <span class="jxr_string">"mavenSession"</span>, mavenSession );
-<a class="jxr_linenumber" name="218" href="#218">218</a>             
-<a class="jxr_linenumber" name="219" href="#219">219</a>             File inputDirectory = <strong class="jxr_keyword">new</strong> File( <span class="jxr_string">"src/test/resources/unit/deploy-dav/target/site"</span> );
-<a class="jxr_linenumber" name="220" href="#220">220</a>             
-<a class="jxr_linenumber" name="221" href="#221">221</a>             <em class="jxr_comment">// test which mojo we are using</em>
-<a class="jxr_linenumber" name="222" href="#222">222</a>             <strong class="jxr_keyword">if</strong> ( ReflectionUtils.getFieldByNameIncludingSuperclasses( <span class="jxr_string">"inputDirectory"</span>, mojo.getClass() ) != <strong class="jxr_keyword">null</strong> )
-<a class="jxr_linenumber" name="223" href="#223">223</a>             {
-<a class="jxr_linenumber" name="224" href="#224">224</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"inputDirectory"</span>, inputDirectory );
-<a class="jxr_linenumber" name="225" href="#225">225</a>             }
-<a class="jxr_linenumber" name="226" href="#226">226</a>             <strong class="jxr_keyword">else</strong>
+<a class="jxr_linenumber" name="201" href="#201">201</a>             setVariableValueToObject( mojo, <span class="jxr_string">"project"</span>, siteMavenProjectStub );
+<a class="jxr_linenumber" name="202" href="#202">202</a>             Settings settings = <strong class="jxr_keyword">new</strong> Settings();
+<a class="jxr_linenumber" name="203" href="#203">203</a>             Proxy proxy = <strong class="jxr_keyword">new</strong> Proxy();
+<a class="jxr_linenumber" name="204" href="#204">204</a> 
+<a class="jxr_linenumber" name="205" href="#205">205</a>             <em class="jxr_comment">//dummy proxy</em>
+<a class="jxr_linenumber" name="206" href="#206">206</a>             proxy.setActive( <strong class="jxr_keyword">true</strong> );
+<a class="jxr_linenumber" name="207" href="#207">207</a>             proxy.setHost( <span class="jxr_string">"localhost"</span> );
+<a class="jxr_linenumber" name="208" href="#208">208</a>             proxy.setPort( simpleDavServerHandler.getPort() );
+<a class="jxr_linenumber" name="209" href="#209">209</a>             proxy.setProtocol( <span class="jxr_string">"dav"</span> );
+<a class="jxr_linenumber" name="210" href="#210">210</a>             proxy.setUsername( <span class="jxr_string">"foo"</span> );
+<a class="jxr_linenumber" name="211" href="#211">211</a>             proxy.setPassword( <span class="jxr_string">"titi"</span> );
+<a class="jxr_linenumber" name="212" href="#212">212</a>             proxy.setNonProxyHosts( <span class="jxr_string">"www.google.com|*.somewhere.com"</span> );
+<a class="jxr_linenumber" name="213" href="#213">213</a>             settings.addProxy( proxy );
+<a class="jxr_linenumber" name="214" href="#214">214</a> 
+<a class="jxr_linenumber" name="215" href="#215">215</a>             setVariableValueToObject( mojo, <span class="jxr_string">"settings"</span>, settings );
+<a class="jxr_linenumber" name="216" href="#216">216</a> 
+<a class="jxr_linenumber" name="217" href="#217">217</a>             MavenExecutionRequest request = <strong class="jxr_keyword">new</strong> DefaultMavenExecutionRequest();
+<a class="jxr_linenumber" name="218" href="#218">218</a>             request.setProxies( Arrays.asList( proxy ) );
+<a class="jxr_linenumber" name="219" href="#219">219</a>             MavenSession mavenSession = <strong class="jxr_keyword">new</strong> MavenSession( getContainer(), <strong class="jxr_keyword">null</strong>, request, <strong class="jxr_keyword">null</strong> );
+<a class="jxr_linenumber" name="220" href="#220">220</a> 
+<a class="jxr_linenumber" name="221" href="#221">221</a>             setVariableValueToObject( mojo, <span class="jxr_string">"mavenSession"</span>, mavenSession );
+<a class="jxr_linenumber" name="222" href="#222">222</a> 
+<a class="jxr_linenumber" name="223" href="#223">223</a>             File inputDirectory = <strong class="jxr_keyword">new</strong> File( <span class="jxr_string">"src/test/resources/unit/deploy-dav/target/site"</span> );
+<a class="jxr_linenumber" name="224" href="#224">224</a> 
+<a class="jxr_linenumber" name="225" href="#225">225</a>             <em class="jxr_comment">// test which mojo we are using</em>
+<a class="jxr_linenumber" name="226" href="#226">226</a>             <strong class="jxr_keyword">if</strong> ( ReflectionUtils.getFieldByNameIncludingSuperclasses( <span class="jxr_string">"inputDirectory"</span>, mojo.getClass() ) != <strong class="jxr_keyword">null</strong> )
 <a class="jxr_linenumber" name="227" href="#227">227</a>             {
-<a class="jxr_linenumber" name="228" href="#228">228</a>                 ArtifactRepositoryFactory artifactRepositoryFactory = getContainer().lookup( ArtifactRepositoryFactory.<strong class="jxr_keyword">class</strong> );
-<a class="jxr_linenumber" name="229" href="#229">229</a>                 
-<a class="jxr_linenumber" name="230" href="#230">230</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"stagingDirectory"</span>, inputDirectory );
-<a class="jxr_linenumber" name="231" href="#231">231</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"reactorProjects"</span>, Collections.emptyList() );
-<a class="jxr_linenumber" name="232" href="#232">232</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"localRepository"</span>,
-<a class="jxr_linenumber" name="233" href="#233">233</a>                                           artifactRepositoryFactory.createArtifactRepository( <span class="jxr_string">"local"</span>, <span class="jxr_string">"foo"</span>, <span class="jxr_string">"default"</span>,
-<a class="jxr_linenumber" name="234" href="#234">234</a>                                                                                               <strong class="jxr_keyword">null</strong>, <strong class="jxr_keyword">null</strong> ) );
-<a class="jxr_linenumber" name="235" href="#235">235</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"siteTool"</span>, getContainer().lookup( SiteTool.<strong class="jxr_keyword">class</strong> ) );
-<a class="jxr_linenumber" name="236" href="#236">236</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"siteDirectory"</span>, <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"foo"</span>) );
-<a class="jxr_linenumber" name="237" href="#237">237</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"repositories"</span>, Collections.emptyList() );
-<a class="jxr_linenumber" name="238" href="#238">238</a>             }
-<a class="jxr_linenumber" name="239" href="#239">239</a>             mojo.execute();
-<a class="jxr_linenumber" name="240" href="#240">240</a>             
-<a class="jxr_linenumber" name="241" href="#241">241</a>             assertContentInFiles();
-<a class="jxr_linenumber" name="242" href="#242">242</a>             assertTrue( requestsContainsProxyUse( servlet.httpRequests ) );
-<a class="jxr_linenumber" name="243" href="#243">243</a>             assertAtLeastOneRequestContainsHeader( servlet.httpRequests, <span class="jxr_string">"Proxy-Authorization"</span> );
-<a class="jxr_linenumber" name="244" href="#244">244</a>             <strong class="jxr_keyword">for</strong> ( HttpRequest rq : servlet.httpRequests )
-<a class="jxr_linenumber" name="245" href="#245">245</a>             {
-<a class="jxr_linenumber" name="246" href="#246">246</a>                 log.info( rq.toString() );
-<a class="jxr_linenumber" name="247" href="#247">247</a>             }
-<a class="jxr_linenumber" name="248" href="#248">248</a>         }
-<a class="jxr_linenumber" name="249" href="#249">249</a>         <strong class="jxr_keyword">finally</strong>
-<a class="jxr_linenumber" name="250" href="#250">250</a>         {
-<a class="jxr_linenumber" name="251" href="#251">251</a>             simpleDavServerHandler.stop();
-<a class="jxr_linenumber" name="252" href="#252">252</a>         }  
-<a class="jxr_linenumber" name="253" href="#253">253</a>     }        
-<a class="jxr_linenumber" name="254" href="#254">254</a>     
-<a class="jxr_linenumber" name="255" href="#255">255</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> assertContentInFiles()
-<a class="jxr_linenumber" name="256" href="#256">256</a>         <strong class="jxr_keyword">throws</strong> Exception
-<a class="jxr_linenumber" name="257" href="#257">257</a>     {
-<a class="jxr_linenumber" name="258" href="#258">258</a>         File fileToTest = <strong class="jxr_keyword">new</strong> File( siteTargetPath, <span class="jxr_string">"site"</span> + File.separator + <span class="jxr_string">"index.html"</span> );
-<a class="jxr_linenumber" name="259" href="#259">259</a>         assertTrue( fileToTest.exists() );
-<a class="jxr_linenumber" name="260" href="#260">260</a>         String fileContent = FileUtils.readFileToString( fileToTest );
-<a class="jxr_linenumber" name="261" href="#261">261</a>         assertTrue( fileContent.contains( <span class="jxr_string">"Welcome to Apache Maven"</span> ) );
-<a class="jxr_linenumber" name="262" href="#262">262</a> 
-<a class="jxr_linenumber" name="263" href="#263">263</a>         fileToTest = <strong class="jxr_keyword">new</strong> File( siteTargetPath, <span class="jxr_string">"site"</span> + File.separator + <span class="jxr_string">"css"</span> + File.separator + <span class="jxr_string">"maven-base.css"</span> );
-<a class="jxr_linenumber" name="264" href="#264">264</a>         assertTrue( fileToTest.exists() );
-<a class="jxr_linenumber" name="265" href="#265">265</a>         fileContent = FileUtils.readFileToString( fileToTest );
-<a class="jxr_linenumber" name="266" href="#266">266</a>         assertTrue( fileContent.contains( <span class="jxr_string">"background-image: url(../images/collapsed.gif);"</span> ) );
-<a class="jxr_linenumber" name="267" href="#267">267</a>     }
-<a class="jxr_linenumber" name="268" href="#268">268</a>     
-<a class="jxr_linenumber" name="269" href="#269">269</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="270" href="#270">270</a> <em class="jxr_javadoccomment">     * @param requests</em>
-<a class="jxr_linenumber" name="271" href="#271">271</a> <em class="jxr_javadoccomment">     * @return true if at least on request use proxy http header Proxy-Connection : Keep-Alive</em>
-<a class="jxr_linenumber" name="272" href="#272">272</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="273" href="#273">273</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> requestsContainsProxyUse( List&lt;HttpRequest&gt; requests )
-<a class="jxr_linenumber" name="274" href="#274">274</a>     {
-<a class="jxr_linenumber" name="275" href="#275">275</a>         <strong class="jxr_keyword">return</strong> assertAtLeastOneRequestContainsHeader(requests, <span class="jxr_string">"Proxy-Connection"</span>);
-<a class="jxr_linenumber" name="276" href="#276">276</a>     }
-<a class="jxr_linenumber" name="277" href="#277">277</a>     
-<a class="jxr_linenumber" name="278" href="#278">278</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> assertAtLeastOneRequestContainsHeader(List&lt;HttpRequest&gt; requests , String headerName)
-<a class="jxr_linenumber" name="279" href="#279">279</a>     {
-<a class="jxr_linenumber" name="280" href="#280">280</a>         <strong class="jxr_keyword">for</strong> ( HttpRequest rq : requests )
-<a class="jxr_linenumber" name="281" href="#281">281</a>         {
-<a class="jxr_linenumber" name="282" href="#282">282</a>             <strong class="jxr_keyword">boolean</strong> containsProxyHeader = rq.headers.containsKey( headerName );
-<a class="jxr_linenumber" name="283" href="#283">283</a>             <strong class="jxr_keyword">if</strong> ( containsProxyHeader )
-<a class="jxr_linenumber" name="284" href="#284">284</a>             {
-<a class="jxr_linenumber" name="285" href="#285">285</a>                 <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>;
-<a class="jxr_linenumber" name="286" href="#286">286</a>             }
-<a class="jxr_linenumber" name="287" href="#287">287</a>         }
-<a class="jxr_linenumber" name="288" href="#288">288</a>         <strong class="jxr_keyword">return</strong> false;
-<a class="jxr_linenumber" name="289" href="#289">289</a>     }
-<a class="jxr_linenumber" name="290" href="#290">290</a> }
+<a class="jxr_linenumber" name="228" href="#228">228</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"inputDirectory"</span>, inputDirectory );
+<a class="jxr_linenumber" name="229" href="#229">229</a>             }
+<a class="jxr_linenumber" name="230" href="#230">230</a>             <strong class="jxr_keyword">else</strong>
+<a class="jxr_linenumber" name="231" href="#231">231</a>             {
+<a class="jxr_linenumber" name="232" href="#232">232</a>                 ArtifactRepositoryFactory artifactRepositoryFactory = getContainer().lookup( ArtifactRepositoryFactory.<strong class="jxr_keyword">class</strong> );
+<a class="jxr_linenumber" name="233" href="#233">233</a> 
+<a class="jxr_linenumber" name="234" href="#234">234</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"stagingDirectory"</span>, inputDirectory );
+<a class="jxr_linenumber" name="235" href="#235">235</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"reactorProjects"</span>, Collections.emptyList() );
+<a class="jxr_linenumber" name="236" href="#236">236</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"localRepository"</span>,
+<a class="jxr_linenumber" name="237" href="#237">237</a>                                           artifactRepositoryFactory.createArtifactRepository( <span class="jxr_string">"local"</span>, <span class="jxr_string">"foo"</span>, <span class="jxr_string">"default"</span>,
+<a class="jxr_linenumber" name="238" href="#238">238</a>                                                                                               <strong class="jxr_keyword">null</strong>, <strong class="jxr_keyword">null</strong> ) );
+<a class="jxr_linenumber" name="239" href="#239">239</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"siteTool"</span>, getContainer().lookup( SiteTool.<strong class="jxr_keyword">class</strong> ) );
+<a class="jxr_linenumber" name="240" href="#240">240</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"siteDirectory"</span>, <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"foo"</span>) );
+<a class="jxr_linenumber" name="241" href="#241">241</a>                 setVariableValueToObject( mojo, <span class="jxr_string">"repositories"</span>, Collections.emptyList() );
+<a class="jxr_linenumber" name="242" href="#242">242</a>             }
+<a class="jxr_linenumber" name="243" href="#243">243</a>             mojo.execute();
+<a class="jxr_linenumber" name="244" href="#244">244</a> 
+<a class="jxr_linenumber" name="245" href="#245">245</a>             assertContentInFiles();
+<a class="jxr_linenumber" name="246" href="#246">246</a>             assertTrue( requestsContainsProxyUse( servlet.httpRequests ) );
+<a class="jxr_linenumber" name="247" href="#247">247</a>             assertAtLeastOneRequestContainsHeader( servlet.httpRequests, <span class="jxr_string">"Proxy-Authorization"</span> );
+<a class="jxr_linenumber" name="248" href="#248">248</a>             <strong class="jxr_keyword">for</strong> ( HttpRequest rq : servlet.httpRequests )
+<a class="jxr_linenumber" name="249" href="#249">249</a>             {
+<a class="jxr_linenumber" name="250" href="#250">250</a>                 log.info( rq.toString() );
+<a class="jxr_linenumber" name="251" href="#251">251</a>             }
+<a class="jxr_linenumber" name="252" href="#252">252</a>         }
+<a class="jxr_linenumber" name="253" href="#253">253</a>         <strong class="jxr_keyword">finally</strong>
+<a class="jxr_linenumber" name="254" href="#254">254</a>         {
+<a class="jxr_linenumber" name="255" href="#255">255</a>             simpleDavServerHandler.stop();
+<a class="jxr_linenumber" name="256" href="#256">256</a>         }  
+<a class="jxr_linenumber" name="257" href="#257">257</a>     }        
+<a class="jxr_linenumber" name="258" href="#258">258</a> 
+<a class="jxr_linenumber" name="259" href="#259">259</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> assertContentInFiles()
+<a class="jxr_linenumber" name="260" href="#260">260</a>         <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="261" href="#261">261</a>     {
+<a class="jxr_linenumber" name="262" href="#262">262</a>         File fileToTest = <strong class="jxr_keyword">new</strong> File( siteTargetPath, <span class="jxr_string">"site"</span> + File.separator + <span class="jxr_string">"index.html"</span> );
+<a class="jxr_linenumber" name="263" href="#263">263</a>         assertTrue( fileToTest.exists() );
+<a class="jxr_linenumber" name="264" href="#264">264</a>         String fileContent = FileUtils.readFileToString( fileToTest );
+<a class="jxr_linenumber" name="265" href="#265">265</a>         assertTrue( fileContent.contains( <span class="jxr_string">"Welcome to Apache Maven"</span> ) );
+<a class="jxr_linenumber" name="266" href="#266">266</a> 
+<a class="jxr_linenumber" name="267" href="#267">267</a>         fileToTest = <strong class="jxr_keyword">new</strong> File( siteTargetPath, <span class="jxr_string">"site"</span> + File.separator + <span class="jxr_string">"css"</span> + File.separator + <span class="jxr_string">"maven-base.css"</span> );
+<a class="jxr_linenumber" name="268" href="#268">268</a>         assertTrue( fileToTest.exists() );
+<a class="jxr_linenumber" name="269" href="#269">269</a>         fileContent = FileUtils.readFileToString( fileToTest );
+<a class="jxr_linenumber" name="270" href="#270">270</a>         assertTrue( fileContent.contains( <span class="jxr_string">"background-image: url(../images/collapsed.gif);"</span> ) );
+<a class="jxr_linenumber" name="271" href="#271">271</a>     }
+<a class="jxr_linenumber" name="272" href="#272">272</a> 
+<a class="jxr_linenumber" name="273" href="#273">273</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="274" href="#274">274</a> <em class="jxr_javadoccomment">     * @param requests</em>
+<a class="jxr_linenumber" name="275" href="#275">275</a> <em class="jxr_javadoccomment">     * @return true if at least on request use proxy http header Proxy-Connection : Keep-Alive</em>
+<a class="jxr_linenumber" name="276" href="#276">276</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="277" href="#277">277</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> requestsContainsProxyUse( List&lt;HttpRequest&gt; requests )
+<a class="jxr_linenumber" name="278" href="#278">278</a>     {
+<a class="jxr_linenumber" name="279" href="#279">279</a>         <strong class="jxr_keyword">return</strong> assertAtLeastOneRequestContainsHeader( requests, <span class="jxr_string">"Proxy-Connection"</span> );
+<a class="jxr_linenumber" name="280" href="#280">280</a>     }
+<a class="jxr_linenumber" name="281" href="#281">281</a> 
+<a class="jxr_linenumber" name="282" href="#282">282</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> assertAtLeastOneRequestContainsHeader( List&lt;HttpRequest&gt; requests, String headerName )
+<a class="jxr_linenumber" name="283" href="#283">283</a>     {
+<a class="jxr_linenumber" name="284" href="#284">284</a>         <strong class="jxr_keyword">for</strong> ( HttpRequest rq : requests )
+<a class="jxr_linenumber" name="285" href="#285">285</a>         {
+<a class="jxr_linenumber" name="286" href="#286">286</a>             <strong class="jxr_keyword">boolean</strong> containsProxyHeader = rq.headers.containsKey( headerName );
+<a class="jxr_linenumber" name="287" href="#287">287</a>             <strong class="jxr_keyword">if</strong> ( containsProxyHeader )
+<a class="jxr_linenumber" name="288" href="#288">288</a>             {
+<a class="jxr_linenumber" name="289" href="#289">289</a>                 <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="290" href="#290">290</a>             }
+<a class="jxr_linenumber" name="291" href="#291">291</a>         }
+<a class="jxr_linenumber" name="292" href="#292">292</a>         <strong class="jxr_keyword">return</strong> false;
+<a class="jxr_linenumber" name="293" href="#293">293</a>     }
+<a class="jxr_linenumber" name="294" href="#294">294</a> }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>



Mime
View raw message