This example assumes you have previously completed the following examples:
mvn clean package
To deploy the example use the following Maven command line.
export APPSERVICE_JBOSS_EAP_HELLOWORLD=appservice-jboss-eap-helloworld-$RANDOM
mvn azure-webapp:deploy \
-DappName=$APPSERVICE_JBOSS_EAP_HELLOWORLD \
-DappServicePlan=$APPSERVICE_PLAN \
-DresourceGroup=$RESOURCE_GROUP
Once the command completes you will be able to see the example by using your
web browser and going to the xxxxx.azurewebsites.net
address the command
echoes.
The example supports the following properties that you can pass in as -Dname=value to the Maven command line to customize your deployment.
name | description |
---|---|
appName |
the Application Name |
appServicePlan |
the App Service plan to use |
javaVersion |
the Java version to use |
region |
the Region to use |
resourceGroup |
the Resource Group to use |
webContainer |
the Web Container to use |
Do NOT forget to remove the resources once you are done running the example.