Skip to content

Commit

Permalink
feat: improve java artifactID (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
scraly authored Sep 5, 2024
1 parent 965760f commit 7572d35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TFGEN := pulumi-tfgen-${PACK}
PROVIDER := pulumi-resource-${PACK}
VERSION := $(shell pulumictl get version)
JAVA_GROUP_ID := com.ovhcloud.pulumi.ovh
JAVA_ARTIFACT_ID := ${ORG}
JAVA_ARTIFACT_ID := pulumi-ovh

PLATFORM := linux-amd64

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The OVH Resource Provider lets you manage [OVHcloud](https://www.ovhcloud.com/en
[![NPM version](https://badge.fury.io/js/@ovhcloud%2Fpulumi-ovh.svg)](https://badge.fury.io/js/@ovhcloud%2Fpulumi-ovh)
[![PyPI version](https://badge.fury.io/py/pulumi-ovh.svg)](https://badge.fury.io/py/pulumi-ovh)
[![NuGet version](https://badge.fury.io/nu/Pulumi.Ovh.svg)](https://badge.fury.io/nu/Pulumi.Ovh)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.ovhcloud.pulumi.ovh/ovh/badge.svg)](https://s01.oss.sonatype.org/#nexus-search;quick~com.ovhcloud.pulumi.ovh)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.ovhcloud.pulumi.ovh/pulumi-ovh/badge.svg)](https://s01.oss.sonatype.org/#nexus-search;quick~com.ovhcloud.pulumi.ovh)
<a href="https://gitpod.io/#https://github.com/ovh/pulumi-ovh"><img src="https://img.shields.io/badge/Contribute%20with-Gitpod-908a85?logo=gitpod" alt="Contribute with Gitpod"/></a>

## Usage
Expand Down Expand Up @@ -59,8 +59,8 @@ To use from Java, add the dependency below to your `pom.xml` file:
```bash
<dependency>
<groupId>com.ovhcloud.pulumi.ovh</groupId>
<artifactId>ovh</artifactId>
<version>[0.48.8,)</version>
<artifactId>pulumi-ovh</artifactId>
<version>[0.48.9,)</version>
</dependency>
```
Expand Down
4 changes: 2 additions & 2 deletions sdk/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def genPulumiResources = tasks.register('genPulumiResources') {
new File(outDir, "version.txt").text = resolvedVersion
def info = new Object()
info.metaClass.resource = true
info.metaClass.name = "ovh"
info.metaClass.name = "pulumi-ovh"
info.metaClass.server = "github://api.github.com/ovh/pulumi-ovh"
info.metaClass.version = resolvedVersion
def infoJson = new groovy.json.JsonBuilder(info).toPrettyString()
Expand All @@ -83,7 +83,7 @@ publishing {
publications {
mainPublication(MavenPublication) {
groupId = "com.ovhcloud.pulumi.ovh"
artifactId = "ovh"
artifactId = "pulumi-ovh"
version = resolvedVersion
from components.java
artifact sourcesJar
Expand Down

0 comments on commit 7572d35

Please sign in to comment.