From: Olivier Lamy Date: Fri, 6 Apr 2012 10:05:09 +0000 (+0000) Subject: use archiva vm snapshots repo as redback snapshots are now deployed here X-Git-Tag: archiva-1.4-M3~836 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f116d84fdbdea829542a1f876b83858042a5f582;p=archiva.git use archiva vm snapshots repo as redback snapshots are now deployed here git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310269 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js index d1daa5737..f3a3a4f6c 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js @@ -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"); + } diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html index c0fd778a6..05ed35c93 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html @@ -432,6 +432,9 @@
  • ${$.i18n.prop('artifact.detail.tab.header.dependency.tree')}
  • +
  • + ${$.i18n.prop('artifact.detail.tab.header.pom.content')} +
  • ${$.i18n.prop('artifact.detail.tab.header.used.by')}
  • @@ -625,6 +628,9 @@
    +
    +
    +
    diff --git a/pom.xml b/pom.xml index 9a78574c1..9737860aa 100644 --- a/pom.xml +++ b/pom.xml @@ -1810,9 +1810,9 @@ - redback.snapshots - Codehaus Redback Snapshots Repository - http://snapshots.repository.codehaus.org/ + archiva.snapshots + Archiva VM Snapshots Repository + https://archiva-repository.apache.org/archiva/repository/snapshots false