CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 19:34:12 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"b03df5497b96b207787ccb9d48e59b2f"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=HvIr46zLoAt7v6a0sf1CASgvFr7H3R1mYV8ipy6am0fCSNYhWZhz7luCqS5z8U1exlht41KBRhHCXZXr7yvMdusid5rCLFFgZKoJpJIaIoXD1oEEEjQF3QPVf3AxEGrrDhzMMWUh4EaikrhJtf%2Fz4nEqQ1ymZauvph5c55vdO4Bc%2FD06h5ZvNznTkaB9PiJ0yl5C2OsKg4UweAR1C3neAdjOw4%2BFvtBSGUc9AkQaCxHAbhivgOPv7w%2BCAhnRfGdNnC8dlpQYfhge29SfxDv1Sg%3D%3D--5PMixtridsQSpNUx--971IOzsat7FEdY0Q29iqNg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.973112374.1753644851; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 19:34:11 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 19:34:11 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8AC0:3E3773:7CEFFC:A3AAF1:68867F33
Azure Spring Apps: Deploy · microsoft/azure-maven-plugins Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 153
Azure Spring Apps: Deploy
Jialuo Gan edited this page May 6, 2022
·
1 revision
- This goal triggers a deploy in Azure Spring Cloud. Before you execute deploy goal, you need to have the spring cluster created. This goal will create the app if the app doesn't exist(the default app name is the artifactId in pom.xml), upload the jar at target folder and update all the configuration in app and deployment. It will start the app if it is previously stopped. If the same jar is already deployed, only the configuration will be updated(it may not be implemented in version 1.0.0, but will be supported in later versions). This goal will quit until the deployment enters the final state: Succeeded or Failed. If the app is public and deployed successfully, this goal will print an endpoint of this app before exit.
Here is a sample configuration:
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-spring-apps-maven-plugin</artifactId>
<version>1.10.0</version>
<configuration>
<subscriptionId>00000000-0000-0000-0000-000000000000</subscriptionId>
<clusterName>testCluster1</clusterName>
<appName>helloworld</appName>
<isPublic>true</isPublic>>
<enablePersistentStorage>false<enablePersistentStorage>
<deployment>
<cpu>1</cpu>
<memoryInGB>4</memoryInGB>
<instanceCount>1</instanceCount>
<runtimeVersion>Java 8</runtimeVersion>
<jvmOptions>-XX:+UseG1GC -XX:+UseStringDeduplication</jvmOptions>
<environment>
<foo>bar</foo>
</environment>
<resources>
<resource>
<directory>${project.basedir}/target</directory>
<includes>
<include>*.jar</include>
</includes>
</resource>
</resources>
</deployment>
</configuration>
Note:
- if the ASC does not exist, this goal will fail with error messages.
- if you have not yet built the jar bypackage
goal, this goal will fail with error messages.
- if this jar in target folder is not executable-jar , this goal will fail with error messages.
- This goal requires you to login using any way described in Authentication Methods section, if you have no configuration in <auth> section, this goal will check if you have ever logged in with “azure:login” goal, and if not, if will then check if you have ever logged in through azure cli, if not, it will execute “azure:login” goal and then continue the deploy process.
- If executed in parent folder
- Deploy all sub-modules one by one.
- If executed in child folder
- Only deploy that project.
- Home
- Authentication
- Proxy
- Common Configurations
-
Maven Plugin for Azure Web Apps
- Quickstarts
- Goals
- Configuration Details
- Samples
-
Maven Plugin for Azure Functions
- Quickstarts
- Archetype
- Goals
- Configuration Details
-
Maven Plugin for Azure Spring Apps
- Quickstarts
- Goals
- Configuration Details
- Maven Plugin for Azure Container Apps
- Using in CI/CD
Clone this wiki locally
You can’t perform that action at this time.