Class CreateTokenMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.liferay.portal.tools.bundle.support.maven.CreateTokenMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="create-token",
requiresDirectInvocation=true)
public class CreateTokenMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected booleanprotected Stringprotected Fileprotected Fileprotected URLFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
emailAddress
-
force
@Parameter protected boolean force -
password
-
passwordFile
-
tokenFile
-
tokenUrl
@Parameter(defaultValue="https://web.liferay.com/token-auth-portlet/api/secure/jsonws/tokenauthentry/add-token-auth-entry") protected URL tokenUrl
-
-
Constructor Details
-
CreateTokenMojo
public CreateTokenMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-