diff --git a/README.md b/README.md index 651eab2c..f2a32ed1 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,16 @@ npx projen yarn install ``` -This will generate an entire repository ready to be published, including Github Workflows for publishing NPM and Pypi packages. The only thing which is needed to be set manually are the tokens for these registries: +This will generate an entire repository ready to be published, including Github Workflows for publishing NPM, Pypi and maven packages. The only thing which is needed to be set manually are the tokens for these registries: - `NPM_TOKEN` - `TWINE_PASSWORD` - `TWINE_USERNAME` +- `MAVEN_GPG_PRIVATE_KEY` +- `MAVEN_GPG_PRIVATE_KEY_PASSPHRASE` +- `MAVEN_PASSWORD` +- `MAVEN_USERNAME` +- `MAVEN_STAGING_PROFILE_ID` ### Updating an existing Provider diff --git a/src/index.ts b/src/index.ts index 3d001531..192dfed5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -65,9 +65,14 @@ export class CdktfProviderProject extends JsiiProject { dotNetNamespace: nugetName, packageId: nugetName, }, + java: { + javaPackage: `${namespace}.cdktf.provider.${providerName}`, + mavenGroupId: `${namespace}`, + mavenArtifactId: `cdktf-provider-${providerName}`, + }, peerDependencyOptions: { pinnedDevDependency: false, - }, + } }); new CdktfConfig(this, { terraformProvider, providerName, providerVersion, cdktfVersion, constructsVersion });