Class AbstractPublishMojo

    • Constructor Detail

      • AbstractPublishMojo

        public AbstractPublishMojo()
    • Method Detail

      • execute

        public final void execute()
                           throws org.apache.maven.plugin.MojoExecutionException,
                                  org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException
      • publishContent

        protected abstract Collection<DependencySeed> publishContent​(PublisherServiceFactory publisherFactory)
                                                              throws org.apache.maven.plugin.MojoExecutionException,
                                                                     org.apache.maven.plugin.MojoFailureException
        Publishes source files with the help of the given publisher service.
        Returns:
        the list of root installable units that has been published
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException