Added: archiva/site-content/docs/2.2.0/userguide/delete-artifact.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0/userguide/delete-artifact.html?rev=1662140&view=auto ============================================================================== --- archiva/site-content/docs/2.2.0/userguide/delete-artifact.html (added) +++ archiva/site-content/docs/2.2.0/userguide/delete-artifact.html Tue Feb 24 23:46:54 2015 @@ -0,0 +1,385 @@ +<!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="Olivier Lamy" /> + <meta name="Date-Creation-yyyymmdd" content="20121218" /> + <meta name="Date-Revision-yyyymmdd" content="20150225" /> + <meta http-equiv="Content-Language" content="en" /> + <title>Archiva Documentation - Deleting an Artifact</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 ">Deleting an Artifact</li> + + + + <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2015-02-25</li> + <li id="projectVersion" class="pull-right"> + Version: 2.2.0 + </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 class="active"> + + <a href="#"><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/" 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>Deleting an Artifact<a name="Deleting_an_Artifact"></a></h2> +<p>The Delete Artifact feature allows groupId or artifacts to be deleted from the managed repositories.</p> +<div> +<pre> User must have a Repository Manager role to a repository to be able to delete artifacts from it.</pre></div> +<p>To delete artifacts, you must simply browse to what you want to delete</p> +<div class="section"> +<h3>Delete groupId<a name="Delete_groupId"></a></h3> +<p>Use trash icon near the groupId you want to delete</p><img src="../images/delete-groupid.png" alt="" /></div> +<div class="section"> +<h3>Delete artifact<a name="Delete_artifact"></a></h3> +<p>Browse to detail view of artifact, go to Artifacts tab then delete the artifact with trash icon</p><img src="../images/delete-artifact.png" alt="" /></div></div> + </div> + </div> + </div> + + <hr/> + + <footer> + <div class="container-fluid"> + <div class="row-fluid"> + <p >Copyright © 2006–2015 + <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/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/userguide/deploy.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0/userguide/deploy.html?rev=1662140&view=auto ============================================================================== --- archiva/site-content/docs/2.2.0/userguide/deploy.html (added) +++ archiva/site-content/docs/2.2.0/userguide/deploy.html Tue Feb 24 23:46:54 2015 @@ -0,0 +1,517 @@ +<!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="2012-09-15" /> + <meta name="Date-Revision-yyyymmdd" content="20150225" /> + <meta http-equiv="Content-Language" content="en" /> + <title>Archiva Documentation - Deploying to 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 ">Deploying to Repository</li> + + + + <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2015-02-25</li> + <li id="projectVersion" class="pull-right"> + Version: 2.2.0 + </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 class="active"> + + <a href="#"><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/" 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>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 repository<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><settings> + <!-- omitted xml --> + <servers> + <server> + <id>archiva.internal</id> + <username>{archiva-deployment-user}</username> + <password>{archiva-deployment-pwd}</password> + </server> + <server> + <id>archiva.snapshots</id> + <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><project> + <!-- omitted xml --> + <distributionManagement> + <repository> + <id>archiva.internal</id> + <name>Internal Release Repository</name> + <url>http://reposerver.mycompany.com:8080/repository/internal/</url> + </repository> + <snapshotRepository> + <id>archiva.snapshots</id> + <name>Internal Snapshot Repository</name> + <url>http://reposerver.mycompany.com:8080/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><project> + <!-- omitted xml --> + <distributionManagement> + <repository> + <id>archiva.internal</id> + <name>Internal Release Repository</name> + <url>dav:http://reposerver.mycompany.com:8080/repository/internal/</url> + </repository> + <snapshotRepository> + <id>archiva.snapshots</id> + <name>Internal Snapshot Repository</name> + <url>dav:http://reposerver.mycompany.com:8080/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><project> + <!-- omitted xml --> + <build> + <extensions> + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-webdav-jackrabbit</artifactId> + <version>2.2</version> + </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>mvn deploy: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><project> + <modelVersion>4.0.0</modelVersion> + <groupId>com.example</groupId> + <artifactId>webdav-deploy</artifactId> + <packaging>pom</packaging> + <version>1</version> + <name>Webdav Deployment POM</name> + + <build> + <extensions> + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-webdav-jackrabbit</artifactId> + <version>2.2</version> + </extension> + </extensions> + </build> +</project></pre></div> +<p>This pom will not be deployed with the artifact, it simply serves to make the WebDAV protocol available to the build process.</p> +<p>Alternately, you can save this file somewhere else, and use "<tt>mvn ... -f /path/to/filename</tt>" to force the use of an alternate POM file.</p></div></div> +<div class="section"> +<h3>Deploying via the <a name="Web_UI">Web UI</a> Form<a name="Deploying_via_the_Web_UI_Form"></a></h3> +<p>The easiest way to deploy in the repository is via the Web UI form, which can be accessed in the <b>Upload Artifact</b> section. Just follow these steps:</p> +<ol style="list-style-type: decimal"> +<li>In Archiva, click the <b>Upload Artifact</b> option in the left menu. You should see a form similar to the one at the end of this section.</li> +<li>Fill in the following required fields: +<ul> +<li>Group Id - the groupId of the artifact to be deployed.</li> +<li>Artifact Id - the artifactId of the artifact to be deployed.</li> +<li>Version - the version of the artifact to be deployed.</li> +<li>Packaging - the packaging of the artifact to be deployed. (ex. jar, war, ear, etc.)</li> +<li>Drag and drop files to be deployed.</li></ul></li> +<li>Select the repository you want to deploy to. Please note that if you do not have write permission to the repository, you will not be allowed to deploy on it.</li> +<li>Now, if you want Archiva to generate a pom for the artifact, check the Generate Maven 2 POM field. (Right now, only Maven 2 poms can be generated.) Alternately, supply a POM file to be deployed alongside the artifact.</li> +<li>Click Saves files and a message will be displayed notifying you if the upload/deployment was successful or not.</li></ol> +<p>These are the files that will be in your repository after deployment:</p> +<ul> +<li>artifact </li> +<li>POM file (if you supplied one or checked Generate Maven 2 POM)</li> +<li>maven-metadata.xml (this will be created if none exists in the artifact level yet, otherwise it will just be updated)</li> +<li>maven-metadata.xml.sha1 and maven-metadata.xml.md5 (these will be generated for newly created maven-metadata.xml files, otherwise they will just be updated)</li></ul><img src="../images/upload-artifact.jpg" alt="Upload Artifact" /><!-- TODO: information for Maven 1, ant tasks, ivy, etc. --></div></div> + </div> + </div> + </div> + + <hr/> + + <footer> + <div class="container-fluid"> + <div class="row-fluid"> + <p >Copyright © 2006–2015 + <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/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/userguide/index.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0/userguide/index.html?rev=1662140&view=auto ============================================================================== --- archiva/site-content/docs/2.2.0/userguide/index.html (added) +++ archiva/site-content/docs/2.2.0/userguide/index.html Tue Feb 24 23:46:54 2015 @@ -0,0 +1,385 @@ +<!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="20150225" /> + <meta http-equiv="Content-Language" content="en" /> + <title>Archiva Documentation - Users Guide</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 ">Users Guide</li> + + + + <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2015-02-25</li> + <li id="projectVersion" class="pull-right"> + Version: 2.2.0 + </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> + + <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/" 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>Users Guide<a name="Users_Guide"></a></h2> +<p>Welcome to the Archiva user's guide. Getting to know and use Archiva is very simple - please select one of the following documents to learn how to use Archiva quickly.</p> +<ul> +<li><a href="./browsing.html"> Browsing Archiva repositories</a></li> +<li><a href="./searching.html"> Searching Archiva repositories</a></li> +<li><a href="./find-artifact.html"> Identifying an unknown artifact by comparing the repository checksum</a></li> +<li><a href="./using-repository.html"> Using Archiva as a repository for Maven, Ivy, etc.</a></li> +<li><a href="./deploy.html"> Deploying artifacts to the repository</a></li> +<li><a href="./virtual-repositories.html"> Configuring Virtual Repositories</a></li> +<li><a href="./rss.html">RSS Feeds in Archiva</a></li> +<li><a href="./querying-artifacts.html">Querying Artifacts</a></li></ul></div> + </div> + </div> + </div> + + <hr/> + + <footer> + <div class="container-fluid"> + <div class="row-fluid"> + <p >Copyright © 2006–2015 + <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/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/userguide/querying-artifacts.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0/userguide/querying-artifacts.html?rev=1662140&view=auto ============================================================================== --- archiva/site-content/docs/2.2.0/userguide/querying-artifacts.html (added) +++ archiva/site-content/docs/2.2.0/userguide/querying-artifacts.html Tue Feb 24 23:46:54 2015 @@ -0,0 +1,387 @@ +<!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="Olivier Lamy" /> + <meta name="Date-Creation-yyyymmdd" content="20140521" /> + <meta name="Date-Revision-yyyymmdd" content="20150225" /> + <meta http-equiv="Content-Language" content="en" /> + <title>Archiva Documentation - Querying Artifacts</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 ">Querying Artifacts</li> + + + + <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2015-02-25</li> + <li id="projectVersion" class="pull-right"> + Version: 2.2.0 + </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> + + <a href="../userguide/rss.html" title="Rss Feeds in Archiva"> + <i class="none"></i> + Rss Feeds in Archiva</a> + </li> + + <li class="active"> + + <a href="#"><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/" 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>Querying Artifacts<a name="Querying_Artifacts"></a></h2> +<p>Sometimes you only need to download artifacts using a query and via the command line</p> +<div class="section"> +<h3>Query format<a name="Query_format"></a></h3> +<div class="source"> +<pre> wget "http://localhost:9091/archiva/restServices/archivaServices/searchService/artifact?g=org.apache.archiva&a=archiva-model&v=LATEST"</pre></div> +<p>Query parameters:</p> +<ul> +<li>g= groupId (mandatory)</li> +<li>a= artifactId (mandatory)</li> +<li>v= the version (or LATEST keyword) (mandatory)</li> +<li>r= the repository (optional, if none all repositories available for reading for the current user are searched)</li></ul> +<p><b>NOTE</b>: the response is a redirect (so you need to follow redirect if you want to download the artifact). No content response is returned if the query doesn't match any artifact.</p></div></div> + </div> + </div> + </div> + + <hr/> + + <footer> + <div class="container-fluid"> + <div class="row-fluid"> + <p >Copyright © 2006–2015 + <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/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
