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 Details

    • emailAddress

      @Parameter protected String emailAddress
    • force

      @Parameter protected boolean force
    • password

      @Parameter protected String password
    • passwordFile

      @Parameter protected File passwordFile
    • tokenFile

      @Parameter(defaultValue="${user.home}/.liferay/token") protected File 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