mirror of https://github.com/apache/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
This commit is contained in:
parent
4306c19f95
commit
f116d84fdb
|
@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
6
pom.xml
6
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue