@Mojo(name="source-feature",
defaultPhase=PACKAGE)
public class SourceFeatureMojo
extends org.apache.maven.plugin.AbstractMojo
eclipse-feature
. By
default, the generated source feature
<originalFeatureId>.source
"<originalFeatureLabel> Developer Resources"
.source
appended to each plugin id.source
appended to each feature idsourceTemplateFeature/
. Files added here will be added to the root of the source
feature jar. Especially, if file sourceTemplateFeature/feature.properties
is found,
values in this file override values of respective keys in
<originalFeature>/feature.properties
.Modifier and Type | Field and Description |
---|---|
static String |
FEATURE_TEMPLATE_DIR |
static String |
SOURCES_FEATURE_CLASSIFIER |
Constructor and Description |
---|
SourceFeatureMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPlugin(org.eclipse.tycho.model.Feature sourceFeature,
org.eclipse.tycho.p2.resolver.facade.P2ResolutionResult result,
org.eclipse.tycho.model.PluginRef pluginRef) |
void |
execute() |
protected File |
getOutputJarFile() |
void |
setExcludes(org.codehaus.plexus.configuration.PlexusConfiguration excludes) |
void |
setPlugins(org.codehaus.plexus.configuration.PlexusConfiguration bundles) |
protected String |
toStrictVersionRange(String version) |
public static final String FEATURE_TEMPLATE_DIR
public static final String SOURCES_FEATURE_CLASSIFIER
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void addPlugin(org.eclipse.tycho.model.Feature sourceFeature, org.eclipse.tycho.p2.resolver.facade.P2ResolutionResult result, org.eclipse.tycho.model.PluginRef pluginRef)
protected File getOutputJarFile()
public void setExcludes(org.codehaus.plexus.configuration.PlexusConfiguration excludes)
public void setPlugins(org.codehaus.plexus.configuration.PlexusConfiguration bundles)
Copyright © 2010-2015 Eclipse Foundation. All Rights Reserved.