Skip to content

Unable to deploy to Tomcat 10.0 using azure-webapp-maven-plugin 2.12.0 #2392

@mores

Description

@mores

Plugin name and version

azure-webapp-maven-plugin
2.12.0

Plugin configuration in your pom.xml

<plugin>
                                <groupId>com.microsoft.azure</groupId>
                                <artifactId>azure-webapp-maven-plugin</artifactId>
                                <version>2.12.0</version>
                                <configuration>
                                        <appName>alerts</appName>
                                        <region>eastus</region>
                                        <resourceGroup>alerts</resourceGroup>
                                        <runtime>
                                                <os>Linux</os>
                                                <javaVersion>Java 11</javaVersion>
                                                <webContainer>Tomcat 10.0</webContainer>
                                        </runtime>
                                        <deployment>
                                                <resources>
                                                        <resource>
                                                                <directory>${project.basedir}/target</directory>
                                                                <includes>
                                                                        <include>*.war</include>
                                                                </includes>
                                                        </resource>
                                                </resources>
                                        </deployment>
                                </configuration>
                        </plugin>

Expected behavior

Tomcat 10 is running on Java 11

Actual behavior

Tomcat 8.5.85 is running on Java 8
image

Steps to reproduce the problem

mvn clean package azure-webapp:deploy

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions