Closed selvasingh closed 6 years ago
This issue can be addressed by using the zipDeploy, which is supported after web app plugin 1.4.0
Here is a sample plugin configuration:
<plugin>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-webapp-maven-plugin</artifactId>
<version>1.4.0</version>
<configuration>
<resourceGroup>${azure.resource.group}</resourceGroup>
<appName>${azure.app.name}</appName>
<linuxRuntime>jre8</linuxRuntime>
</configuration>
</plugin>
Plugin name and version
Plugin configuration in your
pom.xml
See below
Expected behavior
Redeploy should succeed
Actual behavior
Redeploy fails
Steps to reproduce the problem
Start with
bash-3.2$ git clone https://github.com/spring-projects/spring-petclinic.git
Add Maven plugin for Azure Web Apps to the Spring PetClinic POM file and set server port to 80.
Then, deploy
Then try to redeploy ...