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){
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);
self.entries(entries);
}
});
- //}
+ }
+
+ if ($(e.target).attr("href")=="#artifact-details-pom-data-content") {
+ $.log("pom content");
+
}
<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">
<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>