Applying a license to your application


When you create an application, you can make your application licensable, which protects your IP and ensures that only licensed users can use the application.

Important

After you license your application, you cannot revoke the license for that application. 

Licensing a BMC or partner application for unlimited users

When licensing an application, you can set the -DenforceEndUserLicenses parameter in the Maven command to one of the following values:

  • True: Individual end-user licenses are enforced.
  • False: Individual end-user licenses are not enforced
    You can assign the application license to unlimited users.

The default value of the -DenforceEndUserLicenses parameter is True.

Before you begin

Make sure that you have created and customized the application. For more information, see Setting-up-the-environment-to-develop-a-code-based-application.

To license an application

  1. Navigate to the <artifactId> directory that is the parent folder. 
  2. Run the following command:

    mvn com.bmc.arsys:rx-sdk-maven-plugin:license -N -DappAuthorType=Number -DenforceEndUserLicenses=true/false

    Specify one of the following values for application AuthorType (-DappAuthorType) and end-user licenses (-DenforceEndUserLicenses) parameters: 

    Application type

    Value for -DappAuthorType

    Value for -DenforceEndUserLicenses

    BMC application

    1

    • True: If you want the administrator to assign individual licenses to the users. This setting means that end-user licenses are enforced for the application.
    • False:  If you do not want the administrator to assign individual licenses to the users. This setting means that end-user licenses are not enforced for the application.

    Partner application

    2

    Custom application

    3

    Not applicable. The combination of the -DappAuthorType 3 and -DenforceEndUserLicenses false is invalid for custom applications.

Where to go from here

Deploying-the-custom-code-based-applications-to-development-environments

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*