Skip to content

Commit

Permalink
fix for #7
Browse files Browse the repository at this point in the history
  • Loading branch information
ssvaidyanathan committed Nov 19, 2024
1 parent b1e5617 commit 57a9d7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<groupId>com.apigee.apihub.config</groupId>
<artifactId>apigee-apihub-maven-plugin</artifactId>
<version>1.1.3-SNAPSHOT</version>
<version>1.2.0-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
<name>apigee-apihub-maven-plugin</name>
<description>Plugin to manage operations in the Apigee API Hub</description>
Expand Down
2 changes: 1 addition & 1 deletion samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<plugin>
<groupId>com.apigee.apihub.config</groupId>
<artifactId>apigee-apihub-maven-plugin</artifactId>
<version>1.1.2</version>
<version>1.2.0</version>
<executions>
<execution>
<id>apigee-apihub-attributes</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ public void processDeployments(List<String> deployments) throws MojoExecutionExc
return;
}
for (String deployment : deployments) {
deployment = PluginUtils.replacer(deployment, PluginConstants.PATTERN, format("projects/%s/locations/%s", buildProfile.getProjectId(), buildProfile.getLocation()));
String deploymentName = getDeploymentName(deployment);
if (deploymentName == null) {
throw new IllegalArgumentException("Deployment does not have a name");
Expand Down

0 comments on commit 57a9d7f

Please sign in to comment.