Hi,

the archetype plugin sometimes prints:

[ERROR] Found entry

during mvn archetype:generate.

This is irritating since there is no error. In fact, something good
just happened, because the code found an entry it was looking for.
The message should either be removed entirely (which is what the
patch below does) or changed to 'debug'.

Thanks,
Stefan

Index: 
archetype-common/src/main/java/org/apache/maven/archetype/common/DefaultArchetypeArtifactManager.java
===================================================================
--- 
archetype-common/src/main/java/org/apache/maven/archetype/common/DefaultArchetypeArtifactManager.java
       (revision 812476)
+++ 
archetype-common/src/main/java/org/apache/maven/archetype/common/DefaultArchetypeArtifactManager.java
       (working copy)
@@ -523,7 +523,6 @@ public class DefaultArchetypeArtifactManager
             ZipEntry entryfound = (ZipEntry) enu.nextElement();
             getLogger().debug( "An ENTRY " + entryfound.getName() );
             if( searchString.equals( entryfound.getName() ) ) {
-                getLogger().error( "Found entry" );
                 return entryfound;
             }
         }

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to