code: protected WebArchive genericCreateArchiveWithPems(String sourceWarName, String baseWarName, List<String> classList) throws Exception {
          try {
              String warName = baseWarName + ".war";
              WebArchive newWar = ShrinkWrap.create(WebArchive.class, warName);
              addDefaultFileAssetsForAppsToWar(sourceWarName, newWar);
              addPemFilesForAppsToWar(warName, newWar);
              for (String theClass : classList) {
                  newWar.addClass(theClass);
              }
              return newWar;
          } catch (Exception e) {
              Log.error(thisClass, "genericCreateArchive", e);
              throw e;
          }
      }
docs: Create a test war using files from the source war and the classList. Add a default list of pem files
  
  @param sourceWarName - the source war to get xml files from
  @param baseWarName - the base name of the war file to create
  @param classList - the list of classes to add to the war
  @return - return a war built from the specified built class files, xml's and pem files
  @throws Exception