|
2 | 2 |
|
3 | 3 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | | - <parent> |
6 | | - <groupId>examples.azure.appservice</groupId> |
7 | | - <artifactId>project</artifactId> |
8 | | - <version>1-SNAPSHOT</version> |
9 | | - </parent> |
| 5 | + <groupId>examples.azure.appservice</groupId> |
10 | 6 | <artifactId>appservice-tomcat-helloworld</artifactId> |
| 7 | + <version>1-SNAPSHOT</version> |
11 | 8 | <packaging>war</packaging> |
12 | | - <name>Azure App Service :: Deploy a web application on a managed Tomcat</name> |
| 9 | + <name>Deploy a web application on a managed Tomcat</name> |
13 | 10 | <build> |
14 | 11 | <plugins> |
15 | 12 | <plugin> |
16 | 13 | <groupId>com.microsoft.azure</groupId> |
17 | 14 | <artifactId>azure-webapp-maven-plugin</artifactId> |
| 15 | + <version>2.12.0</version> |
18 | 16 | <configuration> |
19 | 17 | <schemaVersion>v2</schemaVersion> |
20 | 18 | <appName>${appName}</appName> |
21 | 19 | <appServicePlanName>${appServicePlan}</appServicePlanName> |
22 | 20 | <runtime> |
23 | 21 | <os>linux</os> |
24 | | - <javaVersion>${java.version}</javaVersion> |
25 | | - <webContainer>${webContainer}</webContainer> |
| 22 | + <javaVersion>Java 17</javaVersion> |
| 23 | + <webContainer>Tomcat 10.0</webContainer> |
26 | 24 | </runtime> |
27 | 25 | <deployment> |
28 | 26 | <resources> |
|
36 | 34 | </deployment> |
37 | 35 | </configuration> |
38 | 36 | </plugin> |
| 37 | + <plugin> |
| 38 | + <groupId>org.apache.maven.plugins</groupId> |
| 39 | + <artifactId>maven-war-plugin</artifactId> |
| 40 | + <version>3.4.0</version> |
| 41 | + <configuration> |
| 42 | + <failOnMissingWebXml>false</failOnMissingWebXml> |
| 43 | + </configuration> |
| 44 | + </plugin> |
39 | 45 | </plugins> |
40 | 46 | </build> |
41 | | - <dependencies> |
42 | | - <dependency> |
43 | | - <groupId>javax</groupId> |
44 | | - <artifactId>javaee-web-api</artifactId> |
45 | | - <scope>provided</scope> |
46 | | - </dependency> |
47 | | - </dependencies> |
48 | 47 | <properties> |
49 | | - <appName>appservice-tomcat-helloworld-${example.postfix}</appName> |
50 | | - <appServicePlan>appservice-plan</appServicePlan> |
51 | | - <webContainer>tomcat 8.5</webContainer> |
| 48 | + <appName>helloworld</appName> |
| 49 | + <appServicePlan>jaozasp</appServicePlan> |
52 | 50 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
53 | 51 | </properties> |
54 | 52 | </project> |
0 commit comments