Class CleanServiceBuilderMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.liferay.portal.tools.db.support.maven.CleanServiceBuilderMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
public class CleanServiceBuilderMojo
extends org.apache.maven.plugin.AbstractMojo
Clean the Liferay database from the Service Builder tables and rows of a
module.
- Goal:
- clean-service-builder
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()voidsetPassword(String password) The user password for connecting to the Liferay database.voidsetPropertiesFile(File propertiesFile) The portal-ext.properties file which contains the JDBC settings for connecting to the Liferay database.voidsetServiceXmlFile(File serviceXmlFile) The service.xml file.voidsetServletContextName(String servletContextName) The servlet context name (usually the value of the \"Bundle-Symbolic-Name\" manifest header) of the module.voidThe JDBC URL for connecting to the Liferay database.voidsetUserName(String userName) The user name for connecting to the Liferay database.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
CleanServiceBuilderMojo
public CleanServiceBuilderMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
setPassword
The user password for connecting to the Liferay database.- Parameter:
-
setPropertiesFile
The portal-ext.properties file which contains the JDBC settings for connecting to the Liferay database.- Throws:
IOException- Parameter:
-
setServiceXmlFile
The service.xml file.- Parameter:
- default-value="${project.basedir}/service.xml"
- Required:
-
setServletContextName
The servlet context name (usually the value of the \"Bundle-Symbolic-Name\" manifest header) of the module.- Parameter:
- default-value="${project.artifactId}"
- Required:
-
setUrl
The JDBC URL for connecting to the Liferay database.- Parameter:
-
setUserName
The user name for connecting to the Liferay database.- Parameter:
-