From 1b63401d991d31950f434f72f10041ac5afcf688 Mon Sep 17 00:00:00 2001 From: samathaamz <78623541+samathaamz@users.noreply.github.com> Date: Mon, 26 Apr 2021 15:01:48 -0700 Subject: [PATCH] fixed MANIFEST.MF fields (#29) --- build.gradle.kts | 6 +++--- pgjdbc/build.gradle.kts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index a560439f..a2239393 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -504,7 +504,7 @@ allprojects { configureEach { manifest { attributes["Bundle-License"] = "BSD-2-Clause" - attributes["Implementation-Title"] = "PostgreSQL JDBC Driver" + attributes["Implementation-Title"] = "Amazon Web Services (AWS) JDBC Driver for PostgreSQL" attributes["Implementation-Version"] = project.version val jdbcSpec = props.string("jdbc.specification.version") if (jdbcSpec.isNotBlank()) { @@ -512,8 +512,8 @@ allprojects { attributes["Specification-Version"] = jdbcSpec attributes["Specification-Title"] = "JDBC" } - attributes["Implementation-Vendor"] = "PostgreSQL Global Development Group" - attributes["Implementation-Vendor-Id"] = "org.postgresql" + attributes["Implementation-Vendor"] = "Amazon Web Services (AWS)" + attributes["Implementation-Vendor-Id"] = "software.aws.rds" } } diff --git a/pgjdbc/build.gradle.kts b/pgjdbc/build.gradle.kts index 253b61a9..b2a84077 100644 --- a/pgjdbc/build.gradle.kts +++ b/pgjdbc/build.gradle.kts @@ -172,7 +172,7 @@ val shadedLicenseFiles = licensesCopySpec(renderShadedLicense) tasks.configureEach { archiveBaseName.set("aws-postgresql-jdbc") manifest { - attributes["Main-Class"] = "org.postgresql.util.PGJDBCMain" + attributes["Main-Class"] = "software.aws.rds.jdbc.postgresql.shading.org.postgresql.util.PGJDBCMain" attributes["Automatic-Module-Name"] = "org.postgresql.jdbc" } }