Class PublishProductMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="publish-products",
          defaultPhase=PACKAGE)
    public final class PublishProductMojo
    extends AbstractPublishMojo

    Publishes all product definitions files (*.product) that are present in the root of the project.

    • Constructor Detail

      • PublishProductMojo

        public PublishProductMojo()
    • Method Detail

      • publishContent

        protected Collection<DependencySeed> publishContent​(PublisherServiceFactory publisherServiceFactory)
                                                     throws org.apache.maven.plugin.MojoExecutionException,
                                                            org.apache.maven.plugin.MojoFailureException
        Description copied from class: AbstractPublishMojo
        Publishes source files with the help of the given publisher service.
        Specified by:
        publishContent in class AbstractPublishMojo
        Returns:
        the list of root installable units that has been published
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException