From 2a7c53e5d503eefc42e7927e58430f8d24fe5b48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Wed, 27 May 2020 17:47:18 +0200 Subject: [PATCH] feat: publish shaded jar on maven central (#83) * feat: publish shaded jar on maven central * fix: fix dependency problems --- pom.xml | 137 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 68 insertions(+), 69 deletions(-) diff --git a/pom.xml b/pom.xml index 262795ea..d833ecd3 100644 --- a/pom.xml +++ b/pom.xml @@ -144,13 +144,21 @@ com.google.auth google-auth-library-oauth2-http + + com.google.auth + google-auth-library-credentials + com.google.cloud google-cloud-core - com.google.auth - google-auth-library-credentials + com.google.api.grpc + proto-google-cloud-spanner-v1 + + + com.google.api.grpc + grpc-google-cloud-spanner-v1 @@ -243,6 +251,64 @@ + + org.apache.maven.plugins + maven-shade-plugin + 3.2.1 + + + + shade + + + true + true + true + single-jar-with-dependencies + false + + + *:* + + + java:* + junit:* + + + + + + META-INF/services + java.sql.Driver + + + com.google.cloud.spanner.jdbc + ClientSideStatements.json + + + com.google.cloud.spanner.jdbc + *.sql + + + + META-INF/SIGNINGC.RSA + META-INF/SIGNINGC.SF + META-INF/DEPENDENCIES + META-INF/LICENSE + META-INF/LICENSE.txt + META-INF/NOTICE + META-INF/NOTICE.txt + + + + + + + @@ -296,73 +362,6 @@ - - - build-jdbc-driver - - - - org.apache.maven.plugins - maven-shade-plugin - 3.2.3 - - - - shade - - - true - true - false - false - - - *:* - - - java:* - junit:* - - - - - - META-INF/services - java.sql.Driver - - - com.google.cloud.spanner.jdbc - ClientSideStatements.json - - - com.google.cloud.spanner.jdbc - *.sql - - - - META-INF/SIGNINGC.RSA - META-INF/SIGNINGC.SF - META-INF/DEPENDENCIES - META-INF/LICENSE - META-INF/LICENSE.txt - META-INF/NOTICE - META-INF/NOTICE.txt - - - - - - - - - -