com.liferay.maven.plugins
Class ThemeMergeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.liferay.maven.plugins.AbstractLiferayMojo
          extended by 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

Field Summary
 
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
 
Constructor Summary
ThemeMergeMojo()
           
 
Method Summary
protected  void cleanUpTemplates(File templatesDir)
           
protected  void doExecute()
           
protected  void mergePortalTheme(Theme targetTheme)
           
protected  void mergeTheme(File sourceDir, Theme sourceTheme, Theme targetTheme)
           
protected  void mergeTheme(Theme sourceTheme, Theme targetTheme)
           
protected  Theme readTheme(org.dom4j.Element themeElement)
           
protected  Theme readTheme(String themeId, File liferayLookAndFeelXml)
           
 
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
 

Constructor Detail

ThemeMergeMojo

public ThemeMergeMojo()
Method Detail

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.