void (Artifact artifact, PackagingElementResolvingContext context, @Nullable String mainClass, @Nullable String classpath) { final CompositePackagingElement<?> rootElement = artifact.getRootElement(); final ArtifactType type = artifact.getArtifactType(); assertManifest(rootElement, context, type, mainClass, classpath); }