org.kuali.maven.plugin
Class ExtractorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.kuali.maven.plugin.ExtractorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ExtractorMojo
extends org.apache.maven.plugin.AbstractMojo

Extracts information contained in the pom and exposes it as project properties eg major version, scm type, scm url


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ExtractorMojo()
           
 
Method Summary
 void execute()
           
 String getMajorVersionProperty()
           
 org.apache.maven.project.MavenProject getProject()
           
 String getScmTypeProperty()
           
 String getScmUrlProperty()
           
 String getSvnBranchProperty()
           
 String getSvnTagBaseProperty()
           
 void setMajorVersionProperty(String majorVersionProperty)
           
 void setProject(org.apache.maven.project.MavenProject project)
           
 void setScmTypeProperty(String scmTypeProperty)
           
 void setScmUrlProperty(String scmUrlProperty)
           
 void setSvnBranchProperty(String svnBranchProperty)
           
 void setSvnTagBaseProperty(String scmTagBaseProperty)
           
 
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
 

Constructor Detail

ExtractorMojo

public ExtractorMojo()
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

getProject

public org.apache.maven.project.MavenProject getProject()

setProject

public void setProject(org.apache.maven.project.MavenProject project)

getMajorVersionProperty

public String getMajorVersionProperty()

setMajorVersionProperty

public void setMajorVersionProperty(String majorVersionProperty)

getScmTypeProperty

public String getScmTypeProperty()

setScmTypeProperty

public void setScmTypeProperty(String scmTypeProperty)

getScmUrlProperty

public String getScmUrlProperty()

setScmUrlProperty

public void setScmUrlProperty(String scmUrlProperty)

getSvnTagBaseProperty

public String getSvnTagBaseProperty()

setSvnTagBaseProperty

public void setSvnTagBaseProperty(String scmTagBaseProperty)

getSvnBranchProperty

public String getSvnBranchProperty()

setSvnBranchProperty

public void setSvnBranchProperty(String svnBranchProperty)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.