org.kuali.maven.plugin.ksite.mojo
Class KualiSiteMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.kuali.maven.plugin.ksite.mojo.KualiSiteMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.kuali.maven.common.SiteContext

public class KualiSiteMojo
extends org.apache.maven.plugin.AbstractMojo
implements org.kuali.maven.common.SiteContext

This plugin organizes/standardizes the maven site publication process for the Kuali organization


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
KualiSiteMojo()
           
 
Method Summary
 void execute()
           
 String getDownloadBase()
           
 String getDownloadExternalPath()
           
 String getDownloadReleasePath()
           
 String getDownloadSnapshotPath()
           
 String getLatestToken()
           
 String getOrganizationGroupId()
           
 List<String> getOrgPomGavs()
           
 List<org.apache.maven.project.MavenProject> getOrgPoms()
           
 org.apache.maven.project.MavenProject getProject()
           
 String getPublicBase()
           
 String getPublishBase()
           
 String getSnapshotSnippet()
           
protected  void handleDownloadUrl(String downloadUrl, org.apache.maven.model.DistributionManagement dm)
           
protected  void handlePublicUrl(String publicUrl, org.apache.maven.project.MavenProject project)
           
protected  void handlePublishUrl(String publishUrl, org.apache.maven.model.Site site)
           
 boolean isLatest()
           
 void setDownloadBase(String downloadBase)
           
 void setDownloadExternalPath(String downloadExternalPath)
           
 void setDownloadReleasePath(String downloadReleasePath)
           
 void setDownloadSnapshotPath(String downloadSnapshotPath)
           
 void setLatest(boolean latest)
           
 void setLatestToken(String latestToken)
           
 void setOrganizationGroupId(String parentGroupId)
           
 void setOrgPomGavs(List<String> orgPomGavs)
           
 void setProject(org.apache.maven.project.MavenProject project)
           
 void setPublicBase(String publicBase)
           
 void setPublishBase(String publishBase)
           
 void setSnapshotSnippet(String snapshotSnippet)
           
protected  void warn(String pomString, String calculatedString, String propertyDescription)
           
 
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

KualiSiteMojo

public KualiSiteMojo()
Method Detail

getOrgPoms

public List<org.apache.maven.project.MavenProject> getOrgPoms()
Specified by:
getOrgPoms in interface org.kuali.maven.common.SiteContext

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

warn

protected void warn(String pomString,
                    String calculatedString,
                    String propertyDescription)

handleDownloadUrl

protected void handleDownloadUrl(String downloadUrl,
                                 org.apache.maven.model.DistributionManagement dm)

handlePublishUrl

protected void handlePublishUrl(String publishUrl,
                                org.apache.maven.model.Site site)

handlePublicUrl

protected void handlePublicUrl(String publicUrl,
                               org.apache.maven.project.MavenProject project)

getProject

public org.apache.maven.project.MavenProject getProject()
Returns:
the project

setProject

public void setProject(org.apache.maven.project.MavenProject project)
Parameters:
project - the project to set

getOrganizationGroupId

public String getOrganizationGroupId()
Specified by:
getOrganizationGroupId in interface org.kuali.maven.common.SiteContext
Returns:
the parentGroupId

setOrganizationGroupId

public void setOrganizationGroupId(String parentGroupId)
Parameters:
parentGroupId - the parentGroupId to set

getDownloadSnapshotPath

public String getDownloadSnapshotPath()
Specified by:
getDownloadSnapshotPath in interface org.kuali.maven.common.SiteContext

setDownloadSnapshotPath

public void setDownloadSnapshotPath(String downloadSnapshotPath)

getDownloadReleasePath

public String getDownloadReleasePath()
Specified by:
getDownloadReleasePath in interface org.kuali.maven.common.SiteContext

setDownloadReleasePath

public void setDownloadReleasePath(String downloadReleasePath)

getDownloadExternalPath

public String getDownloadExternalPath()
Specified by:
getDownloadExternalPath in interface org.kuali.maven.common.SiteContext

setDownloadExternalPath

public void setDownloadExternalPath(String downloadExternalPath)

getDownloadBase

public String getDownloadBase()
Specified by:
getDownloadBase in interface org.kuali.maven.common.SiteContext

setDownloadBase

public void setDownloadBase(String downloadBase)

getOrgPomGavs

public List<String> getOrgPomGavs()

setOrgPomGavs

public void setOrgPomGavs(List<String> orgPomGavs)

getSnapshotSnippet

public String getSnapshotSnippet()
Specified by:
getSnapshotSnippet in interface org.kuali.maven.common.SiteContext

setSnapshotSnippet

public void setSnapshotSnippet(String snapshotSnippet)

getPublishBase

public String getPublishBase()
Specified by:
getPublishBase in interface org.kuali.maven.common.SiteContext

setPublishBase

public void setPublishBase(String publishBase)

getPublicBase

public String getPublicBase()
Specified by:
getPublicBase in interface org.kuali.maven.common.SiteContext

setPublicBase

public void setPublicBase(String publicBase)

isLatest

public boolean isLatest()
Specified by:
isLatest in interface org.kuali.maven.common.SiteContext

setLatest

public void setLatest(boolean latest)

getLatestToken

public String getLatestToken()
Specified by:
getLatestToken in interface org.kuali.maven.common.SiteContext

setLatestToken

public void setLatestToken(String latestToken)


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