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
This commit is contained in:
Olivier Lamy 2012-04-06 10:05:09 +00:00
parent 4306c19f95
commit f116d84fdb
3 changed files with 15 additions and 6 deletions

View 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");
}

View File

@ -432,6 +432,9 @@
<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>
@ -625,6 +628,9 @@
<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">

View File

@ -1810,9 +1810,9 @@
<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>