org.kuali.maven.plugin.ksite.mojo
Class KualiSiteMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
KualiSiteMojo
public KualiSiteMojo()
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.