You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by sk...@apache.org on 2015/06/26 11:27:52 UTC

svn commit: r1687726 [10/14] - in /archiva/site-content: ./ css/ developers/ errors/ images/ js/ jsui/

Modified: archiva/site-content/jsui/rest.html
URL: http://svn.apache.org/viewvc/archiva/site-content/jsui/rest.html?rev=1687726&r1=1687725&r2=1687726&view=diff
==============================================================================
--- archiva/site-content/jsui/rest.html (original)
+++ archiva/site-content/jsui/rest.html Fri Jun 26 09:27:51 2015
@@ -1,393 +1,340 @@
-<!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="20120119" />
-    <meta name="Date-Revision-yyyymmdd" content="20150406" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>Archiva &#x2013; REST Services</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>
-
-                          
-        
-<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
-                      
-        
-<script type="text/javascript">var pageTracker = _gat._getTracker("UA-140879-5");
-        pageTracker._initData();
-        pageTracker._trackPageview();</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="topBarEnabled">
-          
-                        
-                    
-                
-
-    <div id="topbar" class="navbar navbar-fixed-top ">
-      <div class="navbar-inner">
-                                  <div class="container"><div class="nav-collapse">
-            
-                
-                                <ul class="nav">
-                          <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Introduction <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li>      <a href="../index.html"  title="About">About</a>
-</li>
-                  
-                      <li>      <a href="../download.html"  title="Downloads">Downloads</a>
-</li>
-                  
-                      <li>      <a href="../versions.html"  title="Versions">Versions</a>
-</li>
-                  
-                      <li>      <a href="../mail-lists.html"  title="Mailing Lists">Mailing Lists</a>
-</li>
-                  
-                      <li>      <a href="../security.html"  title="Security">Security</a>
-</li>
-                  
-                      <li class="dropdown-submenu">
-                                      <a href="../"  title="Documentation">Documentation</a>
-              <ul class="dropdown-menu">
-                                  <li>      <a href="../docs/2.2.0/"  title="Release 2.2.0">Release 2.2.0</a>
-</li>
-                                  <li>      <a href="../docs/1.3.9/"  title="Preview 1.3.9">Preview 1.3.9</a>
-</li>
-                                  <li>      <a href="../docs/2.2.1-SNAPSHOT/"  title="Dev 2.2.1-SNAPSHOT">Dev 2.2.1-SNAPSHOT</a>
-</li>
-                              </ul>
-            </li>
-                          </ul>
-      </li>
-                <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li>      <a href="../developers/building.html"  title="Build Apache Archiva">Build Apache Archiva</a>
-</li>
-                  
-                      <li>      <a href="../get-involved.html"  title="Get involved">Get involved</a>
-</li>
-                  
-                      <li>      <a href="../developers/how-we-do-things.html"  title="How we do things">How we do things</a>
-</li>
-                  
-                      <li>      <a href="../redback"  title="Redback">Redback</a>
-</li>
-                  
-                      <li>      <a href="../redback/components"  title="Redback Components">Redback Components</a>
-</li>
-                  
-                      <li class="dropdown-submenu">
-                                      <a href="../jsui/index.html"  title="Javascript application Architecture">Javascript application Architecture</a>
-              <ul class="dropdown-menu">
-                                  <li>      <a href="../jsui/rest.html"  title="Rest service">Rest service</a>
-</li>
-                                  <li>      <a href="../jsui/template-loading.html"  title="JS Template loading">JS Template loading</a>
-</li>
-                                  <li>      <a href="../jsui/i18n.html"  title="i18n">i18n</a>
-</li>
-                                  <li>      <a href="../jsui/knockout-binding.html"  title="Knockout Binding">Knockout Binding</a>
-</li>
-                                  <li>      <a href="../jsui/generics-js.html"  title="Generic Javascipts">Generic Javascipts</a>
-</li>
-                              </ul>
-            </li>
-                  
-                      <li>      <a href="../developers/releasing.html"  title="Releasing">Releasing</a>
-</li>
-                  
-                      <li>      <a href="../developers/publishing-site.html"  title="Site Publish">Site Publish</a>
-</li>
-                          </ul>
-      </li>
-                <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li>      <a href="http://www.apache.org/foundation/how-it-works.html"  title="How Apache Works">How Apache Works</a>
-</li>
-                  
-                      <li>      <a href="http://www.apache.org/foundation/"  title="Foundation">Foundation</a>
-</li>
-                  
-                      <li>      <a href="http://www.apache.org/foundation/sponsorship.html"  title="Sponsoring Apache">Sponsoring Apache</a>
-</li>
-                  
-                      <li>      <a href="http://www.apache.org/foundation/thanks.html"  title="Thanks">Thanks</a>
-</li>
-                          </ul>
-      </li>
-                <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Project Documentation <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li class="dropdown-submenu">
-                                      <a href="../project-info.html"  title="Project Information">Project Information</a>
-              <ul class="dropdown-menu">
-                                  <li>      <a href="../integration.html"  title="Continuous Integration">Continuous Integration</a>
-</li>
-                                  <li>      <a href="../mail-lists.html"  title="Mailing Lists">Mailing Lists</a>
-</li>
-                                  <li>      <a href="../issue-tracking.html"  title="Issue Tracking">Issue Tracking</a>
-</li>
-                                  <li>      <a href="../license.html"  title="Project License">Project License</a>
-</li>
-                                  <li>      <a href="../team-list.html"  title="Project Team">Project Team</a>
-</li>
-                                  <li>      <a href="../source-repository.html"  title="Source Repository">Source Repository</a>
-</li>
-                              </ul>
-            </li>
-                          </ul>
-      </li>
-                  </ul>
-          
-                      <form id="search-form" action="http://www.google.com/search" method="get"  class="navbar-search pull-right" >
-    
-  <input value="http://archiva.apache.org/" 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>
-          
-                                                                            
-                   
-                      </div>
-          
-        </div>
-      </div>
-    </div>
-    
-        <div class="container">
-          <div id="banner">
-        <div class="pull-left">
-                                                  <a href="../index.html" 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="Archiva">
-        Archiva</a>
-                    <span class="divider">/</span>
-      </li>
-        <li class="active ">REST Services</li>
-        
-                
-                    
-                  <li id="publishDate" class="pull-right">Last Published: 06 Apr 2015</li>
-            
-                            </ul>
-      </div>
-
-      
-                
-        <div id="bodyColumn" >
-                                  
-            <!-- 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><a name="Expose_Rest_Services"></a>Expose Rest Services</h2>
-<p>The <a class="externalLink" href="http://cxf.apache.org">Apache CXF</a> is used to expose some classes/methods as REST Services.</p>
-<p>Services use the standard interface/implementation pattern:</p>
-<ul>
-<li>interfaces and beans are located in archiva-rest-api maven module</li>
-<li>implementation are located in archiva-rest-services maven module</li></ul>
-<ul>
-<li><a href="#Expose_Rest_Services">Expose Rest Services</a>
-<ul>
-<li><a href="#Steps_to_expose_your_class_as_a_REST_Service.">Steps to expose your class as a REST Service.</a>
-<ul>
-<li><a href="#Interface_and_data_beans">Interface and data beans</a>
-<ul>
-<li><a href="#Beans">Beans</a></li>
-<li><a href="#JAXRS_annotations">JAXRS annotations</a></li></ul></li>
-<li><a href="#CXFSpring_configuration">CXF/Spring configuration</a></li>
-<li><a href="#Redback_security_annotation">Redback security annotation</a></li></ul></li></ul></li></ul>
-<div class="section">
-<h3><a name="Steps_to_expose_your_class_as_a_REST_Service."></a>Steps to expose your class as a REST Service.</h3>
-<p>Here all the steps to expose a new class as a REST service.</p>
-<div class="section">
-<h4><a name="Interface_and_data_beans"></a>Interface and data beans</h4>
-<p>All interfaces and data beans are added in the module archiva-rest-api:</p>
-<ul>
-<li>interface in the package: org.apache.archiva.rest.api.services .</li>
-<li>data beans in the package: org.apache.archiva.rest.api.model .</li></ul>
-<div class="section">
-<h5><a name="Beans"></a>Beans</h5>
-<p>As we want to be able to expose result as json or xml type, all beans use javax.xml.bind.annotation root element :</p>
-<div class="source">
-<pre>@XmlRootElement( name = &quot;artifact&quot; )
-public class Artifact
-    implements Serializable
-
-All services will be able to return json or xml
-@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )</pre></div></div>
-<div class="section">
-<h5><a name="JAXRS_annotations"></a>JAXRS annotations</h5>
-<p>As we use interfaces/implementations pattern jaxrs annotations are only in interfaces level.</p>
-<div class="source">
-<pre>@Path( &quot;/managedRepositoriesService/&quot; )
-public interface ManagedRepositoriesService
-{
-    // simple GET method no parameter
-    @Path( &quot;getManagedRepositories&quot; )
-    @GET
-    @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
-    List&lt;ManagedRepository&gt; getManagedRepositories()
-        throws ArchivaRestServiceException;
-
-    // GET method with a path parameter
-    @Path( &quot;getManagedRepository/{repositoryId}&quot; )
-    @GET
-    @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
-    @RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
-    ManagedRepository getManagedRepository( @PathParam( &quot;repositoryId&quot; ) String repositoryId )
-        throws ArchivaRestServiceException;
-
-    // POST  method to pass a data bean
-    @Path( &quot;addManagedRepository&quot; )
-    @POST
-    @Consumes( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
-    @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
-    @RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
-    ManagedRepository addManagedRepository( ManagedRepository managedRepository )
-        throws ArchivaRestServiceException;</pre></div></div></div>
-<div class="section">
-<h4><a name="CXFSpring_configuration"></a>CXF/Spring configuration</h4>
-<p>REST services implementations are marked with the Spring annotation @Service</p>
-<div class="source">
-<pre>package org.apache.archiva.rest.services;
-......
-@Service( &quot;managedRepositoriesService#rest&quot; )
-public class DefaultManagedRepositoriesService
-    extends AbstractRestService
-    implements ManagedRepositoriesService</pre></div>
-<p>Spring beans are declared as REST/CXF services in the Spring configuration</p>
-<div class="source">
-<pre>  &lt;jaxrs:server id=&quot;archivaServices&quot; address=&quot;/archivaServices&quot;&gt;
-    .....
-    &lt;jaxrs:serviceBeans&gt;
-      &lt;ref bean=&quot;managedRepositoriesService#rest&quot;/&gt;
-    &lt;/jaxrs:serviceBeans&gt;
-    .....
-  &lt;/jaxrs:server&gt;
-
-  Note as we use @Service annotation package scanning must declared in spring configuration
-
-&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
-       xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
-       xmlns:context=&quot;http://www.springframework.org/schema/context&quot;
-       xsi:schemaLocation=&quot;http://www.springframework.org/schema/context
-           http://www.springframework.org/schema/context/spring-context-3.0.xsd ....&quot;&gt;
-...
-  &lt;context:annotation-config/&gt;
-  &lt;context:component-scan
-      base-package=&quot;org.apache.archiva.rest.services&quot;/&gt;
-
-...
-&lt;/beans&gt;</pre></div>
-<p>CXF servlet is declared as:</p>
-<div class="source">
-<pre>  &lt;servlet&gt;
-    &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
-    &lt;servlet-class&gt;org.apache.cxf.transport.servlet.CXFServlet&lt;/servlet-class&gt;
-    &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
-  &lt;/servlet&gt;
-
-  &lt;servlet-mapping&gt;
-    &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
-    &lt;url-pattern&gt;/restServices/*&lt;/url-pattern&gt;
-  &lt;/servlet-mapping&gt;</pre></div>
-<p>So as it, REST services are availble in the following url <b>restServices/archivaServices/</b>.</p></div>
-<div class="section">
-<h4><a name="Redback_security_annotation"></a>Redback security annotation</h4>
-<p>Some REST methods need some karma, so to prevent anonymous access methods can be marked as it:</p>
-<div class="source">
-<pre>
-    @RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
-    ManagedRepository addManagedRepository( ManagedRepository managedRepository )
-        throws ArchivaRestServiceException;</pre></div>
-<p>This method will need the current user to have the operation manage-configuration level.</p>
-<p>For more details, have a look at <a class="externalLink" href="http://archiva.apache.org/redback/integration/rest.html">Redback REST</a>.</p></div></div></div>
-                  </div>
-          </div>
-
-    <hr/>
-
-    <footer>
-            <div class="container">
-                      <div class="row">
-                              <p >Copyright &copy;                    2006&#x2013;2015
-                        <a href="http://archiva.apache.org/">The Apache Software Foundation</a>.
-            All rights reserved.      
-                    
-      </p>
-        </div>
-
-                                                                  
-<div class="row pull-left">Apache Archiva, Archiva, Apache, the Apache feather logo, and the Apache Archiva project logos are trademarks of The Apache Software Foundation.</div>
-                                                          
-<div class="row pull-left">
-  <a href="http://archiva.apache.org/privacy-policy.html">Privacy Policy</a>
-</div>
-                  
-                <p id="poweredBy" class="pull-right">
-                          <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>
-              </p>
-        
-          
-    
-    
-                
-    <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>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia 
+ | Rendered using Apache Maven Fluido Skin 1.4
+-->
+<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="20120119" />
+    <meta name="Date-Revision-yyyymmdd" content="20150625" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Archiva &#x2013; REST Services</title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.4.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.4.min.js"></script>
+
+                          
+        
+<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
+                      
+        
+<script type="text/javascript">var pageTracker = _gat._getTracker("UA-140879-5");
+        pageTracker._initData();
+        pageTracker._trackPageview();</script>
+          
+                  </head>
+        <body class="topBarEnabled">
+          
+                        
+                    
+                
+
+    <div id="topbar" class="navbar navbar-fixed-top ">
+      <div class="navbar-inner">
+                                  <div class="container"><div class="nav-collapse">
+            
+                
+                                <ul class="nav">
+                          <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Introduction <b class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="../index.html"  title="About">About</a>
+</li>
+                  
+                      <li>      <a href="../download.html"  title="Downloads">Downloads</a>
+</li>
+                  
+                      <li>      <a href="../versions.html"  title="Versions">Versions</a>
+</li>
+                  
+                      <li>      <a href="../mail-lists.html"  title="Mailing Lists">Mailing Lists</a>
+</li>
+                  
+                      <li>      <a href="../security.html"  title="Security">Security</a>
+</li>
+                  
+                      <li class="dropdown-submenu">
+                                      <a href="../"  title="Documentation">Documentation</a>
+              <ul class="dropdown-menu">
+                                  <li>      <a href="../docs/2.2.0/"  title="Release 2.2.0">Release 2.2.0</a>
+</li>
+                                  <li>      <a href="../docs/1.3.9/"  title="Preview 1.3.9">Preview 1.3.9</a>
+</li>
+                                  <li>      <a href="../docs/2.2.1-SNAPSHOT/"  title="Dev 2.2.1-SNAPSHOT">Dev 2.2.1-SNAPSHOT</a>
+</li>
+                              </ul>
+            </li>
+                          </ul>
+      </li>
+                <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="../developers/building.html"  title="Build Apache Archiva">Build Apache Archiva</a>
+</li>
+                  
+                      <li>      <a href="../get-involved.html"  title="Get involved">Get involved</a>
+</li>
+                  
+                      <li>      <a href="../developers/how-we-do-things.html"  title="How we do things">How we do things</a>
+</li>
+                  
+                      <li>      <a href="../redback"  title="Redback">Redback</a>
+</li>
+                  
+                      <li>      <a href="../redback/components"  title="Redback Components">Redback Components</a>
+</li>
+                  
+                      <li class="dropdown-submenu">
+                                      <a href="../jsui/index.html"  title="Javascript application Architecture">Javascript application Architecture</a>
+              <ul class="dropdown-menu">
+                                  <li>      <a href="../jsui/rest.html"  title="Rest service">Rest service</a>
+</li>
+                                  <li>      <a href="../jsui/template-loading.html"  title="JS Template loading">JS Template loading</a>
+</li>
+                                  <li>      <a href="../jsui/i18n.html"  title="i18n">i18n</a>
+</li>
+                                  <li>      <a href="../jsui/knockout-binding.html"  title="Knockout Binding">Knockout Binding</a>
+</li>
+                                  <li>      <a href="../jsui/generics-js.html"  title="Generic Javascipts">Generic Javascipts</a>
+</li>
+                              </ul>
+            </li>
+                  
+                      <li>      <a href="../developers/releasing.html"  title="Releasing">Releasing</a>
+</li>
+                  
+                      <li>      <a href="../developers/publishing-site.html"  title="Site Publish">Site Publish</a>
+</li>
+                          </ul>
+      </li>
+                <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="http://www.apache.org/foundation/how-it-works.html"  title="How Apache Works">How Apache Works</a>
+</li>
+                  
+                      <li>      <a href="http://www.apache.org/foundation/"  title="Foundation">Foundation</a>
+</li>
+                  
+                      <li>      <a href="http://www.apache.org/foundation/sponsorship.html"  title="Sponsoring Apache">Sponsoring Apache</a>
+</li>
+                  
+                      <li>      <a href="http://www.apache.org/foundation/thanks.html"  title="Thanks">Thanks</a>
+</li>
+                          </ul>
+      </li>
+                  </ul>
+          
+                      <form id="search-form" action="https://www.google.com/search" method="get"  class="navbar-search pull-right" >
+    
+  <input value="http://archiva.apache.org/" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=search-form"></script>
+          
+                                                                            
+                   
+                      </div>
+          
+        </div>
+      </div>
+    </div>
+    
+        <div class="container">
+          <div id="banner">
+        <div class="pull-left">
+                                <div id="bannerLeft">
+                <h2>Archiva</h2>
+                </div>
+                      </div>
+        <div class="pull-right">  </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+                    
+                  <li id="publishDate">Last Published: 2015-06-25
+                      <span class="divider">|</span>
+                   </li>
+                  <li id="projectVersion">Version: 1-SNAPSHOT
+                      </li>
+                      
+                
+                    
+      
+                            </ul>
+      </div>
+
+      
+                
+        <div id="bodyColumn" >
+                                  
+            <!-- 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><a name="Expose_Rest_Services"></a>Expose Rest Services</h2>
+<p>The <a class="externalLink" href="http://cxf.apache.org">Apache CXF</a> is used to expose some classes/methods as REST Services.</p>
+<p>Services use the standard interface/implementation pattern:</p>
+<ul>
+<li>interfaces and beans are located in archiva-rest-api maven module</li>
+<li>implementation are located in archiva-rest-services maven module</li></ul>
+<ul>
+<li><a href="#Expose_Rest_Services">Expose Rest Services</a>
+<ul>
+<li><a href="#Steps_to_expose_your_class_as_a_REST_Service.">Steps to expose your class as a REST Service.</a>
+<ul>
+<li><a href="#Interface_and_data_beans">Interface and data beans</a>
+<ul>
+<li><a href="#Beans">Beans</a></li>
+<li><a href="#JAXRS_annotations">JAXRS annotations</a></li></ul></li>
+<li><a href="#CXFSpring_configuration">CXF/Spring configuration</a></li>
+<li><a href="#Redback_security_annotation">Redback security annotation</a></li></ul></li></ul></li></ul>
+<div class="section">
+<h3><a name="Steps_to_expose_your_class_as_a_REST_Service."></a>Steps to expose your class as a REST Service.</h3>
+<p>Here all the steps to expose a new class as a REST service.</p>
+<div class="section">
+<h4><a name="Interface_and_data_beans"></a>Interface and data beans</h4>
+<p>All interfaces and data beans are added in the module archiva-rest-api:</p>
+<ul>
+<li>interface in the package: org.apache.archiva.rest.api.services .</li>
+<li>data beans in the package: org.apache.archiva.rest.api.model .</li></ul>
+<div class="section">
+<h5><a name="Beans"></a>Beans</h5>
+<p>As we want to be able to expose result as json or xml type, all beans use javax.xml.bind.annotation root element :</p>
+<div class="source"><pre class="prettyprint">@XmlRootElement( name = &quot;artifact&quot; )
+public class Artifact
+    implements Serializable
+
+All services will be able to return json or xml
+@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
+</pre></div></div>
+<div class="section">
+<h5><a name="JAXRS_annotations"></a>JAXRS annotations</h5>
+<p>As we use interfaces/implementations pattern jaxrs annotations are only in interfaces level.</p>
+<div class="source"><pre class="prettyprint">@Path( &quot;/managedRepositoriesService/&quot; )
+public interface ManagedRepositoriesService
+{
+    // simple GET method no parameter
+    @Path( &quot;getManagedRepositories&quot; )
+    @GET
+    @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
+    List&lt;ManagedRepository&gt; getManagedRepositories()
+        throws ArchivaRestServiceException;
+
+    // GET method with a path parameter
+    @Path( &quot;getManagedRepository/{repositoryId}&quot; )
+    @GET
+    @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
+    @RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
+    ManagedRepository getManagedRepository( @PathParam( &quot;repositoryId&quot; ) String repositoryId )
+        throws ArchivaRestServiceException;
+
+    // POST  method to pass a data bean
+    @Path( &quot;addManagedRepository&quot; )
+    @POST
+    @Consumes( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
+    @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
+    @RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
+    ManagedRepository addManagedRepository( ManagedRepository managedRepository )
+        throws ArchivaRestServiceException;
+</pre></div></div></div>
+<div class="section">
+<h4><a name="CXFSpring_configuration"></a>CXF/Spring configuration</h4>
+<p>REST services implementations are marked with the Spring annotation @Service</p>
+<div class="source"><pre class="prettyprint">package org.apache.archiva.rest.services;
+......
+@Service( &quot;managedRepositoriesService#rest&quot; )
+public class DefaultManagedRepositoriesService
+    extends AbstractRestService
+    implements ManagedRepositoriesService
+</pre></div>
+<p>Spring beans are declared as REST/CXF services in the Spring configuration</p>
+<div class="source"><pre class="prettyprint">  &lt;jaxrs:server id=&quot;archivaServices&quot; address=&quot;/archivaServices&quot;&gt;
+    .....
+    &lt;jaxrs:serviceBeans&gt;
+      &lt;ref bean=&quot;managedRepositoriesService#rest&quot;/&gt;
+    &lt;/jaxrs:serviceBeans&gt;
+    .....
+  &lt;/jaxrs:server&gt;
+
+  Note as we use @Service annotation package scanning must declared in spring configuration
+
+&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
+       xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+       xmlns:context=&quot;http://www.springframework.org/schema/context&quot;
+       xsi:schemaLocation=&quot;http://www.springframework.org/schema/context
+           http://www.springframework.org/schema/context/spring-context-3.0.xsd ....&quot;&gt;
+...
+  &lt;context:annotation-config/&gt;
+  &lt;context:component-scan
+      base-package=&quot;org.apache.archiva.rest.services&quot;/&gt;
+
+...
+&lt;/beans&gt;
+</pre></div>
+<p>CXF servlet is declared as:</p>
+<div class="source"><pre class="prettyprint">  &lt;servlet&gt;
+    &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
+    &lt;servlet-class&gt;org.apache.cxf.transport.servlet.CXFServlet&lt;/servlet-class&gt;
+    &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
+  &lt;/servlet&gt;
+
+  &lt;servlet-mapping&gt;
+    &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
+    &lt;url-pattern&gt;/restServices/*&lt;/url-pattern&gt;
+  &lt;/servlet-mapping&gt;
+</pre></div>
+<p>So as it, REST services are availble in the following url <b>restServices/archivaServices/</b>.</p></div>
+<div class="section">
+<h4><a name="Redback_security_annotation"></a>Redback security annotation</h4>
+<p>Some REST methods need some karma, so to prevent anonymous access methods can be marked as it:</p>
+<div class="source"><pre class="prettyprint">
+    @RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
+    ManagedRepository addManagedRepository( ManagedRepository managedRepository )
+        throws ArchivaRestServiceException;
+</pre></div>
+<p>This method will need the current user to have the operation manage-configuration level.</p>
+<p>For more details, have a look at <a class="externalLink" href="http://archiva.apache.org/redback/integration/rest.html">Redback REST</a>.</p></div></div></div>
+                  </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container">
+                      <div class="row">
+                                                                          
+<div class="row pull-left">Apache Archiva, Archiva, Apache, the Apache feather logo, and the Apache Archiva project logos are trademarks of The Apache Software Foundation.</div>
+                                                          
+<div class="row pull-left">
+  <a href="http://archiva.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+                          </div>
+
+                <p id="poweredBy" class="pull-right">
+                          <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>
+              </p>
+        
+          
+    
+    
+                
+    <div id="ohloh" class="pull-right">
+      <script type="text/javascript" src="https://www.ohloh.net/p/6670/widgets/project_basic_stats.js"></script>
+    </div>
+        </div>
+    </footer>
+        </body>
 </html>
\ No newline at end of file

Modified: archiva/site-content/jsui/template-loading.html
URL: http://svn.apache.org/viewvc/archiva/site-content/jsui/template-loading.html?rev=1687726&r1=1687725&r2=1687726&view=diff
==============================================================================
--- archiva/site-content/jsui/template-loading.html (original)
+++ archiva/site-content/jsui/template-loading.html Fri Jun 26 09:27:51 2015
@@ -1,312 +1,259 @@
-<!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="20120914" />
-    <meta name="Date-Revision-yyyymmdd" content="20150406" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>Archiva &#x2013; Javascript template loading</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>
-
-                          
-        
-<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
-                      
-        
-<script type="text/javascript">var pageTracker = _gat._getTracker("UA-140879-5");
-        pageTracker._initData();
-        pageTracker._trackPageview();</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="topBarEnabled">
-          
-                        
-                    
-                
-
-    <div id="topbar" class="navbar navbar-fixed-top ">
-      <div class="navbar-inner">
-                                  <div class="container"><div class="nav-collapse">
-            
-                
-                                <ul class="nav">
-                          <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Introduction <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li>      <a href="../index.html"  title="About">About</a>
-</li>
-                  
-                      <li>      <a href="../download.html"  title="Downloads">Downloads</a>
-</li>
-                  
-                      <li>      <a href="../versions.html"  title="Versions">Versions</a>
-</li>
-                  
-                      <li>      <a href="../mail-lists.html"  title="Mailing Lists">Mailing Lists</a>
-</li>
-                  
-                      <li>      <a href="../security.html"  title="Security">Security</a>
-</li>
-                  
-                      <li class="dropdown-submenu">
-                                      <a href="../"  title="Documentation">Documentation</a>
-              <ul class="dropdown-menu">
-                                  <li>      <a href="../docs/2.2.0/"  title="Release 2.2.0">Release 2.2.0</a>
-</li>
-                                  <li>      <a href="../docs/1.3.9/"  title="Preview 1.3.9">Preview 1.3.9</a>
-</li>
-                                  <li>      <a href="../docs/2.2.1-SNAPSHOT/"  title="Dev 2.2.1-SNAPSHOT">Dev 2.2.1-SNAPSHOT</a>
-</li>
-                              </ul>
-            </li>
-                          </ul>
-      </li>
-                <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li>      <a href="../developers/building.html"  title="Build Apache Archiva">Build Apache Archiva</a>
-</li>
-                  
-                      <li>      <a href="../get-involved.html"  title="Get involved">Get involved</a>
-</li>
-                  
-                      <li>      <a href="../developers/how-we-do-things.html"  title="How we do things">How we do things</a>
-</li>
-                  
-                      <li>      <a href="../redback"  title="Redback">Redback</a>
-</li>
-                  
-                      <li>      <a href="../redback/components"  title="Redback Components">Redback Components</a>
-</li>
-                  
-                      <li class="dropdown-submenu">
-                                      <a href="../jsui/index.html"  title="Javascript application Architecture">Javascript application Architecture</a>
-              <ul class="dropdown-menu">
-                                  <li>      <a href="../jsui/rest.html"  title="Rest service">Rest service</a>
-</li>
-                                  <li>      <a href="../jsui/template-loading.html"  title="JS Template loading">JS Template loading</a>
-</li>
-                                  <li>      <a href="../jsui/i18n.html"  title="i18n">i18n</a>
-</li>
-                                  <li>      <a href="../jsui/knockout-binding.html"  title="Knockout Binding">Knockout Binding</a>
-</li>
-                                  <li>      <a href="../jsui/generics-js.html"  title="Generic Javascipts">Generic Javascipts</a>
-</li>
-                              </ul>
-            </li>
-                  
-                      <li>      <a href="../developers/releasing.html"  title="Releasing">Releasing</a>
-</li>
-                  
-                      <li>      <a href="../developers/publishing-site.html"  title="Site Publish">Site Publish</a>
-</li>
-                          </ul>
-      </li>
-                <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li>      <a href="http://www.apache.org/foundation/how-it-works.html"  title="How Apache Works">How Apache Works</a>
-</li>
-                  
-                      <li>      <a href="http://www.apache.org/foundation/"  title="Foundation">Foundation</a>
-</li>
-                  
-                      <li>      <a href="http://www.apache.org/foundation/sponsorship.html"  title="Sponsoring Apache">Sponsoring Apache</a>
-</li>
-                  
-                      <li>      <a href="http://www.apache.org/foundation/thanks.html"  title="Thanks">Thanks</a>
-</li>
-                          </ul>
-      </li>
-                <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Project Documentation <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li class="dropdown-submenu">
-                                      <a href="../project-info.html"  title="Project Information">Project Information</a>
-              <ul class="dropdown-menu">
-                                  <li>      <a href="../integration.html"  title="Continuous Integration">Continuous Integration</a>
-</li>
-                                  <li>      <a href="../mail-lists.html"  title="Mailing Lists">Mailing Lists</a>
-</li>
-                                  <li>      <a href="../issue-tracking.html"  title="Issue Tracking">Issue Tracking</a>
-</li>
-                                  <li>      <a href="../license.html"  title="Project License">Project License</a>
-</li>
-                                  <li>      <a href="../team-list.html"  title="Project Team">Project Team</a>
-</li>
-                                  <li>      <a href="../source-repository.html"  title="Source Repository">Source Repository</a>
-</li>
-                              </ul>
-            </li>
-                          </ul>
-      </li>
-                  </ul>
-          
-                      <form id="search-form" action="http://www.google.com/search" method="get"  class="navbar-search pull-right" >
-    
-  <input value="http://archiva.apache.org/" 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>
-          
-                                                                            
-                   
-                      </div>
-          
-        </div>
-      </div>
-    </div>
-    
-        <div class="container">
-          <div id="banner">
-        <div class="pull-left">
-                                                  <a href="../index.html" 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="Archiva">
-        Archiva</a>
-                    <span class="divider">/</span>
-      </li>
-        <li class="active ">Javascript template loading</li>
-        
-                
-                    
-                  <li id="publishDate" class="pull-right">Last Published: 06 Apr 2015</li>
-            
-                            </ul>
-      </div>
-
-      
-                
-        <div id="bodyColumn" >
-                                  
-            <!-- 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><a name="HtmlJavascript_templates_loading"></a>Html/Javascript templates loading</h2>
-<p>Templates are loaded on application loaded and added in the hidden div <b>#html-fragments</b>.</p>
-<p>They are loaded using requirejs and the text plugin.</p>
-<p>archiva templates are loaded as it <tt>NOTE: the no cache is activated only on dev mode</tt></p>
-<div class="source">
-<pre>require(['jquery',&quot;jquery.tmpl&quot;,'i18n',&quot;utils&quot;,&quot;text!templates/archiva/menu.html&quot;,
-          &quot;text!templates/archiva/generics.html&quot;,
-          &quot;text!templates/archiva/modal.html&quot;,
-          &quot;text!templates/archiva/repositories.html&quot;,
-          &quot;text!templates/archiva/search.html&quot;,
-          &quot;text!templates/archiva/general-admin.html&quot;],
-  function(jquery,jqueryTmpl,i18n,utils,menu,generics,modal,repositories,
-           search,general_admin) {
-    loadArchivaTemplate=function(){
-      var htmlFragment=$(&quot;#html-fragments&quot;);
-      // template loading
-      htmlFragment.append(menu);
-      htmlFragment.append(generics);
-      $.tmpl( modal ).appendTo(htmlFragment);
-      htmlFragment.append(repositories);
-      htmlFragment.append(search);
-      htmlFragment.append(general_admin);
-      $.log(&quot;main-tmpl.js loaded&quot;);
-    }
-  }
-);</pre></div>
-<div class="section">
-<h3><a name="i18n_in_templates"></a>i18n in templates</h3>
-<div class="section">
-<h4><a name="static_templates"></a>static templates</h4>
-<p>Some templates which are only simple html which only need i18n are executed immediatly.</p>
-<p>Simply use:</p>
-<div class="source">
-<pre>  $.tmpl( menu, $.i18n.map ).appendTo(&quot;#html-fragments&quot;);
-  to get i18n values in your template you can use
-  ${register} or ${$.i18n.prop('register')}
-
-  Note if you use the simple form ${register} and the property is not available, the template system will try to use if exists the function register
-</pre></div></div>
-<div class="section">
-<h4><a name="dynamic_templates"></a>dynamic templates</h4>
-<p>The others are only inserted in #html-fragments.</p></div></div></div>
-                  </div>
-          </div>
-
-    <hr/>
-
-    <footer>
-            <div class="container">
-                      <div class="row">
-                              <p >Copyright &copy;                    2006&#x2013;2015
-                        <a href="http://archiva.apache.org/">The Apache Software Foundation</a>.
-            All rights reserved.      
-                    
-      </p>
-        </div>
-
-                                                                  
-<div class="row pull-left">Apache Archiva, Archiva, Apache, the Apache feather logo, and the Apache Archiva project logos are trademarks of The Apache Software Foundation.</div>
-                                                          
-<div class="row pull-left">
-  <a href="http://archiva.apache.org/privacy-policy.html">Privacy Policy</a>
-</div>
-                  
-                <p id="poweredBy" class="pull-right">
-                          <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>
-              </p>
-        
-          
-    
-    
-                
-    <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>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia 
+ | Rendered using Apache Maven Fluido Skin 1.4
+-->
+<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="20120914" />
+    <meta name="Date-Revision-yyyymmdd" content="20150625" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Archiva &#x2013; Javascript template loading</title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.4.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.4.min.js"></script>
+
+                          
+        
+<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
+                      
+        
+<script type="text/javascript">var pageTracker = _gat._getTracker("UA-140879-5");
+        pageTracker._initData();
+        pageTracker._trackPageview();</script>
+          
+                  </head>
+        <body class="topBarEnabled">
+          
+                        
+                    
+                
+
+    <div id="topbar" class="navbar navbar-fixed-top ">
+      <div class="navbar-inner">
+                                  <div class="container"><div class="nav-collapse">
+            
+                
+                                <ul class="nav">
+                          <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Introduction <b class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="../index.html"  title="About">About</a>
+</li>
+                  
+                      <li>      <a href="../download.html"  title="Downloads">Downloads</a>
+</li>
+                  
+                      <li>      <a href="../versions.html"  title="Versions">Versions</a>
+</li>
+                  
+                      <li>      <a href="../mail-lists.html"  title="Mailing Lists">Mailing Lists</a>
+</li>
+                  
+                      <li>      <a href="../security.html"  title="Security">Security</a>
+</li>
+                  
+                      <li class="dropdown-submenu">
+                                      <a href="../"  title="Documentation">Documentation</a>
+              <ul class="dropdown-menu">
+                                  <li>      <a href="../docs/2.2.0/"  title="Release 2.2.0">Release 2.2.0</a>
+</li>
+                                  <li>      <a href="../docs/1.3.9/"  title="Preview 1.3.9">Preview 1.3.9</a>
+</li>
+                                  <li>      <a href="../docs/2.2.1-SNAPSHOT/"  title="Dev 2.2.1-SNAPSHOT">Dev 2.2.1-SNAPSHOT</a>
+</li>
+                              </ul>
+            </li>
+                          </ul>
+      </li>
+                <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="../developers/building.html"  title="Build Apache Archiva">Build Apache Archiva</a>
+</li>
+                  
+                      <li>      <a href="../get-involved.html"  title="Get involved">Get involved</a>
+</li>
+                  
+                      <li>      <a href="../developers/how-we-do-things.html"  title="How we do things">How we do things</a>
+</li>
+                  
+                      <li>      <a href="../redback"  title="Redback">Redback</a>
+</li>
+                  
+                      <li>      <a href="../redback/components"  title="Redback Components">Redback Components</a>
+</li>
+                  
+                      <li class="dropdown-submenu">
+                                      <a href="../jsui/index.html"  title="Javascript application Architecture">Javascript application Architecture</a>
+              <ul class="dropdown-menu">
+                                  <li>      <a href="../jsui/rest.html"  title="Rest service">Rest service</a>
+</li>
+                                  <li>      <a href="../jsui/template-loading.html"  title="JS Template loading">JS Template loading</a>
+</li>
+                                  <li>      <a href="../jsui/i18n.html"  title="i18n">i18n</a>
+</li>
+                                  <li>      <a href="../jsui/knockout-binding.html"  title="Knockout Binding">Knockout Binding</a>
+</li>
+                                  <li>      <a href="../jsui/generics-js.html"  title="Generic Javascipts">Generic Javascipts</a>
+</li>
+                              </ul>
+            </li>
+                  
+                      <li>      <a href="../developers/releasing.html"  title="Releasing">Releasing</a>
+</li>
+                  
+                      <li>      <a href="../developers/publishing-site.html"  title="Site Publish">Site Publish</a>
+</li>
+                          </ul>
+      </li>
+                <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="http://www.apache.org/foundation/how-it-works.html"  title="How Apache Works">How Apache Works</a>
+</li>
+                  
+                      <li>      <a href="http://www.apache.org/foundation/"  title="Foundation">Foundation</a>
+</li>
+                  
+                      <li>      <a href="http://www.apache.org/foundation/sponsorship.html"  title="Sponsoring Apache">Sponsoring Apache</a>
+</li>
+                  
+                      <li>      <a href="http://www.apache.org/foundation/thanks.html"  title="Thanks">Thanks</a>
+</li>
+                          </ul>
+      </li>
+                  </ul>
+          
+                      <form id="search-form" action="https://www.google.com/search" method="get"  class="navbar-search pull-right" >
+    
+  <input value="http://archiva.apache.org/" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=search-form"></script>
+          
+                                                                            
+                   
+                      </div>
+          
+        </div>
+      </div>
+    </div>
+    
+        <div class="container">
+          <div id="banner">
+        <div class="pull-left">
+                                <div id="bannerLeft">
+                <h2>Archiva</h2>
+                </div>
+                      </div>
+        <div class="pull-right">  </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+                    
+                  <li id="publishDate">Last Published: 2015-06-25
+                      <span class="divider">|</span>
+                   </li>
+                  <li id="projectVersion">Version: 1-SNAPSHOT
+                      </li>
+                      
+                
+                    
+      
+                            </ul>
+      </div>
+
+      
+                
+        <div id="bodyColumn" >
+                                  
+            <!-- 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><a name="HtmlJavascript_templates_loading"></a>Html/Javascript templates loading</h2>
+<p>Templates are loaded on application loaded and added in the hidden div <b>#html-fragments</b>.</p>
+<p>They are loaded using requirejs and the text plugin.</p>
+<p>archiva templates are loaded as it <tt>NOTE: the no cache is activated only on dev mode</tt></p>
+<div class="source"><pre class="prettyprint">require(['jquery',&quot;jquery.tmpl&quot;,'i18n',&quot;utils&quot;,&quot;text!templates/archiva/menu.html&quot;,
+          &quot;text!templates/archiva/generics.html&quot;,
+          &quot;text!templates/archiva/modal.html&quot;,
+          &quot;text!templates/archiva/repositories.html&quot;,
+          &quot;text!templates/archiva/search.html&quot;,
+          &quot;text!templates/archiva/general-admin.html&quot;],
+  function(jquery,jqueryTmpl,i18n,utils,menu,generics,modal,repositories,
+           search,general_admin) {
+    loadArchivaTemplate=function(){
+      var htmlFragment=$(&quot;#html-fragments&quot;);
+      // template loading
+      htmlFragment.append(menu);
+      htmlFragment.append(generics);
+      $.tmpl( modal ).appendTo(htmlFragment);
+      htmlFragment.append(repositories);
+      htmlFragment.append(search);
+      htmlFragment.append(general_admin);
+      $.log(&quot;main-tmpl.js loaded&quot;);
+    }
+  }
+);
+</pre></div>
+<div class="section">
+<h3><a name="i18n_in_templates"></a>i18n in templates</h3>
+<div class="section">
+<h4><a name="static_templates"></a>static templates</h4>
+<p>Some templates which are only simple html which only need i18n are executed immediatly.</p>
+<p>Simply use:</p>
+<div class="source"><pre class="prettyprint">  $.tmpl( menu, $.i18n.map ).appendTo(&quot;#html-fragments&quot;);
+  to get i18n values in your template you can use
+  ${register} or ${$.i18n.prop('register')}
+
+  Note if you use the simple form ${register} and the property is not available, the template system will try to use if exists the function register
+
+</pre></div></div>
+<div class="section">
+<h4><a name="dynamic_templates"></a>dynamic templates</h4>
+<p>The others are only inserted in #html-fragments.</p></div></div></div>
+                  </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container">
+                      <div class="row">
+                                                                          
+<div class="row pull-left">Apache Archiva, Archiva, Apache, the Apache feather logo, and the Apache Archiva project logos are trademarks of The Apache Software Foundation.</div>
+                                                          
+<div class="row pull-left">
+  <a href="http://archiva.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+                          </div>
+
+                <p id="poweredBy" class="pull-right">
+                          <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>
+              </p>
+        
+          
+    
+    
+                
+    <div id="ohloh" class="pull-right">
+      <script type="text/javascript" src="https://www.ohloh.net/p/6670/widgets/project_basic_stats.js"></script>
+    </div>
+        </div>
+    </footer>
+        </body>
 </html>
\ No newline at end of file

Modified: archiva/site-content/known-issues.html
URL: http://svn.apache.org/viewvc/archiva/site-content/known-issues.html?rev=1687726&r1=1687725&r2=1687726&view=diff
==============================================================================
--- archiva/site-content/known-issues.html (original)
+++ archiva/site-content/known-issues.html Fri Jun 26 09:27:51 2015
@@ -1,271 +1,218 @@
-<!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-Creation-yyyymmdd" content="20120119" />
-    <meta name="Date-Revision-yyyymmdd" content="20150406" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>Archiva &#x2013; Known Issues and Errata</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>
-
-                          
-        
-<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
-                      
-        
-<script type="text/javascript">var pageTracker = _gat._getTracker("UA-140879-5");
-        pageTracker._initData();
-        pageTracker._trackPageview();</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="topBarEnabled">
-          
-                        
-                    
-                
-
-    <div id="topbar" class="navbar navbar-fixed-top ">
-      <div class="navbar-inner">
-                                  <div class="container"><div class="nav-collapse">
-            
-                
-                                <ul class="nav">
-                          <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Introduction <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li>      <a href="index.html"  title="About">About</a>
-</li>
-                  
-                      <li>      <a href="download.html"  title="Downloads">Downloads</a>
-</li>
-                  
-                      <li>      <a href="versions.html"  title="Versions">Versions</a>
-</li>
-                  
-                      <li>      <a href="mail-lists.html"  title="Mailing Lists">Mailing Lists</a>
-</li>
-                  
-                      <li>      <a href="security.html"  title="Security">Security</a>
-</li>
-                  
-                      <li class="dropdown-submenu">
-                                      <a href=""  title="Documentation">Documentation</a>
-              <ul class="dropdown-menu">
-                                  <li>      <a href="docs/2.2.0/"  title="Release 2.2.0">Release 2.2.0</a>
-</li>
-                                  <li>      <a href="docs/1.3.9/"  title="Preview 1.3.9">Preview 1.3.9</a>
-</li>
-                                  <li>      <a href="docs/2.2.1-SNAPSHOT/"  title="Dev 2.2.1-SNAPSHOT">Dev 2.2.1-SNAPSHOT</a>
-</li>
-                              </ul>
-            </li>
-                          </ul>
-      </li>
-                <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li>      <a href="developers/building.html"  title="Build Apache Archiva">Build Apache Archiva</a>
-</li>
-                  
-                      <li>      <a href="get-involved.html"  title="Get involved">Get involved</a>
-</li>
-                  
-                      <li>      <a href="developers/how-we-do-things.html"  title="How we do things">How we do things</a>
-</li>
-                  
-                      <li>      <a href="redback"  title="Redback">Redback</a>
-</li>
-                  
-                      <li>      <a href="redback/components"  title="Redback Components">Redback Components</a>
-</li>
-                  
-                      <li class="dropdown-submenu">
-                                      <a href="jsui/index.html"  title="Javascript application Architecture">Javascript application Architecture</a>
-              <ul class="dropdown-menu">
-                                  <li>      <a href="jsui/rest.html"  title="Rest service">Rest service</a>
-</li>
-                                  <li>      <a href="jsui/template-loading.html"  title="JS Template loading">JS Template loading</a>
-</li>
-                                  <li>      <a href="jsui/i18n.html"  title="i18n">i18n</a>
-</li>
-                                  <li>      <a href="jsui/knockout-binding.html"  title="Knockout Binding">Knockout Binding</a>
-</li>
-                                  <li>      <a href="jsui/generics-js.html"  title="Generic Javascipts">Generic Javascipts</a>
-</li>
-                              </ul>
-            </li>
-                  
-                      <li>      <a href="developers/releasing.html"  title="Releasing">Releasing</a>
-</li>
-                  
-                      <li>      <a href="developers/publishing-site.html"  title="Site Publish">Site Publish</a>
-</li>
-                          </ul>
-      </li>
-                <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li>      <a href="http://www.apache.org/foundation/how-it-works.html"  title="How Apache Works">How Apache Works</a>
-</li>
-                  
-                      <li>      <a href="http://www.apache.org/foundation/"  title="Foundation">Foundation</a>
-</li>
-                  
-                      <li>      <a href="http://www.apache.org/foundation/sponsorship.html"  title="Sponsoring Apache">Sponsoring Apache</a>
-</li>
-                  
-                      <li>      <a href="http://www.apache.org/foundation/thanks.html"  title="Thanks">Thanks</a>
-</li>
-                          </ul>
-      </li>
-                <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Project Documentation <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li class="dropdown-submenu">
-                                      <a href="project-info.html"  title="Project Information">Project Information</a>
-              <ul class="dropdown-menu">
-                                  <li>      <a href="integration.html"  title="Continuous Integration">Continuous Integration</a>
-</li>
-                                  <li>      <a href="mail-lists.html"  title="Mailing Lists">Mailing Lists</a>
-</li>
-                                  <li>      <a href="issue-tracking.html"  title="Issue Tracking">Issue Tracking</a>
-</li>
-                                  <li>      <a href="license.html"  title="Project License">Project License</a>
-</li>
-                                  <li>      <a href="team-list.html"  title="Project Team">Project Team</a>
-</li>
-                                  <li>      <a href="source-repository.html"  title="Source Repository">Source Repository</a>
-</li>
-                              </ul>
-            </li>
-                          </ul>
-      </li>
-                  </ul>
-          
-                      <form id="search-form" action="http://www.google.com/search" method="get"  class="navbar-search pull-right" >
-    
-  <input value="http://archiva.apache.org/" 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>
-          
-                                                                            
-                   
-                      </div>
-          
-        </div>
-      </div>
-    </div>
-    
-        <div class="container">
-          <div id="banner">
-        <div class="pull-left">
-                                                  <a href="index.html" 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="Archiva">
-        Archiva</a>
-                    <span class="divider">/</span>
-      </li>
-        <li class="active ">Known Issues and Errata</li>
-        
-                
-                    
-                  <li id="publishDate" class="pull-right">Last Published: 06 Apr 2015</li>
-            
-                            </ul>
-      </div>
-
-      
-                
-        <div id="bodyColumn" >
-                                  
-            <!-- 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><a name="Known_Issues_and_Errata"></a>Known Issues and Errata</h2>
-<p>For a list of all JIRA issues reported against released versions of Archiva, see <a class="externalLink" href="http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+MRM+AND+resolution+%3D+Unresolved+and+affectedVersion+in+releasedVersions()"> JIRA</a>.</p></div>
-                  </div>
-          </div>
-
-    <hr/>
-
-    <footer>
-            <div class="container">
-                      <div class="row">
-                              <p >Copyright &copy;                    2006&#x2013;2015
-                        <a href="http://archiva.apache.org/">The Apache Software Foundation</a>.
-            All rights reserved.      
-                    
-      </p>
-        </div>
-
-                                                                  
-<div class="row pull-left">Apache Archiva, Archiva, Apache, the Apache feather logo, and the Apache Archiva project logos are trademarks of The Apache Software Foundation.</div>
-                                                          
-<div class="row pull-left">
-  <a href="http://archiva.apache.org/privacy-policy.html">Privacy Policy</a>
-</div>
-                  
-                <p id="poweredBy" class="pull-right">
-                          <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>
-              </p>
-        
-          
-    
-    
-                
-    <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>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia 
+ | Rendered using Apache Maven Fluido Skin 1.4
+-->
+<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-Creation-yyyymmdd" content="20120119" />
+    <meta name="Date-Revision-yyyymmdd" content="20150625" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Archiva &#x2013; Known Issues and Errata</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.4.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.4.min.js"></script>
+
+                          
+        
+<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
+                      
+        
+<script type="text/javascript">var pageTracker = _gat._getTracker("UA-140879-5");
+        pageTracker._initData();
+        pageTracker._trackPageview();</script>
+          
+                  </head>
+        <body class="topBarEnabled">
+          
+                        
+                    
+                
+
+    <div id="topbar" class="navbar navbar-fixed-top ">
+      <div class="navbar-inner">
+                                  <div class="container"><div class="nav-collapse">
+            
+                
+                                <ul class="nav">
+                          <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Introduction <b class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="index.html"  title="About">About</a>
+</li>
+                  
+                      <li>      <a href="download.html"  title="Downloads">Downloads</a>
+</li>
+                  
+                      <li>      <a href="versions.html"  title="Versions">Versions</a>
+</li>
+                  
+                      <li>      <a href="mail-lists.html"  title="Mailing Lists">Mailing Lists</a>
+</li>
+                  
+                      <li>      <a href="security.html"  title="Security">Security</a>
+</li>
+                  
+                      <li class="dropdown-submenu">
+                                      <a href=""  title="Documentation">Documentation</a>
+              <ul class="dropdown-menu">
+                                  <li>      <a href="docs/2.2.0/"  title="Release 2.2.0">Release 2.2.0</a>
+</li>
+                                  <li>      <a href="docs/1.3.9/"  title="Preview 1.3.9">Preview 1.3.9</a>
+</li>
+                                  <li>      <a href="docs/2.2.1-SNAPSHOT/"  title="Dev 2.2.1-SNAPSHOT">Dev 2.2.1-SNAPSHOT</a>
+</li>
+                              </ul>
+            </li>
+                          </ul>
+      </li>
+                <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="developers/building.html"  title="Build Apache Archiva">Build Apache Archiva</a>
+</li>
+                  
+                      <li>      <a href="get-involved.html"  title="Get involved">Get involved</a>
+</li>
+                  
+                      <li>      <a href="developers/how-we-do-things.html"  title="How we do things">How we do things</a>
+</li>
+                  
+                      <li>      <a href="redback"  title="Redback">Redback</a>
+</li>
+                  
+                      <li>      <a href="redback/components"  title="Redback Components">Redback Components</a>
+</li>
+                  
+                      <li class="dropdown-submenu">
+                                      <a href="jsui/index.html"  title="Javascript application Architecture">Javascript application Architecture</a>
+              <ul class="dropdown-menu">
+                                  <li>      <a href="jsui/rest.html"  title="Rest service">Rest service</a>
+</li>
+                                  <li>      <a href="jsui/template-loading.html"  title="JS Template loading">JS Template loading</a>
+</li>
+                                  <li>      <a href="jsui/i18n.html"  title="i18n">i18n</a>
+</li>
+                                  <li>      <a href="jsui/knockout-binding.html"  title="Knockout Binding">Knockout Binding</a>
+</li>
+                                  <li>      <a href="jsui/generics-js.html"  title="Generic Javascipts">Generic Javascipts</a>
+</li>
+                              </ul>
+            </li>
+                  
+                      <li>      <a href="developers/releasing.html"  title="Releasing">Releasing</a>
+</li>
+                  
+                      <li>      <a href="developers/publishing-site.html"  title="Site Publish">Site Publish</a>
+</li>
+                          </ul>
+      </li>
+                <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="http://www.apache.org/foundation/how-it-works.html"  title="How Apache Works">How Apache Works</a>
+</li>
+                  
+                      <li>      <a href="http://www.apache.org/foundation/"  title="Foundation">Foundation</a>
+</li>
+                  
+                      <li>      <a href="http://www.apache.org/foundation/sponsorship.html"  title="Sponsoring Apache">Sponsoring Apache</a>
+</li>
+                  
+                      <li>      <a href="http://www.apache.org/foundation/thanks.html"  title="Thanks">Thanks</a>
+</li>
+                          </ul>
+      </li>
+                  </ul>
+          
+                      <form id="search-form" action="https://www.google.com/search" method="get"  class="navbar-search pull-right" >
+    
+  <input value="http://archiva.apache.org/" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=search-form"></script>
+          
+                                                                            
+                   
+                      </div>
+          
+        </div>
+      </div>
+    </div>
+    
+        <div class="container">
+          <div id="banner">
+        <div class="pull-left">
+                                <div id="bannerLeft">
+                <h2>Archiva</h2>
+                </div>
+                      </div>
+        <div class="pull-right">  </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+                    
+                  <li id="publishDate">Last Published: 2015-06-25
+                      <span class="divider">|</span>
+                   </li>
+                  <li id="projectVersion">Version: 1-SNAPSHOT
+                      </li>
+                      
+                
+                    
+      
+                            </ul>
+      </div>
+
+      
+                
+        <div id="bodyColumn" >
+                                  
+            <!-- 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><a name="Known_Issues_and_Errata"></a>Known Issues and Errata</h2>
+<p>For a list of all JIRA issues reported against released versions of Archiva, see <a class="externalLink" href="http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+MRM+AND+resolution+%3D+Unresolved+and+affectedVersion+in+releasedVersions()"> JIRA</a>.</p></div>
+                  </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container">
+                      <div class="row">
+                                                                          
+<div class="row pull-left">Apache Archiva, Archiva, Apache, the Apache feather logo, and the Apache Archiva project logos are trademarks of The Apache Software Foundation.</div>
+                                                          
+<div class="row pull-left">
+  <a href="http://archiva.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+                          </div>
+
+                <p id="poweredBy" class="pull-right">
+                          <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>
+              </p>
+        
+          
+    
+    
+                
+    <div id="ohloh" class="pull-right">
+      <script type="text/javascript" src="https://www.ohloh.net/p/6670/widgets/project_basic_stats.js"></script>
+    </div>
+        </div>
+    </footer>
+        </body>
 </html>
\ No newline at end of file