Added: archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/rss.html
URL: 
http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/rss.html?rev=1643150&view=auto
==============================================================================
--- archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/rss.html (added)
+++ archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/rss.html Fri Dec  5 
03:57:52 2014
@@ -0,0 +1,390 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia 
+ | Rendered using Apache Maven Fluido Skin 1.3.1
+-->
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="author" content="Maria Odea Ching" />
+    <meta name="Date-Creation-yyyymmdd" content="20120924" />
+    <meta name="Date-Revision-yyyymmdd" content="20141205" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Archiva Documentation - RSS Feeds</title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.1.min.css" />
+    <link rel="stylesheet" href="../css/site.css" />
+    <link rel="stylesheet" href="../css/print.css" media="print" />
+
+      
+    <script type="text/javascript" 
src="../js/apache-maven-fluido-1.3.1.min.js"></script>
+
+    
+              <!-- Google Analytics -->
+    <script type="text/javascript">
+
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-140879-5']);
+      _gaq.push(['_trackPageview']);
+
+      (function() {
+        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+      })();
+
+    </script>
+          </head>
+        <body class="topBarDisabled">
+          
+                
+                    
+    
+        <div class="container-fluid">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href="../../../" 
id="bannerLeft">
+                                                                               
                 <img src="../../../images/archiva.png"  alt="Apache Archiva"/>
+                </a>
+                      </div>
+        <div class="pull-right">                  <a 
href="http://www.apache.org/"; id="bannerRight">
+                                                                               
         <img src="http://www.apache.org/images/asf_logo_wide.png";  alt="Apache 
Software Foundation"/>
+                </a>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+                    
+                              <li class="">
+                    <a href="http://www.apache.org/"; class="externalLink" 
title="Apache">
+        Apache</a>
+                    <span class="divider">/</span>
+      </li>
+            <li class="">
+                    <a href="../" title="Apache Archiva">
+        Apache Archiva</a>
+                    <span class="divider">/</span>
+      </li>
+            <li class="">
+                    <a href="../../../index.html" title="Apache Archiva">
+        Apache Archiva</a>
+                    <span class="divider">/</span>
+      </li>
+        <li class="active ">RSS Feeds</li>
+        
+                
+                    
+                  <li id="publishDate" class="pull-right"><span 
class="divider">|</span> Last Published: 2014-12-05</li>
+              <li id="projectVersion" class="pull-right">
+                    Version: 2.2.0-SNAPSHOT
+        </li>
+            
+                            </ul>
+      </div>
+
+                  
+      <div class="row-fluid">
+        <div id="leftColumn" class="span2">
+          <div class="well sidebar-nav">
+                
+                    
+                <ul class="nav nav-list">
+                    <li class="nav-header">Introduction</li>
+                              
+      <li>
+  
+                          <a href="../quick-start.html" title="Quick Start">
+          <i class="none"></i>
+        Quick Start</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../tour/index.html" title="Feature Tour">
+          <i class="none"></i>
+        Feature Tour</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../release-notes.html" title="Release 
Notes">
+          <i class="none"></i>
+        Release Notes</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../../../download.html" title="Downloads">
+          <i class="none"></i>
+        Downloads</a>
+            </li>
+                              <li class="nav-header">Users Guide</li>
+                              
+      <li>
+  
+                          <a href="../userguide/browsing.html" 
title="Browsing">
+          <i class="none"></i>
+        Browsing</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/searching.html" 
title="Searching">
+          <i class="none"></i>
+        Searching</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/delete-artifact.html" 
title="Deleting an Artifact">
+          <i class="none"></i>
+        Deleting an Artifact</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/using-repository.html" 
title="Using as a repository">
+          <i class="none"></i>
+        Using as a repository</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/deploy.html" title="Deploying 
to repository">
+          <i class="none"></i>
+        Deploying to repository</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/virtual-repositories.html" 
title="Configuring Virtual Repositories">
+          <i class="none"></i>
+        Configuring Virtual Repositories</a>
+            </li>
+                
+      <li class="active">
+  
+            <a href="#"><i class="none"></i>Rss Feeds in Archiva</a>
+          </li>
+                
+      <li>
+  
+                          <a href="../userguide/querying-artifacts.html" 
title="Querying Artifacts">
+          <i class="none"></i>
+        Querying Artifacts</a>
+            </li>
+                              <li class="nav-header">Administrators Guide</li>
+                                                                               
                                     
+      <li>
+  
+                          <a href="../adminguide/installing.html" 
title="Installing Archiva">
+          <i class="icon-chevron-right"></i>
+        Installing Archiva</a>
+                  </li>
+                
+      <li>
+  
+                          <a href="../adminguide/databases.html" 
title="Databases">
+          <i class="none"></i>
+        Databases</a>
+            </li>
+                
+      <li>
+  
+                          <a 
href="../adminguide/repositories-content-storage.html" title="Repositories 
Content Storage">
+          <i class="none"></i>
+        Repositories Content Storage</a>
+            </li>
+                                                                               
                       
+      <li>
+  
+                          <a href="../adminguide/security.html" 
title="Security">
+          <i class="icon-chevron-right"></i>
+        Security</a>
+                  </li>
+                                                                               
                                                                                
                                                                                
                                           
+      <li>
+  
+                          <a href="../adminguide/configuration.html" 
title="Archiva Configuration">
+          <i class="icon-chevron-right"></i>
+        Archiva Configuration</a>
+                  </li>
+                
+      <li>
+  
+                          <a href="../adminguide/webservices/rest.html" 
title="REST Apis">
+          <i class="none"></i>
+        REST Apis</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../adminguide/configuration-files.html" 
title="Configuration Files">
+          <i class="none"></i>
+        Configuration Files</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../adminguide/system-status.html" 
title="System Status">
+          <i class="none"></i>
+        System Status</a>
+            </li>
+                                                                               
                       
+      <li>
+  
+                          <a href="../adminguide/logging.html" title="Log 
Files">
+          <i class="icon-chevron-right"></i>
+        Log Files</a>
+                  </li>
+                
+      <li>
+  
+                          <a href="../adminguide/reports.html" title="Reports">
+          <i class="none"></i>
+        Reports</a>
+            </li>
+                              <li class="nav-header">Customising Archiva</li>
+                              
+      <li>
+  
+                          <a href="../customising/writing-consumer.html" 
title="Writing a Consumer Plugin">
+          <i class="none"></i>
+        Writing a Consumer Plugin</a>
+            </li>
+                              <li class="nav-header">More Information</li>
+                              
+      <li>
+  
+                          <a 
href="http://cwiki.apache.org/confluence/display/ARCHIVA/Index"; 
class="externalLink" title="Archiva Wiki">
+          <i class="none"></i>
+        Archiva Wiki</a>
+            </li>
+                              <li class="nav-header">ASF</li>
+                              
+      <li>
+  
+                          <a 
href="http://www.apache.org/foundation/how-it-works.html"; class="externalLink" 
title="How Apache Works">
+          <i class="none"></i>
+        How Apache Works</a>
+            </li>
+                
+      <li>
+  
+                          <a href="http://www.apache.org/foundation/"; 
class="externalLink" title="Foundation">
+          <i class="none"></i>
+        Foundation</a>
+            </li>
+                
+      <li>
+  
+                          <a 
href="http://www.apache.org/foundation/sponsorship.html"; class="externalLink" 
title="Sponsoring Apache">
+          <i class="none"></i>
+        Sponsoring Apache</a>
+            </li>
+                
+      <li>
+  
+                          <a 
href="http://www.apache.org/foundation/thanks.html"; class="externalLink" 
title="Thanks">
+          <i class="none"></i>
+        Thanks</a>
+            </li>
+                              <li class="nav-header">Project Documentation</li>
+                                                                               
                   
