org.apache.maven.plugins.patchtracker
Class UpdatePatchMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.patchtracker.AbstractPatchMojo
          extended by org.apache.maven.plugins.patchtracker.UpdatePatchMojo
All Implemented Interfaces:
ContextEnabled, Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class UpdatePatchMojo
extends AbstractPatchMojo

Goal which create a diff/patch file from the current project and create an issue in the project with attaching the created patch file

Aggregates the Maven project and its child modules.
Is defined by the goal name:
update

Field Summary
protected  String patchId
           
 
Fields inherited from class org.apache.maven.plugins.patchtracker.AbstractPatchMojo
baseDir, description, issueSystem, password, patchPriority, patchSystem, patchType, plexusContainer, project, prompter, providerType, scmManager, serverId, serverUrl, settings, summary, user
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UpdatePatchMojo()
           
 
Method Summary
 void execute()
           
protected  String getPatchId()
           
 
Methods inherited from class org.apache.maven.plugins.patchtracker.AbstractPatchMojo
buidPatchTrackerRequest, contextualize, getPatchContent, getPatchRepository, getPatchRepositorySystem, getPatchTracker, getPatchTrackerDescription, getPatchTrackerPassword, getPatchTrackerSummary, getPatchTrackerSystem, getPatchTrackerUrl, getPatchTrackerUsername, getServer, getServerId, getValue
 
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

patchId

protected String patchId
Is defined by:
expression:
${patch.patchId}
default-value:
Constructor Detail

UpdatePatchMojo

public UpdatePatchMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Throws:
MojoExecutionException

getPatchId

protected String getPatchId()
                     throws org.codehaus.plexus.components.interactivity.PrompterException,
                            MojoExecutionException
Throws:
org.codehaus.plexus.components.interactivity.PrompterException
MojoExecutionException


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.