com.liferay.maven.plugins
Class ExtBuilderMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.liferay.maven.plugins.AbstractLiferayMojo
          extended by com.liferay.maven.plugins.ExtBuilderMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ExtBuilderMojo
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
ExtBuilderMojo()
           
 
Method Summary
protected  void copyJarAndClasses(org.apache.maven.artifact.Artifact artifact, File jarDir, String jarName)
           
protected  void copyUtilLibrary(org.apache.maven.artifact.Artifact artifact, File utilDir, File implClassesDir, String utilJarName)
           
protected  void doExecute()
           
protected  void unpack(File srcFile, File destDir, String[] excludes, String[] includes)
           
 
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

ExtBuilderMojo

public ExtBuilderMojo()
Method Detail

copyJarAndClasses

protected void copyJarAndClasses(org.apache.maven.artifact.Artifact artifact,
                                 File jarDir,
                                 String jarName)
                          throws Exception
Throws:
Exception

copyUtilLibrary

protected void copyUtilLibrary(org.apache.maven.artifact.Artifact artifact,
                               File utilDir,
                               File implClassesDir,
                               String utilJarName)
                        throws Exception
Throws:
Exception

doExecute

protected void doExecute()
                  throws Exception
Specified by:
doExecute in class AbstractLiferayMojo
Throws:
Exception

unpack

protected void unpack(File srcFile,
                      File destDir,
                      String[] excludes,
                      String[] includes)
               throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.