Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mores opened this issue Nov 6, 2023 · 1 comment
Open

Comments

@mores
Copy link

mores commented Nov 6, 2023

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

@Flanker32
Copy link
Member

@mores Thanks a lot for your report and sorry for the late response. It seems that there are some updates in app service runtime stack. We will fix this issue soon, and will update here once we got any updates.

As a workaround, you may set the runtime in portal manually. Here is the screenshot
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants