@Override
  public void checkRootElement(@NotNull CompositePackagingElement<?> rootElement,
                               @NotNull Artifact artifact,
                               @NotNull ArtifactProblemsHolder manager) {
    final Project project = manager.getContext().getProject();
    final Sdk sdk = getJPackageCompatibleSdk(artifact, project);
    if (sdk == null) {
      manager.registerError(JavaFXBundle.message("needs.at.least.jdk.14.containing.the.jpackage.tool"), "no-jpackage");
    }
  }
@Override
  public void checkRootElement(@NotNull CompositePackagingElement<?> rootElement,
                               @NotNull Artifact artifact,
                               @NotNull ArtifactProblemsHolder manager)