public abstract class AbstractP2MetadataMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected String |
artifactRepositoryName
Artifact repository name
|
protected boolean |
generateP2Metadata |
protected String |
metadataRepositoryName
Metadata repository name
|
protected org.apache.maven.project.MavenProject |
project |
protected File |
target
Generated update site location (must match update-site mojo configuration)
|
Constructor and Description |
---|
AbstractP2MetadataMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
addArguments(P2ApplicationLauncher launcher) |
void |
execute() |
protected abstract String |
getPublisherApplication() |
protected File |
getUpdateSiteLocation() |
protected void |
logUpdateSiteLocationNotFound() |
protected org.apache.maven.project.MavenProject project
protected String metadataRepositoryName
protected File target
protected String artifactRepositoryName
protected boolean generateP2Metadata
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 logUpdateSiteLocationNotFound()
protected void addArguments(P2ApplicationLauncher launcher) throws IOException, MalformedURLException
IOException
MalformedURLException
protected abstract String getPublisherApplication()
protected File getUpdateSiteLocation()
Copyright © 2008-2013 Eclipse Foundation. All Rights Reserved.