Giovds commented on code in PR #234:
URL: https://github.com/apache/maven-archetype/pull/234#discussion_r1808671397
##########
archetype-common/src/main/java/org/apache/maven/archetype/DefaultArchetypeManager.java:
##########
@@ -146,6 +146,7 @@ public ArchetypeCatalog getInternalCatalog() {
return source.getArchetypeCatalog(null, null);
} catch (ArchetypeDataSourceException e) {
+ getLogger().warn("failed to read catalog", e);
Review Comment:
It leads to a cleaner output for sure, the downside is that is might not get
read if there are many archetypes in the catalog as the warning can be pushed
outside of the terminal window. A stack trace is easier to spot, but definitely
not the best solution either. Though I doubt that you skip the build logs it if
you expect certain archetypes to be there.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]