com.liferay.maven.plugins
Class ThemeMergeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.liferay.maven.plugins.AbstractLiferayMojo
com.liferay.maven.plugins.ThemeMergeMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class ThemeMergeMojo
- extends AbstractLiferayMojo
- Author:
- Mika Koivisto
| Fields inherited from class com.liferay.maven.plugins.AbstractLiferayMojo |
appServerClassesPortalDir, appServerLibGlobalDir, appServerLibPortalDir, appServerPortalDir, appServerTldPortalDir, archiverManager, artifactFactory, artifactResolver, initialized, liferayVersion, localArtifactRepository, pluginType, PORTAL_VERSION_6_1, PORTAL_VERSION_6_2, project, projectBuilder, remoteArtifactRepositories, workDir |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class com.liferay.maven.plugins.AbstractLiferayMojo |
addDependencyToClassPath, copyLibraryDependencies, copyLibraryDependencies, createDependency, execute, executeTool, getPortalMajorVersion, getProjectClassLoader, getProjectClassPath, getToolsClassLoader, getToolsClassPath, initPortalProperties, isLiferayProject, resolveArtifact, resolveArtifactFileURI, resolveProject, toClassLoader |
| 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 |
ThemeMergeMojo
public ThemeMergeMojo()
cleanUpTemplates
protected void cleanUpTemplates(File templatesDir)
doExecute
protected void doExecute()
throws Exception
- Specified by:
doExecute in class AbstractLiferayMojo
- Throws:
Exception
mergePortalTheme
protected void mergePortalTheme(Theme targetTheme)
throws Exception
- Throws:
Exception
mergeTheme
protected void mergeTheme(File sourceDir,
Theme sourceTheme,
Theme targetTheme)
throws Exception
- Throws:
Exception
mergeTheme
protected void mergeTheme(Theme sourceTheme,
Theme targetTheme)
throws Exception
- Throws:
Exception
readTheme
protected Theme readTheme(org.dom4j.Element themeElement)
readTheme
protected Theme readTheme(String themeId,
File liferayLookAndFeelXml)
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.