-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
Plugin name and version
Plugin Name - azure-spring-apps-maven-plugin
Plugin Version - 1.19.0
Plugin configuration in your pom.xml
<profile>
<id>azure-deployment</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<id>read-props</id>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>azure-deploy.properties</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-spring-apps-maven-plugin</artifactId>
<version>1.19.0</version>
<configuration>
<authType>service_principal</authType>
<auth>
<type>service_principal</type>
<client>${azure-deploy-client-id}</client>
<key>${azure-deploy-client-secret}</key>
<tenant>${azure-deploy-tenant}</tenant>
<environment>${azure-deploy-environment}</environment>
</auth>
<subscriptionId>${azure-deploy-subscription-id}</subscriptionId>
<clusterName>${azure-deploy-cluster}</clusterName>
<appName>${azure-deploy-spring-app-name}</appName>
<sku>${azure-spring-apps-sku}</sku>
<resourceGroup>panorama</resourceGroup>
<deployment>
<runtimeVersion>Java 17</runtimeVersion>
<deploymentName>${azure-spring-app-deployment-name}</deploymentName>
</deployment>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expected behavior
The value of the variable azure-spring-app-deployment-name
would be used to create or update a deployment of the application.
Actual behavior
The Spring application is deployed to the default
deployment regardless of the value in the <deploymentName>
tag.
Steps to reproduce the problem
Create a Spring App with a default deployment. Configure the deployment name to be something other than default (like demo, stage, dev, etc.).
Metadata
Metadata
Assignees
Labels
No labels