@Mojo(name="publish-product")
public class PublishProductMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.project.MavenProject |
project |
| Constructor and Description |
|---|
PublishProductMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Overridden method of AbstractMojo class.
|
@Parameter(defaultValue="${project}")
protected org.apache.maven.project.MavenProject project
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - throws when any runtime exception occurs. i.e: fail to read write file, fail to
parse a configuration xmlorg.apache.maven.plugin.MojoFailureException - throws when the tool breaks for any configuration issuesCopyright © 2017 WSO2. All rights reserved.