Skip to content

Commit 0b38012

Browse files
Merge pull request #241449 from silenceJialuo/pom-file-update
Add more descriptions and updates for POM File
2 parents a034133 + f3885ad commit 0b38012

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

articles/app-service/includes/quickstart-java/quickstart-java-linux-maven-pivot.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,27 @@ mvn com.microsoft.azure:azure-webapp-maven-plugin:2.11.0:config
231231
232232
---
233233
234+
After you've confirmed your choices, the plugin adds the above plugin element and requisite settings to your project's `pom.xml` file that configure your web app to run in Azure App Service.
235+
236+
The relevant portion of the `pom.xml` file should look similar to the following example.
237+
238+
```xml-interactive
239+
<build>
240+
<plugins>
241+
<plugin>
242+
<groupId>com.microsoft.azure</groupId>
243+
<artifactId>>azure-webapp-maven-plugin</artifactId>
244+
<version>x.xx.x</version>
245+
<configuration>
246+
<schemaVersion>v2</schemaVersion>
247+
<resourceGroup>your-resourcegroup-name</resourceGroup>
248+
<appName>your-app-name</appName>
249+
...
250+
</configuration>
251+
</plugin>
252+
</plugins>
253+
</build>
254+
```
234255

235256
You can modify the configurations for App Service directly in your `pom.xml`. Some common configurations are listed below:
236257

articles/app-service/includes/quickstart-java/quickstart-java-windows-maven-pivot.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,28 @@ JBoss EAP is only available on the Linux version of App Service. Select the **Li
156156
157157
---
158158
159+
After you've confirmed your choices, the plugin adds the above plugin element and requisite settings to your project's `pom.xml` file that configure your web app to run in Azure App Service.
160+
161+
The relevant portion of the `pom.xml` file should look similar to the following example.
162+
163+
```xml-interactive
164+
<build>
165+
<plugins>
166+
<plugin>
167+
<groupId>com.microsoft.azure</groupId>
168+
<artifactId>>azure-webapp-maven-plugin</artifactId>
169+
<version>x.xx.x</version>
170+
<configuration>
171+
<schemaVersion>v2</schemaVersion>
172+
<resourceGroup>your-resourcegroup-name</resourceGroup>
173+
<appName>your-app-name</appName>
174+
...
175+
</configuration>
176+
</plugin>
177+
</plugins>
178+
</build>
179+
```
180+
159181
You can modify the configurations for App Service directly in your `pom.xml`. Some common configurations are listed below:
160182

161183
Property | Required | Description | Version

0 commit comments

Comments
 (0)