Class PublishProductMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.tycho.core.maven.AbstractP2Mojo
-
- org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo
-
- org.eclipse.tycho.plugins.p2.publisher.PublishProductMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="publish-products", defaultPhase=PACKAGE, threadSafe=true) public final class PublishProductMojo extends AbstractPublishMojoPublishes all product definitions files (*.product) that are present in the root of the project.
-
-
Constructor Summary
Constructors Constructor Description PublishProductMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<org.eclipse.tycho.core.resolver.shared.DependencySeed>publishContent(org.eclipse.tycho.p2.tools.publisher.facade.PublisherServiceFactory publisherServiceFactory)Publishes source files with the help of the given publisher service.-
Methods inherited from class org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo
execute
-
Methods inherited from class org.eclipse.tycho.core.maven.AbstractP2Mojo
getBuildContext, getBuildDirectory, getEnvironments, getProject, getProjectIdentities, getQualifier, getReactorProject, getSession
-
-
-
-
Method Detail
-
publishContent
protected Collection<org.eclipse.tycho.core.resolver.shared.DependencySeed> publishContent(org.eclipse.tycho.p2.tools.publisher.facade.PublisherServiceFactory publisherServiceFactory) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
Description copied from class:AbstractPublishMojoPublishes source files with the help of the given publisher service.- Specified by:
publishContentin classAbstractPublishMojo- Returns:
- the list of root installable units that has been published
- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-