+      <li>
+  
+                          <a href="../project-info.html" title="Project 
Information">
+          <i class="icon-chevron-right"></i>
+        Project Information</a>
+                  </li>
+            </ul>
+                
+                    
+                            <form id="search-form" 
action="http://www.google.com/search"; method="get" >
+    
+  <input value="http://archiva.apache.org/docs/2.2.0-SNAPSHOT/"; 
name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=search-form";></script>
+          
+          <hr />
+
+           <div id="poweredBy">
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+               
+        
+        
+        <div id="twitter">
+    
+    <a href="https://twitter.com/archiva"; class="twitter-follow-button" 
data-show-count="false" data-align="left" data-size="medium" 
data-show-screen-name="true" data-lang="en">Follow archiva</a>
+    <script type="text/javascript">!function(d,s,id){var 
js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </div>
+                   <div class="clear"></div>
+                            <div class="clear"></div>
+                             <a href="http://maven.apache.org/"; title="Built 
by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" 
src="../images/logos/maven-feather.png" />
+      </a>
+                  </div>
+          </div>
+        </div>
+        
+                        
+        <div id="bodyColumn"  class="span10" >
+                                  
+            <!-- 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/guides/mini/guide
 -apt-format.html --><div class="section">
+<h2>RSS Feeds<a name="RSS_Feeds"></a></h2>
+<p>There are two types of rss feeds in Archiva: new artifacts in repo feed and 
new versions of artifact feed.</p>
+<div class="section">
+<h3>New Artifacts In Repository<a name="New_Artifacts_In_Repository"></a></h3>
+<p>For versions 1.1 and 1.1.1, the default url for this feed is 
<tt>http://[hostname]:[port]/archiva/rss/rss_feeds?repoId=[repositoryId]</tt>. 
But since version 1.1.2, this has been changed to 
<tt>http://[hostname]:[port]/archiva/feeds/[repositoryId]</tt>. Since version 
2.0.0 feed changed changed to 
<tt>http://[hostname]:[port]/feeds/[repositoryId]</tt>.</p>
+<p>There are two ways to subscribe to this feed:</p>
+<p>1. By copying the default url specified above and adding this to your feed 
reader. Just make sure to replace the <tt>hostname</tt>, <tt>port</tt> and 
<tt>repositoryId</tt>. The <tt>repositoryId</tt> is the id of the Archiva repo 
which you want to monitor.</p>
+<p>2. Via the feed icon in the Repositories page. Right click on the feed icon 
of the repository configuration and copy the link. Then add this link to your 
feed reader.</p><img src="../images/rss-repositories.png" alt="" /></div>
+<div class="section">
+<h3>New Versions of an Artifact<a name="New_Versions_of_an_Artifact"></a></h3>
+<p>The default url for this feed for versions 1.1 and 1.1.1 is 
<tt>http://[hostname]:[port]/archiva/rss/rss_feeds?groupId=[groupId]&amp;artifactId=[artifactId]</tt>
 but was changed to 
<tt>http://[hostname]:[port]/archiva/feeds/[groupId]/[artifactId]</tt> since 
version 1.1.2 for consistency purposes. Since version 2.0.0 feed changed 
changed to <tt>http://[hostname]:[port]/feeds/[groupId]/[artifactId]</tt></p>
+<p>You could subscribe to the feed the same way as specified in the New 
Artifacts In Repository section except that in #1, you need to specify the 
<tt>groupId</tt> and <tt>artifactId</tt> instead of the <tt>repositoryId</tt>. 
And in #2, you need to go to the Browse section. The rss feed icon is located 
in the artifactId level.</p><img src="../images/rss-browse.png" alt="" /></div>
+<div class="section">
+<h3>Authentication<a name="Authentication"></a></h3>
+<p>The authentication method used for the rss feeds is Http Basic 
Authentication. If your reader supports this, you would be prompted for a 
username and password when you subscribe to the feed. Supply your Archiva 
account credentials for this. Take note that only users with an Observer role 
for the specific repository would be able to subscribe to this feed.</p>
+<p>If the 'guest' account is enabled for the repository, you would no longer 
be asked for the username and password when you subscribe to the 
feed.</p></div></div>
+                  </div>
+            </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container-fluid">
+                      <div class="row-fluid">
+                              <p >Copyright &copy;                    
2006&#x2013;2014
+                        <a href="http://www.apache.org/";>The Apache Software 
Foundation</a>.
+            All rights reserved.      
+                    
+      </p>
+        </div>
+
+                                                                  
+<div class="row span12">Apache Archiva :: Documentation, Archiva :: 
Documentation, Apache, the Apache feather logo, and the Apache Archiva :: 
Documentation project logos are trademarks of The Apache Software 
Foundation.</div>
+                                                          
+<div class="row span12">
+  <a 
href="http://archiva.apache.org/docs/2.2.0-SNAPSHOT/privacy-policy.html";>Privacy
 Policy</a>
+</div>
+                  
+        
+          
+    
+    
+                
+    <div id="ohloh" class="pull-right">
+      <script type="text/javascript" 
src="http://www.ohloh.net/p/6670/widgets/project_basic_stats.js";></script>
+    </div>
+        </div>
+    </footer>
+        </body>
+</html>
\ No newline at end of file

Added: archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/searching.html
URL: 
http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/searching.html?rev=1643150&view=auto
==============================================================================
--- archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/searching.html (added)
+++ archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/searching.html Fri Dec  
5 03:57:52 2014
@@ -0,0 +1,419 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia 
+ | Rendered using Apache Maven Fluido Skin 1.3.1
+-->
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="author" content="Maria Odea Ching
+Olivier Lamy" />
+    <meta name="Date-Creation-yyyymmdd" content="20120911" />
+    <meta name="Date-Revision-yyyymmdd" content="20141205" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Archiva Documentation - Searching</title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.1.min.css" />
+    <link rel="stylesheet" href="../css/site.css" />
+    <link rel="stylesheet" href="../css/print.css" media="print" />
+
+      
+    <script type="text/javascript" 
src="../js/apache-maven-fluido-1.3.1.min.js"></script>
+
+    
+              <!-- Google Analytics -->
+    <script type="text/javascript">
+
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-140879-5']);
+      _gaq.push(['_trackPageview']);
+
+      (function() {
+        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+      })();
+
+    </script>
+          </head>
+        <body class="topBarDisabled">
+          
+                
+                    
+    
+        <div class="container-fluid">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href="../../../" 
id="bannerLeft">
+                                                                               
                 <img src="../../../images/archiva.png"  alt="Apache Archiva"/>
+                </a>
+                      </div>
+        <div class="pull-right">                  <a 
href="http://www.apache.org/"; id="bannerRight">
+                                                                               
         <img src="http://www.apache.org/images/asf_logo_wide.png";  alt="Apache 
Software Foundation"/>
+                </a>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+                    
+                              <li class="">
+                    <a href="http://www.apache.org/"; class="externalLink" 
title="Apache">
+        Apache</a>
+                    <span class="divider">/</span>
+      </li>
+            <li class="">
+                    <a href="../" title="Apache Archiva">
+        Apache Archiva</a>
+                    <span class="divider">/</span>
+      </li>
+            <li class="">
+                    <a href="../../../index.html" title="Apache Archiva">
+        Apache Archiva</a>
+                    <span class="divider">/</span>
+      </li>
+        <li class="active ">Searching</li>
+        
+                
+                    
+                  <li id="publishDate" class="pull-right"><span 
class="divider">|</span> Last Published: 2014-12-05</li>
+              <li id="projectVersion" class="pull-right">
+                    Version: 2.2.0-SNAPSHOT
+        </li>
+            
+                            </ul>
+      </div>
+
+                  
+      <div class="row-fluid">
+        <div id="leftColumn" class="span2">
+          <div class="well sidebar-nav">
+                
+                    
+                <ul class="nav nav-list">
+                    <li class="nav-header">Introduction</li>
+                              
+      <li>
+  
+                          <a href="../quick-start.html" title="Quick Start">
+          <i class="none"></i>
+        Quick Start</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../tour/index.html" title="Feature Tour">
+          <i class="none"></i>
+        Feature Tour</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../release-notes.html" title="Release 
Notes">
+          <i class="none"></i>
+        Release Notes</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../../../download.html" title="Downloads">
+          <i class="none"></i>
+        Downloads</a>
+            </li>
+                              <li class="nav-header">Users Guide</li>
+                              
+      <li>
+  
+                          <a href="../userguide/browsing.html" 
title="Browsing">
+          <i class="none"></i>
+        Browsing</a>
+            </li>
+                
+      <li class="active">
+  
+            <a href="#"><i class="none"></i>Searching</a>
+          </li>
+                
+      <li>
+  
+                          <a href="../userguide/delete-artifact.html" 
title="Deleting an Artifact">
+          <i class="none"></i>
+        Deleting an Artifact</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/using-repository.html" 
title="Using as a repository">
+          <i class="none"></i>
+        Using as a repository</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/deploy.html" title="Deploying 
to repository">
+          <i class="none"></i>
+        Deploying to repository</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/virtual-repositories.html" 
title="Configuring Virtual Repositories">
+          <i class="none"></i>
+        Configuring Virtual Repositories</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/rss.html" title="Rss Feeds in 
Archiva">
+          <i class="none"></i>
+        Rss Feeds in Archiva</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/querying-artifacts.html" 
title="Querying Artifacts">
+          <i class="none"></i>
+        Querying Artifacts</a>
+            </li>
+                              <li class="nav-header">Administrators Guide</li>
+                                                                               
                                     
+      <li>
+  
+                          <a href="../adminguide/installing.html" 
title="Installing Archiva">
+          <i class="icon-chevron-right"></i>
+        Installing Archiva</a>
+                  </li>
+                
+      <li>
+  
+                          <a href="../adminguide/databases.html" 
title="Databases">
+          <i class="none"></i>
+        Databases</a>
+            </li>
+                
+      <li>
+  
+                          <a 
href="../adminguide/repositories-content-storage.html" title="Repositories 
Content Storage">
+          <i class="none"></i>
+        Repositories Content Storage</a>
+            </li>
+                                                                               
                       
+      <li>
+  
+                          <a href="../adminguide/security.html" 
title="Security">
+          <i class="icon-chevron-right"></i>
+        Security</a>
+                  </li>
+                                                                               
                                                                                
                                                                                
                                           
+      <li>
+  
+                          <a href="../adminguide/configuration.html" 
title="Archiva Configuration">
+          <i class="icon-chevron-right"></i>
+        Archiva Configuration</a>
+                  </li>
+                
+      <li>
+  
+                          <a href="../adminguide/webservices/rest.html" 
title="REST Apis">
+          <i class="none"></i>
+        REST Apis</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../adminguide/configuration-files.html" 
title="Configuration Files">
+          <i class="none"></i>
+        Configuration Files</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../adminguide/system-status.html" 
title="System Status">
+          <i class="none"></i>
+        System Status</a>
+            </li>
+                                                                               
                       
+      <li>
+  
+                          <a href="../adminguide/logging.html" title="Log 
Files">
+          <i class="icon-chevron-right"></i>
+        Log Files</a>
+                  </li>
+                
+      <li>
+  
+                          <a href="../adminguide/reports.html" title="Reports">
+          <i class="none"></i>
+        Reports</a>
+            </li>
+                              <li class="nav-header">Customising Archiva</li>
+                              
+      <li>
+  
+                          <a href="../customising/writing-consumer.html" 
title="Writing a Consumer Plugin">
+          <i class="none"></i>
+        Writing a Consumer Plugin</a>
+            </li>
+                              <li class="nav-header">More Information</li>
+                              
+      <li>
+  
+                          <a 
href="http://cwiki.apache.org/confluence/display/ARCHIVA/Index"; 
class="externalLink" title="Archiva Wiki">
+          <i class="none"></i>
+        Archiva Wiki</a>
+            </li>
+                              <li class="nav-header">ASF</li>
+                              
+      <li>
+  
+                          <a 
href="http://www.apache.org/foundation/how-it-works.html"; class="externalLink" 
title="How Apache Works">
+          <i class="none"></i>
+        How Apache Works</a>
+            </li>
+                
+      <li>
+  
+                          <a href="http://www.apache.org/foundation/"; 
class="externalLink" title="Foundation">
+          <i class="none"></i>
+        Foundation</a>
+            </li>
+                
+      <li>
+  
+                          <a 
href="http://www.apache.org/foundation/sponsorship.html"; class="externalLink" 
title="Sponsoring Apache">
+          <i class="none"></i>
+        Sponsoring Apache</a>
+            </li>
+                
+      <li>
+  
+                          <a 
href="http://www.apache.org/foundation/thanks.html"; class="externalLink" 
title="Thanks">
+          <i class="none"></i>
+        Thanks</a>
+            </li>
+                              <li class="nav-header">Project Documentation</li>
+                                                                               
                   
+      <li>
+  
+                          <a href="../project-info.html" title="Project 
Information">
+          <i class="icon-chevron-right"></i>
+        Project Information</a>
+                  </li>
+            </ul>
+                
+                    
+                            <form id="search-form" 
action="http://www.google.com/search"; method="get" >
+    
+  <input value="http://archiva.apache.org/docs/2.2.0-SNAPSHOT/"; 
name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=search-form";></script>
+          
+          <hr />
+
+           <div id="poweredBy">
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+               
+        
+        
+        <div id="twitter">
+    
+    <a href="https://twitter.com/archiva"; class="twitter-follow-button" 
data-show-count="false" data-align="left" data-size="medium" 
data-show-screen-name="true" data-lang="en">Follow archiva</a>
+    <script type="text/javascript">!function(d,s,id){var 
js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </div>
+                   <div class="clear"></div>
+                            <div class="clear"></div>
+                             <a href="http://maven.apache.org/"; title="Built 
by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" 
src="../images/logos/maven-feather.png" />
+      </a>
+                  </div>
+          </div>
+        </div>
+        
+                        
+        <div id="bodyColumn"  class="span10" >
+                                  
+            <!-- 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/guides/mini/guide
 -apt-format.html --><div class="section">
+<h2>Searching<a name="Searching"></a></h2>
+<p>The Search functionality of Archiva allows a user to search for specific 
artifact references in the repository.</p>
+<div class="section">
+<h3>Indexing<a name="Indexing"></a></h3>
+<p>Before artifacts can be searched in Archiva, they need to be indexed first. 
Aritfacts are indexed during these instances:</p>
+<ul>
+<li>when a repository is scanned</li>
+<li>when an artifact is deployed or uploaded in the repository</li>
+<li>when an artifact is proxied or downloaded from a remote repository</li>
+<li>when remote index is available and downloaded</li></ul>
+<p>During repository scanning, the <tt>index-content</tt> consumer (see <a 
href="../adminguide/consumers.html">Consumers</a>) creates an indexing task and 
queues it in an indexing task queue. This indexing task is in turn executed by 
a task executor and that's where the actual indexing happens. A similar 
indexing task is also created and queued as artifacts are deployed in the 
Archiva repository or proxied from a remote repository. The reason behind this 
is to avoid multiple or simultaneous update of the index (a repository scan 
might be executing while artifacts are being deployed in the repository). 
<i>Note:</i> This behavior applies for versions starting 1.2.1.</p></div>
+<div class="section">
+<h3>What Can Be Searched?<a name="What_Can_Be_Searched"></a></h3>
+<p>The repository files that are indexed during repository scan can be 
configured in the Repository Scanning page, in the Repository Scanning - File 
Types section (indexable-content). By default, the indexable-content file types 
are:</p>
+<div>
+<pre>**/*.txt
+**/*.TXT
+**/*.block
+**/*.config
+**/*.pom
+**/*.xml
+**/*.xsd
+**/*.dtd
+**/*.tld</pre></div></div>
+<div class="section">
+<h3>Quick Search<a name="Quick_Search"></a></h3>
+<p>The contents of all the files in the repository that matches the above 
configuration will be indexed during repository scan. So when you type a word 
in the search box, Archiva will search the index for that query string and 
return all the search hits in the form of a paginated list of artifacts. For 
example you typed in 'ant', the search result would contain the list of 
artifacts that use or reference 'ant'.</p>
+<p>For query strings containing whitespaces, Archiva searches for the query 
string including the whitespaces. So if you typed in 'commons logging', the 
search result would contain the list of artifacts that reference 'commons 
logging' which is still separated by whitespace. In this case, 
'commons-logging' (hyphen separated) is not included in the search results.</p>
+<p>Archiva can also search the index for java classes, packages, and methods 
and return a list of artifacts containing the query string. In the previous 
versions, we need to append the keyword 'bytecode:' before the query string in 
the search box (like 'bytecode:myMethod'). But since version 1.2, we no longer 
need to type the keyword. Just type the java class or package name in the 
search box.. and voila!</p>
+<p>You can use various criterias to search artifacts:</p>
+<div class="section">
+<h4>Simple Query string<a name="Simple_Query_string"></a></h4><img 
src="../images/search-simple.png" alt="" /></div>
+<div class="section">
+<h4>Advanced Paramters<a name="Advanced_Paramters"></a></h4><img 
src="../images/search-advanced.png" alt="" /></div>
+<div class="section">
+<h4>OSGI Parameters<a name="OSGI_Parameters"></a></h4><img 
src="../images/search-osgi.png" alt="" /></div></div>
+<div class="section">
+<h3>Search results<a name="Search_results"></a></h3>
+<p>You can apply various filters on the search results.</p>
+<p>Below is a sample screenshot of the search results:</p><img 
src="../images/search-results.png" alt="Search Results" />
+<p>When the user clicks a specific artifact in the search results list, 
Archiva will direct the user in the Artifact Info page (the same page from the 
Repository Browse). Otherwise if it is not a pom file (ex. metadata.xml), the 
file will appear as a file to be downloaded from the browser.</p></div>
+<div class="section">
+<h3>Security<a name="Security"></a></h3>
+<p>The Search functionality respects the repository permissions. If the user 
is not logged in to Archiva and does a search, only those repositories with 
guest permissions will be searched for the query string. And if the user is 
logged in to Archiva and does a search, only those repositories in which that 
user has permission to access will be searched for the query 
string.</p></div></div>
+                  </div>
+            </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container-fluid">
+                      <div class="row-fluid">
+                              <p >Copyright &copy;                    
2006&#x2013;2014
+                        <a href="http://www.apache.org/";>The Apache Software 
Foundation</a>.
+            All rights reserved.      
+                    
+      </p>
+        </div>
+
+                                                                  
+<div class="row span12">Apache Archiva :: Documentation, Archiva :: 
Documentation, Apache, the Apache feather logo, and the Apache Archiva :: 
Documentation project logos are trademarks of The Apache Software 
Foundation.</div>
+                                                          
+<div class="row span12">
+  <a 
href="http://archiva.apache.org/docs/2.2.0-SNAPSHOT/privacy-policy.html";>Privacy
 Policy</a>
+</div>
+                  
+        
+          
+    
+    
+                
+    <div id="ohloh" class="pull-right">
+      <script type="text/javascript" 
src="http://www.ohloh.net/p/6670/widgets/project_basic_stats.js";></script>
+    </div>
+        </div>
+    </footer>
+        </body>
+</html>
\ No newline at end of file

Added: archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/using-repository.html
URL: 
http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/using-repository.html?rev=1643150&view=auto
==============================================================================
--- archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/using-repository.html 
(added)
+++ archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/using-repository.html 
Fri Dec  5 03:57:52 2014
@@ -0,0 +1,468 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia 
+ | Rendered using Apache Maven Fluido Skin 1.3.1
+-->
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20141205" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Archiva Documentation - Using as a Repository</title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.1.min.css" />
+    <link rel="stylesheet" href="../css/site.css" />
+    <link rel="stylesheet" href="../css/print.css" media="print" />
+
+      
+    <script type="text/javascript" 
src="../js/apache-maven-fluido-1.3.1.min.js"></script>
+
+    
+              <!-- Google Analytics -->
+    <script type="text/javascript">
+
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-140879-5']);
+      _gaq.push(['_trackPageview']);
+
+      (function() {
+        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+      })();
+
+    </script>
+          </head>
+        <body class="topBarDisabled">
+          
+                
+                    
+    
+        <div class="container-fluid">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href="../../../" 
id="bannerLeft">
+                                                                               
                 <img src="../../../images/archiva.png"  alt="Apache Archiva"/>
+                </a>
+                      </div>
+        <div class="pull-right">                  <a 
href="http://www.apache.org/"; id="bannerRight">
+                                                                               
         <img src="http://www.apache.org/images/asf_logo_wide.png";  alt="Apache 
Software Foundation"/>
+                </a>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+                    
+                              <li class="">
+                    <a href="http://www.apache.org/"; class="externalLink" 
title="Apache">
+        Apache</a>
+                    <span class="divider">/</span>
+      </li>
+            <li class="">
+                    <a href="../" title="Apache Archiva">
+        Apache Archiva</a>
+                    <span class="divider">/</span>
+      </li>
+            <li class="">
+                    <a href="../../../index.html" title="Apache Archiva">
+        Apache Archiva</a>
+                    <span class="divider">/</span>
+      </li>
+        <li class="active ">Using as a Repository</li>
+        
+                
+                    
+                  <li id="publishDate" class="pull-right"><span 
class="divider">|</span> Last Published: 2014-12-05</li>
+              <li id="projectVersion" class="pull-right">
+                    Version: 2.2.0-SNAPSHOT
+        </li>
+            
+                            </ul>
+      </div>
+
+                  
+      <div class="row-fluid">
+        <div id="leftColumn" class="span2">
+          <div class="well sidebar-nav">
+                
+                    
+                <ul class="nav nav-list">
+                    <li class="nav-header">Introduction</li>
+                              
+      <li>
+  
+                          <a href="../quick-start.html" title="Quick Start">
+          <i class="none"></i>
+        Quick Start</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../tour/index.html" title="Feature Tour">
+          <i class="none"></i>
+        Feature Tour</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../release-notes.html" title="Release 
Notes">
+          <i class="none"></i>
+        Release Notes</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../../../download.html" title="Downloads">
+          <i class="none"></i>
+        Downloads</a>
+            </li>
+                              <li class="nav-header">Users Guide</li>
+                              
+      <li>
+  
+                          <a href="../userguide/browsing.html" 
title="Browsing">
+          <i class="none"></i>
+        Browsing</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/searching.html" 
title="Searching">
+          <i class="none"></i>
+        Searching</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/delete-artifact.html" 
title="Deleting an Artifact">
+          <i class="none"></i>
+        Deleting an Artifact</a>
+            </li>
+                
+      <li class="active">
+  
+            <a href="#"><i class="none"></i>Using as a repository</a>
+          </li>
+                
+      <li>
+  
+                          <a href="../userguide/deploy.html" title="Deploying 
to repository">
+          <i class="none"></i>
+        Deploying to repository</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/virtual-repositories.html" 
title="Configuring Virtual Repositories">
+          <i class="none"></i>
+        Configuring Virtual Repositories</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/rss.html" title="Rss Feeds in 
Archiva">
+          <i class="none"></i>
+        Rss Feeds in Archiva</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/querying-artifacts.html" 
title="Querying Artifacts">
+          <i class="none"></i>
+        Querying Artifacts</a>
+            </li>
+                              <li class="nav-header">Administrators Guide</li>
+                                                                               
                                     
+      <li>
+  
+                          <a href="../adminguide/installing.html" 
title="Installing Archiva">
+          <i class="icon-chevron-right"></i>
+        Installing Archiva</a>
+                  </li>
+                
+      <li>
+  
+                          <a href="../adminguide/databases.html" 
title="Databases">
+          <i class="none"></i>
+        Databases</a>
+            </li>
+                
+      <li>
+  
+                          <a 
href="../adminguide/repositories-content-storage.html" title="Repositories 
Content Storage">
+          <i class="none"></i>
+        Repositories Content Storage</a>
+            </li>
+                                                                               
                       
+      <li>
+  
+                          <a href="../adminguide/security.html" 
title="Security">
+          <i class="icon-chevron-right"></i>
+        Security</a>
+                  </li>
+                                                                               
                                                                                
                                                                                
                                           
+      <li>
+  
+                          <a href="../adminguide/configuration.html" 
title="Archiva Configuration">
+          <i class="icon-chevron-right"></i>
+        Archiva Configuration</a>
+                  </li>
+                
+      <li>
+  
+                          <a href="../adminguide/webservices/rest.html" 
title="REST Apis">
+          <i class="none"></i>
+        REST Apis</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../adminguide/configuration-files.html" 
title="Configuration Files">
+          <i class="none"></i>
+        Configuration Files</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../adminguide/system-status.html" 
title="System Status">
+          <i class="none"></i>
+        System Status</a>
+            </li>
+                                                                               
                       
+      <li>
+  
+                          <a href="../adminguide/logging.html" title="Log 
Files">
+          <i class="icon-chevron-right"></i>
+        Log Files</a>
+                  </li>
+                
+      <li>
+  
+                          <a href="../adminguide/reports.html" title="Reports">
+          <i class="none"></i>
+        Reports</a>
+            </li>
+                              <li class="nav-header">Customising Archiva</li>
+                              
+      <li>
+  
+                          <a href="../customising/writing-consumer.html" 
title="Writing a Consumer Plugin">
+          <i class="none"></i>
+        Writing a Consumer Plugin</a>
+            </li>
+                              <li class="nav-header">More Information</li>
+                              
+      <li>
+  
+                          <a 
href="http://cwiki.apache.org/confluence/display/ARCHIVA/Index"; 
class="externalLink" title="Archiva Wiki">
+          <i class="none"></i>
+        Archiva Wiki</a>
+            </li>
+                              <li class="nav-header">ASF</li>
+                              
+      <li>
+  
+                          <a 
href="http://www.apache.org/foundation/how-it-works.html"; class="externalLink" 
title="How Apache Works">
+          <i class="none"></i>
+        How Apache Works</a>
+            </li>
+                
+      <li>
+  
+                          <a href="http://www.apache.org/foundation/"; 
class="externalLink" title="Foundation">
+          <i class="none"></i>
+        Foundation</a>
+            </li>
+                
+      <li>
+  
+                          <a 
href="http://www.apache.org/foundation/sponsorship.html"; class="externalLink" 
title="Sponsoring Apache">
+          <i class="none"></i>
+        Sponsoring Apache</a>
+            </li>
+                
+      <li>
+  
+                          <a 
href="http://www.apache.org/foundation/thanks.html"; class="externalLink" 
title="Thanks">
+          <i class="none"></i>
+        Thanks</a>
+            </li>
+                              <li class="nav-header">Project Documentation</li>
+                                                                               
                   
+      <li>
+  
+                          <a href="../project-info.html" title="Project 
Information">
+          <i class="icon-chevron-right"></i>
+        Project Information</a>
+                  </li>
+            </ul>
+                
+                    
+                            <form id="search-form" 
action="http://www.google.com/search"; method="get" >
+    
+  <input value="http://archiva.apache.org/docs/2.2.0-SNAPSHOT/"; 
name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=search-form";></script>
+          
+          <hr />
+
+           <div id="poweredBy">
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+               
+        
+        
+        <div id="twitter">
+    
+    <a href="https://twitter.com/archiva"; class="twitter-follow-button" 
data-show-count="false" data-align="left" data-size="medium" 
data-show-screen-name="true" data-lang="en">Follow archiva</a>
+    <script type="text/javascript">!function(d,s,id){var 
js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </div>
+                   <div class="clear"></div>
+                            <div class="clear"></div>
+                             <a href="http://maven.apache.org/"; title="Built 
by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" 
src="../images/logos/maven-feather.png" />
+      </a>
+                  </div>
+          </div>
+        </div>
+        
+                        
+        <div id="bodyColumn"  class="span10" >
+                                  
+            <!-- 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. --><div class="section">
+<h2>Configuring Maven 2 to use an Archiva repository<a 
name="Configuring_Maven_2_to_use_an_Archiva_repository"></a></h2>
+<p>To get your local Maven 2 installation to use an Archiva proxy you need to 
add the repositories you require to your 'settings.xml'. This file is usually 
found in ${user.dir}/.m2/settings.xml (see the <a class="externalLink" 
href="http://maven.apache.org/settings.html";>Settings Reference</a>). </p>
+<p>How you configure the settings depends on how you would like to utilise the 
repository. You can add the Archiva repository as an additional repository to 
others already declared by the project, or lock down the environment to only 
use the Archiva repositories (possibly proxying content from a remote 
repository).</p>
+<div class="section">
+<h3>Locking down to only use Archiva<a 
name="Locking_down_to_only_use_Archiva"></a></h3>
+<p>If you would like Archiva to serve as the only repository used by your 
Maven installation, you can use the Maven mirror settings to force this 
behaviour.</p>
+<p>First, you need to select the default repository to use when none is 
configured by adding the following to the <tt>settings.xml</tt> file:</p>
+<div class="source">
+<pre>&lt;settings&gt;
+  &lt;!-- omitted xml --&gt;
+  &lt;mirrors&gt;
+    &lt;mirror&gt;
+      &lt;id&gt;archiva.default&lt;/id&gt;
+      
&lt;url&gt;http://repo.mycompany.com:8080/repository/internal/&lt;/url&gt;
+      &lt;mirrorOf&gt;external:*&lt;/mirrorOf&gt;
+    &lt;/mirror&gt;
+  &lt;/mirrors&gt;
+  &lt;!-- omitted xml --&gt;
+&lt;/settings&gt;</pre></div>
+<p><b>Note:</b> <i>There are other controls you can use on what is mirrored. 
See Maven's <a class="externalLink" 
href="http://maven.apache.org/guides/mini/guide-mirror-settings.html";> Guide to 
Mirror Settings</a> for more information.</i></p>
+<p>With this in place, all repository requests will be sent to the internal 
repository (which by default is configured to proxy the central repository).</p>
+<p>If you have separate Archiva repositories that you wish to use, you can add 
an extra mirror declaration as needed:</p>
+<div class="source">
+<pre>    &lt;!-- omitted xml --&gt;
+    &lt;mirror&gt;
+      &lt;id&gt;archiva.apache.snapshots&lt;/id&gt;
+      
&lt;url&gt;http://repo.mycompany.com:8080/repository/snapshots/&lt;/url&gt;
+      &lt;mirrorOf&gt;apache.snapshots&lt;/mirrorOf&gt;
+    &lt;/mirror&gt;
+    &lt;!-- omitted xml --&gt;</pre></div>
+<p><b>WARNING:</b> Maven, as of version 2.0.8, does not properly report the 
correct URL in errors when a mirror is used - so although the Archiva instance 
is being consulted any error messages will still reflect the original URL 
described in the POM.</p></div>
+<div class="section">
+<h3>Using Archiva as an additional repository<a 
name="Using_Archiva_as_an_additional_repository"></a></h3>
+<p>You will need to add one entry for each repository that is setup in 
Archiva. If your repository contains plugins; remember to also include a 
&lt;pluginRepository&gt; setting.</p>
+<ol style="list-style-type: decimal">
+<li>Create a new profile to setup your repositories
+<div class="source">
+<pre>&lt;settings&gt;
+  &lt;!-- omitted xml --&gt;
+  &lt;profiles&gt;
+    &lt;profile&gt;
+      &lt;id&gt;Repository Proxy&lt;/id&gt;
+      &lt;activation&gt;
+        &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
+      &lt;/activation&gt;
+      &lt;!-- ******************************************************* --&gt;
+      &lt;!-- repositories for jar artifacts --&gt;
+      &lt;!-- ******************************************************* --&gt;
+      &lt;repositories&gt;
+        &lt;repository&gt;
+          &lt;!-- omitted xml --&gt;
+        &lt;/repository&gt;
+        &lt;!-- omitted xml --&gt;   
+      &lt;/repositories&gt;
+      &lt;!-- ******************************************************* --&gt;
+      &lt;!-- repositories for maven plugins --&gt;
+      &lt;!-- ******************************************************* --&gt;
+      &lt;pluginRepositories&gt;
+        &lt;pluginRepository&gt;
+          &lt;!-- omitted xml --&gt;
+        &lt;/pluginRepository&gt;
+        &lt;!-- omitted xml --&gt;   
+      &lt;/pluginRepositories&gt;
+    &lt;/profile&gt;
+    &lt;!-- omitted xml --&gt;
+  &lt;/profiles&gt;
+  &lt;!-- omitted xml --&gt;
+&lt;/settings&gt;</pre></div></li>
+<li>Add your repository configuration to the profile
+<p>You can copy the repository configuration from the POM Snippet on the 
Archiva Administration Page for a normal repository. It should look much 
like:</p>
+<div class="source">
+<pre>    &lt;repository&gt;
+      &lt;id&gt;repository-1&lt;/id&gt;
+      
&lt;url&gt;http://repo.mycompany.com:8080/repository/internal/&lt;/url&gt;
+      &lt;releases&gt;
+        &lt;enabled&gt;true&lt;/enabled&gt;
+      &lt;/releases&gt;
+      &lt;snapshots&gt;
+        &lt;enabled&gt;false&lt;/enabled&gt;
+      &lt;/snapshots&gt;
+    &lt;/repository&gt;</pre></div></li>
+<li>Add the necessary security configuration
+<p>This is only necessary if the guest account does not have read access to 
the given repository.</p>
+<div class="source">
+<pre>&lt;settings&gt;
+  &lt;!-- omitted xml --&gt;
+  &lt;servers&gt;
+    &lt;server&gt;
+      &lt;id&gt;repository-1&lt;/id&gt;
+      &lt;username&gt;{archiva-user}&lt;/username&gt;
+      &lt;password&gt;{archiva-pwd}&lt;/password&gt;
+    &lt;/server&gt;
+    &lt;!-- omitted xml --&gt;
+  &lt;/servers&gt;
+  &lt;!-- omitted xml --&gt;
+&lt;/settings&gt;</pre></div></li></ol></div></div>
+                  </div>
+            </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container-fluid">
+                      <div class="row-fluid">
+                              <p >Copyright &copy;                    
2006&#x2013;2014
+                        <a href="http://www.apache.org/";>The Apache Software 
Foundation</a>.
+            All rights reserved.      
+                    
+      </p>
+        </div>
+
+                                                                  
+<div class="row span12">Apache Archiva :: Documentation, Archiva :: 
Documentation, Apache, the Apache feather logo, and the Apache Archiva :: 
Documentation project logos are trademarks of The Apache Software 
Foundation.</div>
+                                                          
+<div class="row span12">
+  <a 
href="http://archiva.apache.org/docs/2.2.0-SNAPSHOT/privacy-policy.html";>Privacy
 Policy</a>
+</div>
+                  
+        
+          
+    
+    
+                
+    <div id="ohloh" class="pull-right">
+      <script type="text/javascript" 
src="http://www.ohloh.net/p/6670/widgets/project_basic_stats.js";></script>
+    </div>
+        </div>
+    </footer>
+        </body>
+</html>
\ No newline at end of file

Added: 
archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/virtual-repositories.html
URL: 
http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/virtual-repositories.html?rev=1643150&view=auto
==============================================================================
--- 
archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/virtual-repositories.html 
(added)
+++ 
archiva/site-content/docs/2.2.0-SNAPSHOT/userguide/virtual-repositories.html 
Fri Dec  5 03:57:52 2014
@@ -0,0 +1,462 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia 
+ | Rendered using Apache Maven Fluido Skin 1.3.1
+-->
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20141205" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Archiva Documentation - Virtual Repositories</title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.1.min.css" />
+    <link rel="stylesheet" href="../css/site.css" />
+    <link rel="stylesheet" href="../css/print.css" media="print" />
+
+      
+    <script type="text/javascript" 
src="../js/apache-maven-fluido-1.3.1.min.js"></script>
+
+    
+              <!-- Google Analytics -->
+    <script type="text/javascript">
+
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-140879-5']);
+      _gaq.push(['_trackPageview']);
+
+      (function() {
+        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+      })();
+
+    </script>
+          </head>
+        <body class="topBarDisabled">
+          
+                
+                    
+    
+        <div class="container-fluid">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href="../../../" 
id="bannerLeft">
+                                                                               
                 <img src="../../../images/archiva.png"  alt="Apache Archiva"/>
+                </a>
+                      </div>
+        <div class="pull-right">                  <a 
href="http://www.apache.org/"; id="bannerRight">
+                                                                               
         <img src="http://www.apache.org/images/asf_logo_wide.png";  alt="Apache 
Software Foundation"/>
+                </a>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+                    
+                              <li class="">
+                    <a href="http://www.apache.org/"; class="externalLink" 
title="Apache">
+        Apache</a>
+                    <span class="divider">/</span>
+      </li>
+            <li class="">
+                    <a href="../" title="Apache Archiva">
+        Apache Archiva</a>
+                    <span class="divider">/</span>
+      </li>
+            <li class="">
+                    <a href="../../../index.html" title="Apache Archiva">
+        Apache Archiva</a>
+                    <span class="divider">/</span>
+      </li>
+        <li class="active ">Virtual Repositories</li>
+        
+                
+                    
+                  <li id="publishDate" class="pull-right"><span 
class="divider">|</span> Last Published: 2014-12-05</li>
+              <li id="projectVersion" class="pull-right">
+                    Version: 2.2.0-SNAPSHOT
+        </li>
+            
+                            </ul>
+      </div>
+
+                  
+      <div class="row-fluid">
+        <div id="leftColumn" class="span2">
+          <div class="well sidebar-nav">
+                
+                    
+                <ul class="nav nav-list">
+                    <li class="nav-header">Introduction</li>
+                              
+      <li>
+  
+                          <a href="../quick-start.html" title="Quick Start">
+          <i class="none"></i>
+        Quick Start</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../tour/index.html" title="Feature Tour">
+          <i class="none"></i>
+        Feature Tour</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../release-notes.html" title="Release 
Notes">
+          <i class="none"></i>
+        Release Notes</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../../../download.html" title="Downloads">
+          <i class="none"></i>
+        Downloads</a>
+            </li>
+                              <li class="nav-header">Users Guide</li>
+                              
+      <li>
+  
+                          <a href="../userguide/browsing.html" 
title="Browsing">
+          <i class="none"></i>
+        Browsing</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/searching.html" 
title="Searching">
+          <i class="none"></i>
+        Searching</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/delete-artifact.html" 
title="Deleting an Artifact">
+          <i class="none"></i>
+        Deleting an Artifact</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/using-repository.html" 
title="Using as a repository">
+          <i class="none"></i>
+        Using as a repository</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/deploy.html" title="Deploying 
to repository">
+          <i class="none"></i>
+        Deploying to repository</a>
+            </li>
+                
+      <li class="active">
+  
+            <a href="#"><i class="none"></i>Configuring Virtual 
Repositories</a>
+          </li>
+                
+      <li>
+  
+                          <a href="../userguide/rss.html" title="Rss Feeds in 
Archiva">
+          <i class="none"></i>
+        Rss Feeds in Archiva</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../userguide/querying-artifacts.html" 
title="Querying Artifacts">
+          <i class="none"></i>
+        Querying Artifacts</a>
+            </li>
+                              <li class="nav-header">Administrators Guide</li>
+                                                                               
                                     
+      <li>
+  
+                          <a href="../adminguide/installing.html" 
title="Installing Archiva">
+          <i class="icon-chevron-right"></i>
+        Installing Archiva</a>
+                  </li>
+                
+      <li>
+  
+                          <a href="../adminguide/databases.html" 
title="Databases">
+          <i class="none"></i>
+        Databases</a>
+            </li>
+                
+      <li>
+  
+                          <a 
href="../adminguide/repositories-content-storage.html" title="Repositories 
Content Storage">
+          <i class="none"></i>
+        Repositories Content Storage</a>
+            </li>
+                                                                               
                       
+      <li>
+  
+                          <a href="../adminguide/security.html" 
title="Security">
+          <i class="icon-chevron-right"></i>
+        Security</a>
+                  </li>
+                                                                               
                                                                                
                                                                                
                                           
+      <li>
+  
+                          <a href="../adminguide/configuration.html" 
title="Archiva Configuration">
+          <i class="icon-chevron-right"></i>
+        Archiva Configuration</a>
+                  </li>
+                
+      <li>
+  
+                          <a href="../adminguide/webservices/rest.html" 
title="REST Apis">
+          <i class="none"></i>
+        REST Apis</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../adminguide/configuration-files.html" 
title="Configuration Files">
+          <i class="none"></i>
+        Configuration Files</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../adminguide/system-status.html" 
title="System Status">
+          <i class="none"></i>
+        System Status</a>
+            </li>
+                                                                               
                       
+      <li>
+  
+                          <a href="../adminguide/logging.html" title="Log 
Files">
+          <i class="icon-chevron-right"></i>
+        Log Files</a>
+                  </li>
+                
+      <li>
+  
+                          <a href="../adminguide/reports.html" title="Reports">
+          <i class="none"></i>
+        Reports</a>
+            </li>
+                              <li class="nav-header">Customising Archiva</li>
+                              
+      <li>
+  
+                          <a href="../customising/writing-consumer.html" 
title="Writing a Consumer Plugin">
+          <i class="none"></i>
+        Writing a Consumer Plugin</a>
+            </li>
+                              <li class="nav-header">More Information</li>
+                              
+      <li>
+  
+                          <a 
href="http://cwiki.apache.org/confluence/display/ARCHIVA/Index"; 
class="externalLink" title="Archiva Wiki">
+          <i class="none"></i>
+        Archiva Wiki</a>
+            </li>
+                              <li class="nav-header">ASF</li>
+                              
+      <li>
+  
+                          <a 
href="http://www.apache.org/foundation/how-it-works.html"; class="externalLink" 
title="How Apache Works">
+          <i class="none"></i>
+        How Apache Works</a>
+            </li>
+                
+      <li>
+  
+                          <a href="http://www.apache.org/foundation/"; 
class="externalLink" title="Foundation">
+          <i class="none"></i>
+        Foundation</a>
+            </li>
+                
+      <li>
+  
+                          <a 
href="http://www.apache.org/foundation/sponsorship.html"; class="externalLink" 
title="Sponsoring Apache">
+          <i class="none"></i>
+        Sponsoring Apache</a>
+            </li>
+                
+      <li>
+  
+                          <a 
href="http://www.apache.org/foundation/thanks.html"; class="externalLink" 
title="Thanks">
+          <i class="none"></i>
+        Thanks</a>
+            </li>
+                              <li class="nav-header">Project Documentation</li>
+                                                                               
                   
+      <li>
+  
+                          <a href="../project-info.html" title="Project 
Information">
+          <i class="icon-chevron-right"></i>
+        Project Information</a>
+                  </li>
+            </ul>
+                
+                    
+                            <form id="search-form" 
action="http://www.google.com/search"; method="get" >
+    
+  <input value="http://archiva.apache.org/docs/2.2.0-SNAPSHOT/"; 
name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=search-form";></script>
+          
+          <hr />
+
+           <div id="poweredBy">
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+               
+        
+        
+        <div id="twitter">
+    
+    <a href="https://twitter.com/archiva"; class="twitter-follow-button" 
data-show-count="false" data-align="left" data-size="medium" 
data-show-screen-name="true" data-lang="en">Follow archiva</a>
+    <script type="text/javascript">!function(d,s,id){var 
js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </div>
+                   <div class="clear"></div>
+                            <div class="clear"></div>
+                             <a href="http://maven.apache.org/"; title="Built 
by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" 
src="../images/logos/maven-feather.png" />
+      </a>
+                  </div>
+          </div>
+        </div>
+        
+                        
+        <div id="bodyColumn"  class="span10" >
+                                  
+            <!-- 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. --><div class="section">
+<h2>Virtual Repositories<a name="Virtual_Repositories"></a></h2>
+<p>This is a new feature for Archiva 1.1. The main advantage of virtual 
repositories (or repository groups) is that you only need to specify one URL 
instead of multiple repository URLs if you are using more than 1 proxy 
repository.</p>
+<p>For example, you have the following configuration in your 
<tt>settings.xml</tt>:</p>
+<div class="source">
+<pre>&lt;settings&gt;
+  &lt;!-- omitted xml --&gt;
+  &lt;profiles&gt;
+    &lt;profile&gt;
+      &lt;id&gt;Repository Proxy&lt;/id&gt;
+      &lt;activation&gt;
+        &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
+      &lt;/activation&gt;
+      &lt;repositories&gt;
+        &lt;repository&gt;
+          &lt;id&gt;internal.releases&lt;/id&gt;
+          
&lt;url&gt;http://localhost:8080/repository/internal.releases/&lt;/url&gt;
+          &lt;releases&gt;
+            &lt;enabled&gt;true&lt;/enabled&gt;
+          &lt;/releases&gt;
+          &lt;snapshots&gt;
+            &lt;enabled&gt;false&lt;/enabled&gt;
+          &lt;/snapshots&gt;
+        &lt;/repository&gt;
+        &lt;repository&gt;
+          &lt;id&gt;third.party.repo&lt;/id&gt;
+          
&lt;url&gt;http://localhost:8080/repository/third.party.repo/&lt;/url&gt;
+          &lt;releases&gt;
+            &lt;enabled&gt;true&lt;/enabled&gt;
+          &lt;/releases&gt;
+          &lt;snapshots&gt;
+            &lt;enabled&gt;false&lt;/enabled&gt;
+          &lt;/snapshots&gt;
+        &lt;/repository&gt;
+        &lt;repository&gt;
+          &lt;id&gt;snapshots&lt;/id&gt;
+          &lt;url&gt;http://localhost:8080/repository/snapshots/&lt;/url&gt;
+          &lt;releases&gt;
+            &lt;enabled&gt;false&lt;/enabled&gt;
+          &lt;/releases&gt;
+          &lt;snapshots&gt;
+            &lt;enabled&gt;true&lt;/enabled&gt;
+          &lt;/snapshots&gt;
+        &lt;/repository&gt;
+      &lt;/repositories&gt;
+    &lt;/profile&gt;
+    &lt;!-- omitted xml --&gt;
+  &lt;/profiles&gt;
+  &lt;!-- omitted xml --&gt;
+&lt;/settings&gt;</pre></div>
+<p>If you have a virtual repository configured in Archiva, you only need to 
configure this in your <tt>settings.xml</tt>:</p>
+<div class="source">
+<pre>&lt;settings&gt;
+  &lt;!-- omitted xml --&gt;
+  &lt;profiles&gt;
+    &lt;profile&gt;
+      &lt;id&gt;Repository Proxy&lt;/id&gt;
+      &lt;activation&gt;
+        &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
+      &lt;/activation&gt;
+      &lt;repositories&gt;
+        &lt;repository&gt;
+          &lt;id&gt;internal.releases&lt;/id&gt;
+          
&lt;url&gt;http://localhost:8080/repository/[repository_group_id]/&lt;/url&gt;
+        &lt;/repository&gt;
+      &lt;/repositories&gt;
+    &lt;/profile&gt;
+    &lt;!-- omitted xml --&gt;
+  &lt;/profiles&gt;
+  &lt;!-- omitted xml --&gt;
+&lt;/settings&gt;</pre></div>
+<p>And you'll still be able to get all the artifacts that you need. See 
Configuring Virtual Repositories section for the steps on how to setup a 
virtual repo in Archiva.</p>
+<div class="section">
+<h3>How It Works<a name="How_It_Works"></a></h3>
+<p>When Archiva receives a request with a virtual repo (or repo group) URL, 
Archiva would look for the requested artifact from the repositories under that 
group. It would only check the repositories the user has permission to access 
(meaning only those repositories which the user has an Obeserver role for). The 
first resource found for the requested artifact would be returned.</p>
+<p>Prior to version 1.4-M2, Virtual repositories can return a Maven index in 
the path /.indexer path</p></div>
+<div class="section">
+<h3>Configuring Virtual Repositories<a 
name="Configuring_Virtual_Repositories"></a></h3>
+<p>Below are the steps for setting up the virtual repositories:</p>
+<ol style="list-style-type: decimal">
+<li>In the webapp, go to the <tt>Repository Groups</tt> page. To create a 
virtual repository or repository group, go to add tab</li>
+<li>To add a repository drag and drop available repositories.<img 
src="../images/repository-groups.png" alt="" /></li>
+<li>Now add the virtual repository URL 
<tt>http://[host]:[port]/repository/[repository_group_id]/</tt> into your 
settings.xml the same way you configure regular repositories -- as a 
<i>mirror</i> or as an additional <i>repository</i>.</li>
+<li>If the repositories under the group are secured, you must set your Archiva 
login credentials in your settings.xml as well. Please take note that the 
<i>server</i> id should match the repository group identifier.</li></ol></div>
+<div class="section">
+<h3>Webdav Browse<a name="Webdav_Browse"></a></h3>
+<p>Webdav Browse for a virtual repository is a read-only view. It displays the 
merged contents of all the repositories under that repository group. Just type 
the url of the virtual repository in your browser in order to view its 
contents. User will be asked to authenticate if the 'guest' account is not 
enabled for the repositories. Only those repositories which the user has 
permission to access will be shown.</p></div>
+<div class="section">
+<h3>Merged index<a name="Merged_index"></a></h3>
+<p>With version 1.4-M2, you can download a merged index for a virtual 
repository. This merged index is generated &quot;on the fly&quot; with merging 
repositories index for which the current user has karma. This merged index is 
available in the path .indexer .</p>
+<p>To not generate this merged index on each request, there is a ttl (time to 
live) value for build merged index. It can be configured in the repository 
group configuration. This ttl has a default value of 30 minutes.</p></div></div>
+                  </div>
+            </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container-fluid">
+                      <div class="row-fluid">
+                              <p >Copyright &copy;                    
2006&#x2013;2014
+                        <a href="http://www.apache.org/";>The Apache Software 
Foundation</a>.
+            All rights reserved.      
+                    
+      </p>
+        </div>
+
+                                                                  
+<div class="row span12">Apache Archiva :: Documentation, Archiva :: 
Documentation, Apache, the Apache feather logo, and the Apache Archiva :: 
Documentation project logos are trademarks of The Apache Software 
Foundation.</div>
+                                                          
+<div class="row span12">
+  <a 
href="http://archiva.apache.org/docs/2.2.0-SNAPSHOT/privacy-policy.html";>Privacy
 Policy</a>
+</div>
+                  
+        
+          
+    
+    
+                
+    <div id="ohloh" class="pull-right">
+      <script type="text/javascript" 
src="http://www.ohloh.net/p/6670/widgets/project_basic_stats.js";></script>
+    </div>
+        </div>
+    </footer>
+        </body>
+</html>
\ No newline at end of file


Reply via email to