org.sonatype.tycho.plugins.p2
Class AbstractP2MetadataMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.sonatype.tycho.plugins.p2.AbstractP2MetadataMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CategoryP2MetadataMojo, FeatureP2MetadataMojo, UpdateSiteP2MetadataMojo

public abstract class AbstractP2MetadataMojo
extends org.apache.maven.plugin.AbstractMojo


Field Summary
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)
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractP2MetadataMojo()
           
 
Method Summary
protected  void addArguments(org.codehaus.plexus.util.cli.Commandline cli)
           
 void execute()
           
protected abstract  String getPublisherApplication()
           
protected  File getUpdateSiteLocation()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

project

protected org.apache.maven.project.MavenProject project

metadataRepositoryName

protected String metadataRepositoryName
Metadata repository name


target

protected File target
Generated update site location (must match update-site mojo configuration)


artifactRepositoryName

protected String artifactRepositoryName
Artifact repository name


generateP2Metadata

protected boolean generateP2Metadata
Constructor Detail

AbstractP2MetadataMojo

public AbstractP2MetadataMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

addArguments

protected void addArguments(org.codehaus.plexus.util.cli.Commandline cli)
                     throws IOException,
                            MalformedURLException
Throws:
IOException
MalformedURLException

getPublisherApplication

protected abstract String getPublisherApplication()

getUpdateSiteLocation

protected File getUpdateSiteLocation()


Copyright © 2008-2011. All Rights Reserved.