com.liferay.maven.plugins
Class ExtBuilderMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.liferay.maven.plugins.AbstractLiferayMojo
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
| 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 |
ExtBuilderMojo
public ExtBuilderMojo()
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.