private static int fillPomsFromChildren(final Collection<ArtifactInformation> poms,final ArtifactInformation art,final Map<String,ArtifactInformation> artifacts){
  int cnt=0;
  for (  final String childId : art.getChildIds()) {
    final ArtifactInformation child=artifacts.get(childId);
    if (child != null) {
      final String childName=child.getName();
      if (isPomFileName(childName)) {
        poms.add(child);
        ++cnt;
      }
    }
  }
  return cnt;
}

private static int fillPomsFromChildren ( final Collection < ArtifactInformation > poms , final ArtifactInformation art , final Map < String , ArtifactInformation > artifacts ) { int cnt = 0 ; for ( final String childId : art . getChildIds ( ) ) { final ArtifactInformation child = artifacts . get ( childId ) ; if ( child != null ) { final String childName = child . getName ( ) ; if ( isPomFileName ( childName ) ) { poms . add ( child ) ; ++ cnt ; } } } return cnt ; }
fill a collection with all poms for the children of an artifact .
