
azure.eap.eap-to-azure-appservice-pom.windup.xml Maven / Gradle / Ivy
The newest version!
Show how to deploy an application to JBoss on App Service
Azure
# Customize these variables
$resourceGroup=jboss-rg
$location=eastus
$appName=jboss-app
$appServicePlan=jboss-asp
az group create --resource-group $resourceGroup --location $location
az appservice plan create --resource-group $resourceGroup --name $appServicePlan --is-linux --sku P1V3
az webapp create --resource-group $resourceGroup --name $appName --plan $appServicePlan --runtime "JBOSSEAP|7.3-java8"
# Build your app with:
mvn package
# Run one of the following commands depending on the artifact type
# To deploy WAR files:
az webapp deploy --resource-group $resourceGroup --plan $appServicePlan --name $appName --type war --src-path app.war
# To deploy EAR files:
az webapp deploy --resource-group $resourceGroup --plan $appServicePlan --name $appName --type ear --src-path app.ear
]]>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy