Examples of BundlePublisher


Examples of com.dotcms.publisher.receiver.BundlePublisher

      //Configure and Invoke the Publisher
      Logger.info(PublishThread.class, "Started bundle publish process");
    PushPublishLogger.log(PublishThread.class, "Started bundle publish process", bundleName);

    PublisherConfig pconf = new PublisherConfig();
    BundlePublisher bundlePublisher = new BundlePublisher();
    pconf.setId(bundleName);
    pconf.setEndpoint(endpointId);
    pconf.setGroupId(groupId);
    try {
      bundlePublisher.init(pconf);
      bundlePublisher.process(null);
    } catch (DotPublishingException e) {
      Logger.error("Failed to publish because an error occurred: ", e.getMessage());
    }

    PushPublishLogger.log(PublishThread.class, "Finished bundle publish process", bundleName);
View Full Code Here

Examples of org.reficio.p2.publisher.BundlePublisher

        return new AquteBundler(pedantic);
    }

    private void executeP2PublisherPlugin() throws IOException, MojoExecutionException {
        prepareDestinationDirectory();
        BundlePublisher publisher = BundlePublisher.builder()
                .mavenProject(project)
                .mavenSession(session)
                .buildPluginManager(pluginManager)
                .compressSite(compressSite)
                .additionalArgs(additionalArgs)
                .build();
        publisher.execute();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.