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 java.util.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
      • postPublishedIUs

        private void postPublishedIUs​(java.util.Collection<DependencySeed> units)
        Adds the just published installable units into a shared list. The assemble-repository goal eventually uses the units in that list as entry-points for mirroring content into the assembly p2 repository.