Class PublishEEProfileMojo

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

    @Mojo(name="publish-ee-profile",
          defaultPhase=PREPARE_PACKAGE,
          threadSafe=true)
    public final class PublishEEProfileMojo
    extends AbstractPublishMojo

    Publishes a custom execution environment profile.

    Since:
    0.16.0
    • Field Detail

      • profileFile

        @Parameter(required=true)
        private java.io.File profileFile

        The profile file containing the execution environment definition.

    • Constructor Detail

      • PublishEEProfileMojo

        public PublishEEProfileMojo()
    • Method Detail

      • publishContent

        protected java.util.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