@Mojo(name="publish-products",
defaultPhase=PACKAGE)
public final class PublishProductMojo
extends AbstractPublishMojo
Publishes all product definitions files (*.product) that are present in the root of the project.
http://wiki.eclipse.org/Equinox/p2/Publisher| Modifier and Type | Field and Description |
|---|---|
private org.codehaus.plexus.archiver.UnArchiver |
deflater |
private FileLockService |
fileLockService |
private java.lang.String |
flavor
Deprecated.
This parameter has no useful effect and may be removed in a future version of
Tycho.
|
private static org.osgi.framework.Version |
LUNA_SR2_EXECUTABLE_FEATURE_VERSION |
| Constructor and Description |
|---|
PublishProductMojo() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkMacOSLauncherCompatibility(ArtifactDescriptor executablesFeature) |
private java.io.File |
getExpandedLauncherBinaries() |
(package private) static boolean |
isLunaOrOlder(org.osgi.framework.Version featureVersion) |
private boolean |
macOSConfigured() |
protected java.util.Collection<DependencySeed> |
publishContent(PublisherServiceFactory publisherServiceFactory)
Publishes source files with the help of the given publisher service.
|
executegetBuildContext, getBuildDirectory, getEclipseRepositoryProject, getEnvironments, getProject, getProjectIdentities, getQualifier, getReactorProject, getSessionprivate static final org.osgi.framework.Version LUNA_SR2_EXECUTABLE_FEATURE_VERSION
@Parameter(defaultValue="tooling") @Deprecated private java.lang.String flavor
The name of the p2 installation flavor to create. De facto, this parameter is set to "tooling" in all uses of p2.
@Component(role=org.codehaus.plexus.archiver.UnArchiver.class,
hint="zip")
private org.codehaus.plexus.archiver.UnArchiver deflater
@Component private FileLockService fileLockService
protected java.util.Collection<DependencySeed> publishContent(PublisherServiceFactory publisherServiceFactory) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
AbstractPublishMojopublishContent in class AbstractPublishMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprivate java.io.File getExpandedLauncherBinaries()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprivate void checkMacOSLauncherCompatibility(ArtifactDescriptor executablesFeature) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionstatic boolean isLunaOrOlder(org.osgi.framework.Version featureVersion)
private boolean macOSConfigured()