com.liferay.maven.plugins
Class ServiceBuilderMojo

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

public class ServiceBuilderMojo
extends AbstractLiferayMojo

Builds Liferay Service Builder services.

Author:
Mika Koivisto, Thiago Moreira

Field Summary
 
Fields inherited from class com.liferay.maven.plugins.AbstractLiferayMojo
appServerClassesPortalDir, appServerLibGlobalDir, appServerLibPortalDir, appServerPortalDir, appServerTldPortalDir, archiverManager, artifactFactory, artifactResolver, initialized, liferayVersion, localArtifactRepository, PORTAL_VERSION_6_1, PORTAL_VERSION_6_2, project, projectBuilder, remoteArtifactRepositories, workDir
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ServiceBuilderMojo()
           
 
Method Summary
protected  void copyServicePropertiesFile()
           
protected  void doExecute()
           
protected  List<String> getProjectClassPath()
           
protected  void initPortalProperties()
           
protected  void initProperties()
           
protected  void invokeDependencyBuild()
          Deprecated. As of 6.1.0
protected  void moveServicePropertiesFile()
           
 
Methods inherited from class com.liferay.maven.plugins.AbstractLiferayMojo
addDependencyToClassPath, copyLibraryDependencies, copyLibraryDependencies, createDependency, execute, executeTool, getPortalMajorVersion, getProjectClassLoader, getToolsClassLoader, getToolsClassPath, 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

ServiceBuilderMojo

public ServiceBuilderMojo()
Method Detail

copyServicePropertiesFile

protected void copyServicePropertiesFile()
                                  throws Exception
Throws:
Exception

doExecute

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

getProjectClassPath

protected List<String> getProjectClassPath()
                                    throws Exception
Overrides:
getProjectClassPath in class AbstractLiferayMojo
Throws:
Exception

initPortalProperties

protected void initPortalProperties()
                             throws Exception
Overrides:
initPortalProperties in class AbstractLiferayMojo
Throws:
Exception

initProperties

protected void initProperties()
                       throws Exception
Throws:
Exception

invokeDependencyBuild

protected void invokeDependencyBuild()
                              throws Exception
Deprecated. As of 6.1.0

Throws:
Exception

moveServicePropertiesFile

protected void moveServicePropertiesFile()
                                  throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.