]> source.dussan.org Git - archiva.git/commitdiff
use archiva vm snapshots repo as redback snapshots are now deployed here
authorOlivier Lamy <olamy@apache.org>
Fri, 6 Apr 2012 10:05:09 +0000 (10:05 +0000)
committerOlivier Lamy <olamy@apache.org>
Fri, 6 Apr 2012 10:05:09 +0000 (10:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310269 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html
pom.xml

index d1daa573747c81b57ab46b5bb257a37cc77a2738..f3a3a4f6c8eab96e2c018b494e5b5a1cbca9f266 100644 (file)
@@ -203,6 +203,7 @@ define("search",["jquery","i18n","jquery.tmpl","choosen","order!knockout","knock
               mainContent.find("#browse-autocomplete" ).hide();
               mainContent.find("#browse-autocomplete-divider" ).hide();
               mainContent.find("#artifact-details-tabs").on('show', function (e) {
+
                 if ($(e.target).attr("href")=="#artifact-details-dependency-tree-content") {
                   var treeContentDiv=mainContent.find("#artifact-details-dependency-tree-content" );
                   if( $.trim(treeContentDiv.html()).length<1){
@@ -249,8 +250,6 @@ define("search",["jquery","i18n","jquery.tmpl","choosen","order!knockout","knock
                 if ($(e.target).attr("href")=="#artifact-details-metadatas-content") {
                   $.log("artifact metadata");
                   var metadatasContentDiv=mainContent.find("#artifact-details-metadatas-content" );
-                  //if( $.trim(metadatasContentDiv.html()).length<1){
-                    //metadatasContentDiv.html(mediumSpinnerImg());
                     var metadatasUrl="restServices/archivaServices/browseService/metadatas/"+encodeURIComponent(groupId);
                     metadatasUrl+="/"+encodeURIComponent(artifactId);
                     metadatasUrl+="/"+encodeURIComponent(version);
@@ -268,7 +267,11 @@ define("search",["jquery","i18n","jquery.tmpl","choosen","order!knockout","knock
                         self.entries(entries);
                       }
                     });
-                  //}
+                }
+
+                if ($(e.target).attr("href")=="#artifact-details-pom-data-content") {
+                  $.log("pom content");
+
                 }
 
 
index c0fd778a6297f2b88903810057efd6be201354c3..05ed35c93336aa4ad2dc21a5b5b7233d3c20c42a 100644 (file)
       <li>
         <a data-toggle="tab" href="#artifact-details-dependency-tree-content">${$.i18n.prop('artifact.detail.tab.header.dependency.tree')}</a>
       </li>
+      <li>
+        <a data-toggle="tab" href="#artifact-details-pom-data-content">${$.i18n.prop('artifact.detail.tab.header.pom.content')}</a>
+      </li>
       <li>
         <a data-toggle="tab" href="#artifact-details-used-by-content">${$.i18n.prop('artifact.detail.tab.header.used.by')}</a>
       </li>
       <div id="artifact-details-dependency-tree-content" class="tab-pane">
       </div>
 
+      <div id="artifact-details-pom-data-content" class="tab-pane">
+      </div>
+
       <div id="artifact-details-used-by-content" class="tab-pane"></div>
 
       <div id="artifact-details-mailing-list-content" class="tab-pane">
diff --git a/pom.xml b/pom.xml
index 9a78574c147988e7d6a0b2a3cfea54a2f710a597..9737860aa574737a42ad0f16f3d803384c20d32a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
 
   <repositories>
     <repository>
-      <id>redback.snapshots</id>
-      <name>Codehaus Redback Snapshots Repository</name>
-      <url>http://snapshots.repository.codehaus.org/</url>
+      <id>archiva.snapshots</id>
+      <name>Archiva VM Snapshots Repository</name>
+      <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
       <releases>
         <enabled>false</enabled>
       </releases>