| author | karlerickson |
|---|---|
| ms.author | v-shilichen |
| ms.service | azure-spring-apps |
| ms.topic | include |
| ms.date | 08/19/2025 |
| ms.update-cycle | 1095-days |
Use the following steps to deploy using the Maven plugin for Azure Spring Apps:
-
Navigate to the project root directory and then run the following command to configure the apps in Azure Spring Apps:
./mvnw -P spring-apps-enterprise com.microsoft.azure:azure-spring-apps-maven-plugin:1.19.0:config
The following list describes the command interactions:
- Select child modules to configure: Press Enter to select all.
- Select subscription: Select the subscription list number of the Azure Spring Apps instance you created, which defaults to the first subscription in the list. If you use the default number, press Enter directly.
- Use existing Azure Spring Apps in Azure: Press y to use the existing Azure Spring Apps instance.
- Select apps to expose public access: Press Enter to select none.
- Confirm to save all the above configurations: Press y. If you press n, the configuration isn't saved in the POM files.