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  java.lang.String artifactRepositoryName
          Artifact repository name
protected  boolean generateP2Metadata
           
protected  java.lang.String metadataRepositoryName
          Metadata repository name
protected  org.apache.maven.project.MavenProject project
           
protected  java.io.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  java.lang.String getPublisherApplication()
           
protected  java.io.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 java.lang.String metadataRepositoryName
Metadata repository name


target

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


artifactRepositoryName

protected java.lang.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 java.io.IOException,
                            java.net.MalformedURLException
Throws:
java.io.IOException
java.net.MalformedURLException

getPublisherApplication

protected abstract java.lang.String getPublisherApplication()

getUpdateSiteLocation

protected java.io.File getUpdateSiteLocation()


Copyright © 2008-2011. All Rights Reserved.