hadrabap commented on a change in pull request #27:
URL: https://github.com/apache/maven-archetype/pull/27#discussion_r500803867
##########
File path:
archetype-common/src/main/java/org/apache/maven/archetype/creator/FilesetArchetypeCreator.java
##########
@@ -702,7 +702,9 @@ private void rewriteEARPluginReferences( Plugin plugin,
String rootArtifactId, S
Xpp3Dom configuration = (Xpp3Dom) plugin.getConfiguration();
if ( configuration != null )
{
- Xpp3Dom[] modules = configuration.getChild( "modules"
).getChildren();
+ Xpp3Dom[] modules = configuration.getChild( "modules" ) != null
Review comment:
Hi, I've incorporated your suggestion.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]