code: private void prepareJavaSERuntime(final List<File> artifacts) throws MojoExecutionException {
          final File artifact = getProjectJarArtifact(artifacts);
          if (artifact == null) {
              return;
          }
          switch (runtimeSetting.getOsEnum()) {
              case Windows:
                  // Windows: Generate web.config to staging folder
                  try {
                      WebAppUtils.generateWebConfigFile(artifact.getName(), log, stagingDirectoryPath, this.getClass());
                  } catch (IOException e) {
                      throw new MojoExecutionException("Failed to generate web.config file");
                  }
                  break;
              case Linux:
                  // Linux: Rename project artifact to app.jar
                  log.info(String.format(RENAMING_MESSAGE, artifact.getAbsolutePath(), DEFAULT_LINUX_JAR_NAME));
                  artifact.renameTo(new File(artifact.getParent(), DEFAULT_LINUX_JAR_NAME));
                  break;
              default:
                  return;
          }
      }
docs: Rename project jar to app.jar for linux app service or generate web.config for windows javase app service