docs: private String stripExtension(String moduleName) {
          if ( moduleName.endsWith(".war") || moduleName.endsWith(".jar") ) {
              return moduleName.substring(0, moduleName.length() - 4);
          }
          return moduleName;
      }