org.apache.maven.plugins.patchtracker
Class PatchToIssueMojo

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.PatchToIssueMojo
All Implemented Interfaces:
ContextEnabled, Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class PatchToIssueMojo
extends AbstractPatchMojo

Author:
Olivier Lamy
Aggregates the Maven project and its child modules.
Is defined by the goal name:
to-issue

Field Summary
protected  String id
          for github: pull request id
protected  String organisation
          for github user/organization : github.com/apache use apache
protected  String patchSystemUrl
          for github api url https://api.github.com
protected  String repository
          github repo : github.com/apache/maven-3 use maven-3
 
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
PatchToIssueMojo()
           
 
Method Summary
 void execute()
           
 
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

organisation

protected String organisation
for github user/organization : github.com/apache use apache

Is defined by:
expression:
${patch.request.organisation}
default-value:

repository

protected String repository
github repo : github.com/apache/maven-3 use maven-3

Is defined by:
expression:
${patch.request.repository}
default-value:

id

protected String id
for github: pull request id

Is defined by:
expression:
${patch.request.id}
default-value:

patchSystemUrl

protected String patchSystemUrl
for github api url https://api.github.com

Is defined by:
expression:
${patch.patchSystem.url}
default-value:
${project.patchManagement.url}
Constructor Detail

PatchToIssueMojo

public PatchToIssueMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException
Throws:
MojoExecutionException
MojoFailureException


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