@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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
profiles
Comma-separated list of profile names to be published.
|
private boolean |
skip |
Constructor and Description |
---|
PublishOsgiEEMojo() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<DependencySeed> |
publishContent(PublisherServiceFactory publisherServiceFactory)
Publishes source files with the help of the given publisher service.
|
execute
getBuildContext, getBuildDirectory, getEclipseRepositoryProject, getEnvironments, getProject, getProjectIdentities, getQualifier, getReactorProject, getSession
@Parameter(defaultValue="JavaSE-10, JavaSE-11") private java.lang.String profiles
Comma-separated list of profile names to be published. Examples: JavaSE-1.6, JavaSE-10, OSGi/Minimum-1.0.
@Parameter(defaultValue="false") private boolean skip
protected java.util.Collection<DependencySeed> publishContent(PublisherServiceFactory publisherServiceFactory) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
AbstractPublishMojo
publishContent
in class AbstractPublishMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException