From 42eb546d95664b772940edfd6ed18dc7227b7efd Mon Sep 17 00:00:00 2001 From: KKcorps Date: Tue, 30 Apr 2024 09:37:35 +0530 Subject: [PATCH 1/2] Add token based signing support to pom --- pom.xml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index b79647b..2ec1c18 100644 --- a/pom.xml +++ b/pom.xml @@ -19,12 +19,6 @@ 1.0 pom - - - - - - startree-tableau-connector StarTree Tableau Connector ai.startree.pinot @@ -37,6 +31,10 @@ alias storepass + http://timestamp.globalsign.com/tsa/r6advanced1 + PKCS11 + sun.security.pkcs11.SunPKCS11 + eToken.cfg @@ -81,10 +79,11 @@ - ${taco.signing.keystore} + ${taco.signing.tsa} + ${taco.signing.storetype} + ${taco.signing.providerclass} + ${taco.signing.providerarg} ${taco.signing.alias} - ${taco.signing.storepass} - ${taco.signing.keypass} From 6bc0c295f86bb8a97bb21cc9fb26fc993a8fbe94 Mon Sep 17 00:00:00 2001 From: KKcorps Date: Tue, 30 Apr 2024 20:46:48 +0530 Subject: [PATCH 2/2] fix jar name --- .github/workflows/main.yml | 4 ++-- pom.xml | 37 +++++++++++++++++++++++++++++-------- taco-assembly.xml | 6 +++++- 3 files changed, 36 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bd855e5..283bda0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -74,6 +74,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./ai.startree.pinot-1.0.taco - asset_name: ai.startree.pinot-1.0.taco + asset_path: ./ai.startree.pinot-startree-tableau-connector-1.0.taco + asset_name: ai.startree.pinot-startree-tableau-connector-1.0.taco asset_content_type: application/octet-stream diff --git a/pom.xml b/pom.xml index 2ec1c18..7ddf724 100644 --- a/pom.xml +++ b/pom.xml @@ -26,14 +26,14 @@ ${basedir} - ${project.groupId}-${project.version} + ${project.groupId}-${project.artifactId}-${project.version} taco.jks alias storepass http://timestamp.globalsign.com/tsa/r6advanced1 PKCS11 - sun.security.pkcs11.SunPKCS11 + sun.security.pkcs11.SunPKCS11 eToken.cfg @@ -64,7 +64,7 @@ - + @@ -72,7 +72,7 @@ sign - package + install sign @@ -87,6 +87,29 @@ + + maven-shade-plugin + 3.2.1 + + + + shade + + + ${connector.assembly.name} + false + + + *:* + + META-INF/* + + + + + + + maven-antrun-plugin 3.1.0 @@ -98,7 +121,8 @@ - + @@ -113,9 +137,6 @@
${pinot.root}/HEADER
- - - **/*.txt diff --git a/taco-assembly.xml b/taco-assembly.xml index df8a63b..78e2f8d 100644 --- a/taco-assembly.xml +++ b/taco-assembly.xml @@ -27,6 +27,10 @@ **/* - + + META-INF/TE* + static/** + +