azure-maven-plugins
azure-maven-plugins copied to clipboard
Deploy external resources to Azure outside wwwroot will show timeout error on Azure Win VM.
Plugin name and version
Maven plugin for azure webapps
1.9.1
Plugin configuration in your pom.xml
<plugin>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-webapp-maven-plugin</artifactId>
<version>1.9.1</version>
<configuration>
<authType>auto</authType>
<subscriptionId>xxxxxxxxxxxxxxxxxxx</subscriptionId>
<schemaVersion>V2</schemaVersion>
<resourceGroup>your-resource-group</resourceGroup>
<appName>web-20201</appName>
<pricingTier>P1v2</pricingTier>
<region>eastus</region>
<runtime>
<os>linux</os>
<javaVersion>jre8</javaVersion>
<webContainer>Tomcat 8.5</webContainer>
</runtime>
<deployment>
<resources>
<resource>
<directory>${project.basedir}/target</directory>
<includes>
<include>*.war</include>
</includes>
</resource>
<resource>
<directory>${project.basedir}</directory>
<targetPath>/apache-tomcat-8.5.42/conf</targetPath>
<includes>
<include>server.xml</include>
</includes>
</resource>
</resources>
</deployment>
</configuration>
</plugin>
Expected behavior
Deploy successfully
Actual behavior
Steps to reproduce the problem
- Config your pom.xml like above.
- mvn clean package
- mvn azure-webapp:deploy
Note:
It only occors on Azure Windows VM
it's not reproduceable on Azure VM (Windows 11)