code: public void addAllSubsystemFileSourcesFromModule(FeaturePack.Module module, ArtifactFileResolver artifactFileResolver, boolean transitive) throws IOException {
          // the subsystem templates are included in module artifacts files
          for (ModuleParseResult.ArtifactName artifactName : module.getModuleParseResult().getArtifacts()) {
              // resolve the artifact
              Artifact artifact = module.getFeaturePack().getArtifactResolver().getArtifact(artifactName.getArtifact());
              if (artifact == null) {
                  throw new RuntimeException("Could not resolve module resource artifact " + artifactName.getArtifactCoords() + " for feature pack " + module.getFeaturePack().getFeaturePackFile());
              }
              // resolve the artifact file
              File artifactFile = artifactFileResolver.getArtifactFile(artifact);
              // get the subsystem templates
              addAllSubsystemFileSourcesFromZipFile(artifactFile);
          }
          if (transitive) {
              for (FeaturePack.Module dependency : module.getDependencies().values()) {
                  addAllSubsystemFileSourcesFromModule(dependency, artifactFileResolver, false);
              }
          }
      }
docs: Adds all file sources in the specified module's artifacts.
  @param module
  @param artifactFileResolver
  @param transitive
  @throws IOException