Class PublishOsgiEEMojo
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.PublishOsgiEEMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="publish-osgi-ee",
defaultPhase=PREPARE_PACKAGE,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public final class PublishOsgiEEMojo
extends AbstractPublishMojo
Publishes OSGi execution environment profiles into a p2 repository. The published IUs satisfy dependencies to corresponding osgi.ee capabilities and system packages.
- Since:
- 1.2.0
-
Field Summary
Fields inherited from class org.eclipse.tycho.core.maven.AbstractP2Mojo
projectManagerFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
executeMethods inherited from class org.eclipse.tycho.core.maven.AbstractP2Mojo
getBuildContext, getBuildDirectory, getEnvironments, getProject, getProjectIdentities, getQualifier, getReactorProject, getSessionMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
PublishOsgiEEMojo
public PublishOsgiEEMojo()
-
-
Method Details
-
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
-