You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/12/17 21:15:03 UTC

[maven-archetype] 02/02: Changes debug messages for easing debugging

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch ARCHETYPE-583
in repository https://gitbox.apache.org/repos/asf/maven-archetype.git

commit cdf2414ea99db6bce9b7d526e667fd3dedcd7b1e
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Mon Nov 11 20:38:36 2019 +0100

    Changes debug messages for easing debugging
---
 .../maven/archetype/source/LocalCatalogArchetypeDataSource.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/archetype-common/src/main/java/org/apache/maven/archetype/source/LocalCatalogArchetypeDataSource.java b/archetype-common/src/main/java/org/apache/maven/archetype/source/LocalCatalogArchetypeDataSource.java
index 9f2a9d5..ad378b2 100644
--- a/archetype-common/src/main/java/org/apache/maven/archetype/source/LocalCatalogArchetypeDataSource.java
+++ b/archetype-common/src/main/java/org/apache/maven/archetype/source/LocalCatalogArchetypeDataSource.java
@@ -48,14 +48,14 @@ public class LocalCatalogArchetypeDataSource
 
         File catalogFile = new File( localRepo, ARCHETYPE_CATALOG_FILENAME );
 
-        getLogger().debug( "Using catalog " + catalogFile.getAbsolutePath() );
+        getLogger().debug( "Catalog to be used for update: " + catalogFile.getAbsolutePath() );
 
         ArchetypeCatalog catalog;
         if ( catalogFile.exists() )
         {
             try
             {
-                getLogger().debug( "Reading the catalog " + catalogFile );
+                getLogger().debug( "Reading catalog to be updated: " + catalogFile );
                 catalog = readCatalog( ReaderFactory.newXmlReader( catalogFile ) );
             }
             catch ( FileNotFoundException ex )
@@ -113,7 +113,7 @@ public class LocalCatalogArchetypeDataSource
         {
             catalogFile = new File( catalogFile, ARCHETYPE_CATALOG_FILENAME );
         }
-        getLogger().debug( "Using catalog " + catalogFile );
+        getLogger().debug( "Getting archetypes from catalog: " + catalogFile );
 
         if ( catalogFile.exists() )
         {