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) 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
-
-
Constructor Summary
Constructors Constructor Description PublishOsgiEEMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Collection<DependencySeed>
publishContent(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
-
-
-
-
Field Detail
-
profiles
@Parameter(defaultValue="JavaSE-10, JavaSE-11, JavaSE-12, JavaSE-13, JavaSE-14") private java.lang.String profiles
Comma-separated list of profile names to be published. Examples: JavaSE-1.6, JavaSE-10, OSGi/Minimum-1.0.
-
skip
@Parameter(defaultValue="false") private boolean skip
-
-
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 classAbstractPublishMojo
- Returns:
- the list of root installable units that has been published
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
-