Class PublishCategoriesMojo

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

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

    Publishes the category definitions from the category.xml in the root of the project.

    • Constructor Detail

      • PublishCategoriesMojo

        public PublishCategoriesMojo()
    • 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