Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/privacy-policy.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/privacy-policy.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/privacy-policy.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/privacy-policy.html Thu Sep 27 11:22:58 2012 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,9 +9,9 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Vincent Siveton" /> <meta name="Date-Creation-yyyymmdd" content="20081203" /> - <meta name="Date-Revision-yyyymmdd" content="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Privacy Policy</title> + <title>Archiva Documentation - Privacy Policy</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="./css/site.css" /> <link rel="stylesheet" href="./css/print.css" media="print" /> @@ -72,7 +72,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul>
Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/project-info.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/project-info.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/project-info.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/project-info.html Thu Sep 27 11:22:58 2012 @@ -1,15 +1,15 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <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="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Project Information</title> + <title>Archiva Documentation - Project Information</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="./css/site.css" /> <link rel="stylesheet" href="./css/print.css" media="print" /> @@ -70,7 +70,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/quick-start.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/quick-start.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/quick-start.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/quick-start.html Thu Sep 27 11:22:58 2012 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,9 +9,9 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Henri Yandell" /> <meta name="Date-Creation-yyyymmdd" content="20100611" /> - <meta name="Date-Revision-yyyymmdd" content="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Quick Start</title> + <title>Archiva Documentation - Quick Start</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="./css/site.css" /> <link rel="stylesheet" href="./css/print.css" media="print" /> @@ -72,7 +72,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/release-notes.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/release-notes.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/release-notes.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/release-notes.html Thu Sep 27 11:22:58 2012 @@ -1,15 +1,15 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <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="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Release Notes for Archiva 1.4</title> + <title>Archiva Documentation - Release Notes for Archiva 1.4</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="./css/site.css" /> <link rel="stylesheet" href="./css/print.css" media="print" /> @@ -70,7 +70,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/team-list.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/team-list.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/team-list.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/team-list.html Thu Sep 27 11:22:58 2012 @@ -1,15 +1,15 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <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="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Team list</title> + <title>Archiva Documentation - Team list</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="./css/site.css" /> <link rel="stylesheet" href="./css/print.css" media="print" /> @@ -70,7 +70,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/tour/index.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/tour/index.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/tour/index.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/tour/index.html Thu Sep 27 11:22:58 2012 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -8,9 +8,9 @@ <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Brett Porter" /> - <meta name="Date-Revision-yyyymmdd" content="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - + <title>Archiva Documentation - Feature Tour</title> <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="../css/site.css" /> @@ -73,7 +73,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/auditlog-report.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/auditlog-report.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/auditlog-report.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/auditlog-report.html Thu Sep 27 11:22:58 2012 @@ -1,15 +1,15 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <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="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Audit Log Report</title> + <title>Archiva Documentation - Audit Log Report</title> <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> @@ -70,7 +70,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/browsing.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/browsing.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/browsing.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/browsing.html Thu Sep 27 11:22:58 2012 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -10,9 +10,9 @@ <meta name="author" content="Maria Odea Ching Olivier Lamy" /> <meta name="Date-Creation-yyyymmdd" content="20120911" /> - <meta name="Date-Revision-yyyymmdd" content="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Browsing</title> + <title>Archiva Documentation - Browsing</title> <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> @@ -73,7 +73,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/delete-artifact.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/delete-artifact.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/delete-artifact.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/delete-artifact.html Thu Sep 27 11:22:58 2012 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,9 +9,9 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Olivier Lamy" /> <meta name="Date-Creation-yyyymmdd" content="20120915" /> - <meta name="Date-Revision-yyyymmdd" content="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Deleting an Artifact</title> + <title>Archiva Documentation - Deleting an Artifact</title> <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> @@ -72,7 +72,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/deploy.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/deploy.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/deploy.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/deploy.html Thu Sep 27 11:22:58 2012 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -8,9 +8,9 @@ <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="2012-09-15" /> - <meta name="Date-Revision-yyyymmdd" content="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Deploying to Repository</title> + <title>Archiva Documentation - Deploying to Repository</title> <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> @@ -71,7 +71,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> @@ -314,7 +314,7 @@ pageTracker._trackPageview();</script> <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/mi ni/guide-apt-format.html --><div class="section"><h2>Deploying to Repository<a name="Deploying_to_Repository"></a></h2><p>There are different ways on how you can deploy artifacts in an Archiva repository. </p><ul><li><a href="#Maven">Maven</a> Configuring Maven to deploy to an Archiva repository}}</li><li><a href="#Web_UI">Web UI</a> Deploying via the Web UI Form}}</li></ul><p>Starting with Archiva 1.2.3, it is possible to block re-deployment of released artifacts to a specific repository. This can be configured through the repository configuration page by ticking the <tt>Block Re-deployment of Released Artifacts</tt> checkbox.</p><p><b>WARNING</b> The deployed artifact may not appear immediately in the search results. The execution of the <tt>index-content</tt> repository consumer and other scanning consumers are queued for execution to prevent concurrent updates to the index.</p><div class="section"><h3>Configuring <a name="Maven">Maven</a> to deploy to an Archiva reposito ry<a name="Configuring_Maven_to_deploy_to_an_Archiva_repository"></a></h3><ol style="list-style-type: decimal"><li>Create a user in Archiva to use for deployment (or use guest if you wish to deploy without a username and password)</li><li>The deployment user needs the Role 'Repository Manager' for each repository that you want to deploy to</li><li>Define the server for deployment inside your 'settings.xml', use the newly created user for authentication<div class="source"><pre class="prettyprint"><settings> - ... + <!-- omitted xml --> <servers> <server> <id>archiva.internal</id> @@ -326,11 +326,11 @@ pageTracker._trackPageview();</script> <username>{archiva-deployment-user}</username> <password>{archiva-deployment-pwd}</password> </server> - ... + <!-- omitted xml --> </servers> - ... + <!-- omitted xml --> </settings></pre></div></li></ol><div class="section"><h4>Deploying to Archiva using HTTP<a name="Deploying_to_Archiva_using_HTTP"></a></h4><p>Configure the <tt>distributionManagement</tt> part of your <tt>pom.xml</tt> (customising the URLs as needed). The <tt>id</tt> of the repository in <tt>distributionManagement</tt> <b>must</b> match the <tt>id</tt> of the <tt>server</tt> element in <tt>settings.xml</tt>.</p><div class="source"><pre class="prettyprint"><project> - ... + <!-- omitted xml --> <distributionManagement> <repository> <id>archiva.internal</id> @@ -343,9 +343,9 @@ pageTracker._trackPageview();</script> <url>http://reposerver.mycompany.com:8080/archiva/repository/snapshots/</url> </snapshotRepository> </distributionManagement> - ... + <!-- omitted xml --> </project></pre></div></div><div class="section"><h4>Deploying to Archiva using WebDAV<a name="Deploying_to_Archiva_using_WebDAV"></a></h4><p>In some cases, you may want to use WebDAV to deploy instead of HTTP. If you find this is necessary, follow the same process as for HTTP, with these additional steps:</p><ol style="list-style-type: decimal"><li>Add <tt>dav:</tt> to the front of the deployment URLs:<div class="source"><pre class="prettyprint"><project> - ... + <!-- omitted xml --> <distributionManagement> <repository> <id>archiva.internal</id> @@ -358,9 +358,9 @@ pageTracker._trackPageview();</script> <url>dav:http://reposerver.mycompany.com:8080/archiva/repository/snapshots/</url> </snapshotRepository> </distributionManagement> - ... + <!-- omitted xml --> </project></pre></div></li><li>Add a build extension to your <tt>pom.xml</tt> (not required in Maven 2.0.9 and above)<div class="source"><pre class="prettyprint"><project> - ... + <!-- omitted xml --> <build> <extensions> <extension> @@ -370,7 +370,7 @@ pageTracker._trackPageview();</script> </extension> </extensions> </build> - ... + <!-- omitted xml --> </project></pre></div></li></ol></div><div class="section"><h4>Deploying using other protocols<a name="Deploying_using_other_protocols"></a></h4><p>You can also deploy to the Archiva server using traditional means such as SCP, FTP, etc. For more information on these deployment techniques, refer to the Maven documentation.</p><p>Once the files are deployed into the location of the Archiva managed repository, they should appear in the Browse page. The artifacts should also be searcheable as long as the <tt>index-content</tt> repository consumer is enabled.</p></div><div class="section"><h4>Deploying Third-Party Artifacts to Archiva using Maven<a name="Deploying_Third-Party_Artifacts_to_Archiva_using_Maven"></a></h4><p>You can use <tt>mvn deploy:deploy-file</tt> to deploy single artifacts to Archiva. Once you have the settings file in place as described above, you can deploy the artifact using this type of command:</p><div class="source"><pre class="prettyprint">mvn deplo y:deploy-file -Dfile=filename.jar -DpomFile=filename.pom -DrepositoryId=archiva.internal -Durl=http://repo.mycompany.com:8080/repository/internal/</pre></div><p>For more information, consult the <a class="externalLink" href="http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html"> documentation for the <tt>deploy:deploy-file</tt> goal</a></p><p>If you wish to use WebDAV to deploy the file, add <tt>dav:</tt> to the start of the URL as in the previous instructions.</p><p>However, on versions of Maven prior to 2.0.9, you will also need to create a file called <tt>pom.xml</tt> in the directory from which you intend to execute "<tt>mvn deploy:deploy-file</tt>":</p><div class="source"><pre class="prettyprint"><project> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/find-artifact.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/find-artifact.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/find-artifact.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/find-artifact.html Thu Sep 27 11:22:58 2012 @@ -1,15 +1,15 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <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="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Identifying an Artifact</title> + <title>Archiva Documentation - Identifying an Artifact</title> <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> @@ -70,7 +70,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/index.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/index.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/index.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/index.html Thu Sep 27 11:22:58 2012 @@ -1,15 +1,15 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <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="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Users Guide</title> + <title>Archiva Documentation - Users Guide</title> <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> @@ -70,7 +70,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/rss.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/rss.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/rss.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/rss.html Thu Sep 27 11:22:58 2012 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,9 +9,9 @@ <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="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - RSS Feeds</title> + <title>Archiva Documentation - RSS Feeds</title> <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> @@ -72,7 +72,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/searching.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/searching.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/searching.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/searching.html Thu Sep 27 11:22:58 2012 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -10,9 +10,9 @@ <meta name="author" content="Maria Odea Ching Olivier Lamy" /> <meta name="Date-Creation-yyyymmdd" content="20120911" /> - <meta name="Date-Revision-yyyymmdd" content="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Searching</title> + <title>Archiva Documentation - Searching</title> <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> @@ -73,7 +73,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> @@ -315,7 +315,7 @@ pageTracker._trackPageview();</script> <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/mi ni/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 class="source"><pre class="prettyprint">**/*.txt + <!-- 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/mi ni/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 Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/using-repository.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/using-repository.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/using-repository.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/using-repository.html Thu Sep 27 11:22:58 2012 @@ -1,15 +1,15 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <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="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Using as a Repository</title> + <title>Archiva Documentation - Using as a Repository</title> <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> @@ -70,7 +70,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> @@ -313,7 +313,7 @@ pageTracker._trackPageview();</script> <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_Ma ven_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 $<a name="user.dir">user.dir</a>/.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 class="prettyprint"><settings> - ... + <!-- omitted xml --> <mirrors> <mirror> <id>archiva.default</id> @@ -321,15 +321,15 @@ pageTracker._trackPageview();</script> <mirrorOf>external:*</mirrorOf> </mirror> </mirrors> - ... -</settings></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 class="prettyprint"> ... + <!-- omitted xml --> +</settings></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 class="prettyprint"> <!-- omitted xml --> <mirror> <id>archiva.apache.snapshots</id> <url>http://repo.mycompany.com:8080/archiva/repository/snapshots/</url> <mirrorOf>apache.snapshots</mirrorOf> </mirror> - ...</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 <pluginRepository> setting.</p><ol style="list-style-type: decimal"><li>Create a new profile to setup your repositories<div class="source"><pre class="prettyprint"><settings> - ... + <!-- omitted xml --></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 <pluginRepository> setting.</p><ol style="list-style-type: decimal"><li>Create a new profile to setup your repositories<div class="source"><pre class="prettyprint"><settings> + <!-- omitted xml --> <profiles> <profile> <id>Repository Proxy</id> @@ -341,23 +341,23 @@ pageTracker._trackPageview();</script> <!-- ******************************************************* --> <repositories> <repository> - ... + <!-- omitted xml --> </repository> - ... + <!-- omitted xml --> </repositories> <!-- ******************************************************* --> <!-- repositories for maven plugins --> <!-- ******************************************************* --> <pluginRepositories> <pluginRepository> - ... + <!-- omitted xml --> </pluginRepository> - ... + <!-- omitted xml --> </pluginRepositories> </profile> - ... + <!-- omitted xml --> </profiles> - ... + <!-- omitted xml --> </settings></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 class="prettyprint"> <repository> <id>repository-1</id> <url>http://repo.mycompany.com:8080/archiva/repository/internal/</url> @@ -368,16 +368,16 @@ pageTracker._trackPageview();</script> <enabled>false</enabled> </snapshots> </repository></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 class="prettyprint"><settings> - ... + <!-- omitted xml --> <servers> <server> <id>repository-1</id> <username>{archiva-user}</username> <password>{archiva-pwd}</password> </server> - ... + <!-- omitted xml --> </servers> - ... + <!-- omitted xml --> </settings></pre></div></li></ol></div></div> </div> </div> Modified: archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/virtual-repositories.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/virtual-repositories.html?rev=1390941&r1=1390940&r2=1390941&view=diff ============================================================================== --- archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/virtual-repositories.html (original) +++ archiva/site-content/docs/1.4-M3-SNAPSHOT/userguide/virtual-repositories.html Thu Sep 27 11:22:58 2012 @@ -1,15 +1,15 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at Sep 26, 2012 + | Generated by Apache Maven Doxia at Sep 27, 2012 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <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="20120926" /> + <meta name="Date-Revision-yyyymmdd" content="20120927" /> <meta http-equiv="Content-Language" content="en" /> - <title>Archiva :: Documentation - Virtual Repositories</title> + <title>Archiva Documentation - Virtual Repositories</title> <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> @@ -70,7 +70,7 @@ pageTracker._trackPageview();</script> - <li id="publishDate" class="pull-right">Last Published: 2012-09-26</li> <li class="divider pull-right">|</li> + <li id="publishDate" class="pull-right">Last Published: 2012-09-27</li> <li class="divider pull-right">|</li> <li id="projectVersion" class="pull-right">Version: 1.4-M3-SNAPSHOT</li> </ul> @@ -313,7 +313,7 @@ pageTracker._trackPageview();</script> <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 class="prettyprint"><settings> - ... + <!-- omitted xml --> <profiles> <profile> <id>Repository Proxy</id> @@ -353,11 +353,11 @@ pageTracker._trackPageview();</script> </repository> </repositories> </profile> - ... + <!-- omitted xml --> </profiles> - ... + <!-- omitted xml --> </settings></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 class="prettyprint"><settings> - ... + <!-- omitted xml --> <profiles> <profile> <id>Repository Proxy</id> @@ -371,9 +371,9 @@ pageTracker._trackPageview();</script> </repository> </repositories> </profile> - ... + <!-- omitted xml --> </profiles> - ... + <!-- omitted xml --> </settings></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 w ebapp, 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]/archiva/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 br owser 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 "on the fly" 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 value for build merged index. This ttl has a default value of 30 minutes. You can change it with modifying the sys props value <tt>archiva.tmp.group.index.ttl</tt> (see your <tt>wrapper.conf</tt> file)</p></div></div> </div> </div>
