aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata/metadata-repository-api/src
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-05-28 22:52:23 +0000
committerOlivier Lamy <olamy@apache.org>2012-05-28 22:52:23 +0000
commit823b816f5283e5490b38daa3a8387a72df74e6e6 (patch)
tree8a4b28ba1d6b918ede416ce596c3ce1ed3832fab /archiva-modules/metadata/metadata-repository-api/src
parentb19947a75a0b3b9cf0530ccb6a19d42c13d3f349 (diff)
downloadarchiva-823b816f5283e5490b38daa3a8387a72df74e6e6.tar.gz
archiva-823b816f5283e5490b38daa3a8387a72df74e6e6.zip
take care of metadata files with id as maven-metadata-archiva-vm-all-public.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343415 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-repository-api/src')
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java15
1 files changed, 7 insertions, 8 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java
index 0d99110a3..bb9cc49cb 100644
--- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java
+++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java
@@ -178,10 +178,9 @@ public class DefaultMetadataResolver
repositoryStorage.listRootNamespaces( repoId, new ExcludesFilter<String>( namespaces ) );
if ( storageNamespaces != null && !storageNamespaces.isEmpty() )
{
- if ( log.isDebugEnabled() )
- {
- log.debug( "Resolved root namespaces from storage: " + storageNamespaces );
- }
+
+ log.debug( "Resolved root namespaces from storage: {}", storageNamespaces );
+
for ( String n : storageNamespaces )
{
try
@@ -221,6 +220,7 @@ public class DefaultMetadataResolver
{
log.debug( "Resolved namespaces from storage: {}", storageNamespaces );
+
for ( String n : storageNamespaces )
{
try
@@ -368,10 +368,9 @@ public class DefaultMetadataResolver
repositoryStorage.readArtifactsMetadata( repoId, namespace, projectId, projectVersion, filter );
if ( storageArtifacts != null && !storageArtifacts.isEmpty() )
{
- if ( log.isDebugEnabled() )
- {
- log.debug( "Resolved artifacts from storage: " + storageArtifacts );
- }
+
+ log.debug( "Resolved artifacts from storage: {}", storageArtifacts );
+
for ( ArtifactMetadata artifact : storageArtifacts )
{
try