protected void doExecute()

in src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java [398:410]


        protected void doExecute(InstallationContext ctx, JcrPackageManager pkgMgr, TaskResource resource)
                throws RepositoryException, PackageException, IOException {
            
            try (JcrPackage pkg = pkgMgr.open(this.pkgId)) {
                if (pkg != null) {
                    final ImportOptions opts = new ImportOptions();
                    opts.setDependencyHandling(configuration.dependencyHandling());
                    pkg.uninstall(opts);
                }
            }
            ctx.log("Uninstalled content package {}", getResource());
            setFinishedState(ResourceState.UNINSTALLED);
        }