Class FeatureGenMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.wso2.maven.p2.generate.feature.FeatureGenMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="p2-feature-gen",
defaultPhase=PACKAGE)
public class FeatureGenMojo
extends org.apache.maven.plugin.AbstractMojo
Write environment information for the current build to file.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()getLabel()voidsetCopyright(String copyrite) voidsetDescription(String description) voidvoidsetLicence(String licence) voidsetLicenceUrl(String licenceUrl) voidsetManifest(File manifest) voidsetProperties(Properties properties) voidsetPropertiesFile(File propertiesFile) voidsetProviderName(String providerName) voidsetVersion(String version) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
FeatureGenMojo
public FeatureGenMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
setVersion
-
getVersion
-
setLabel
-
getLabel
-
setDescription
-
getDescription
-
setProviderName
-
getProviderName
-
setCopyright
-
getCopyright
-
setLicenceUrl
-
getLicenceUrl
-
setLicence
-
getLicence
-
setManifest
-
getManifest
-
setPropertiesFile
-
getPropertiesFile
-
setProperties
-
getProperties
- Throws:
org.apache.maven.plugin.MojoExecutionException
-