From deac85c678b4db7b2e37312d082afd3a093f25a0 Mon Sep 17 00:00:00 2001 From: ZackYoung Date: Thu, 28 Nov 2024 16:05:39 +0800 Subject: [PATCH] optimize_app_package_size --- dinky-app/dinky-app-1.15/pom.xml | 52 ++++++++++++++++++++++++-------- dinky-app/dinky-app-1.16/pom.xml | 52 ++++++++++++++++++++++++-------- dinky-app/dinky-app-1.17/pom.xml | 52 ++++++++++++++++++++++++-------- dinky-app/dinky-app-1.18/pom.xml | 52 ++++++++++++++++++++++++-------- dinky-app/dinky-app-1.19/pom.xml | 52 ++++++++++++++++++++++++-------- dinky-app/dinky-app-1.20/pom.xml | 36 +++------------------- 6 files changed, 200 insertions(+), 96 deletions(-) diff --git a/dinky-app/dinky-app-1.15/pom.xml b/dinky-app/dinky-app-1.15/pom.xml index 0b3c9ee27d..948bc7e8b2 100644 --- a/dinky-app/dinky-app-1.15/pom.xml +++ b/dinky-app/dinky-app-1.15/pom.xml @@ -63,25 +63,51 @@ org.apache.maven.plugins - maven-assembly-plugin - ${maven-assembly-plugin.version} + maven-shade-plugin - - jar-with-dependencies - - - - - org.dinky.app.MainApp - - + ${project.build.finalName}-jar-with-dependencies ${project.parent.parent.basedir}/build/extends + true + false + + + org.dinky:* + + org/dinky/** + META-INF/** + + + + *:* + + tpch/** + tpcds/** + support/** + springfox/** + org/slf4j/** + org/springframework/** + javax/** + javassist/** + Class50/** + lombok/** + freemarker/** + com.sun/** + META-INF/resources/** + + + + + + + + org.dinky.app.MainApp + + - make-assembly - single + shade package diff --git a/dinky-app/dinky-app-1.16/pom.xml b/dinky-app/dinky-app-1.16/pom.xml index 7c5a83c133..6be6856c88 100644 --- a/dinky-app/dinky-app-1.16/pom.xml +++ b/dinky-app/dinky-app-1.16/pom.xml @@ -47,25 +47,51 @@ org.apache.maven.plugins - maven-assembly-plugin - ${maven-assembly-plugin.version} + maven-shade-plugin - - jar-with-dependencies - - - - - org.dinky.app.MainApp - - + ${project.build.finalName}-jar-with-dependencies ${project.parent.parent.basedir}/build/extends + true + false + + + org.dinky:* + + org/dinky/** + META-INF/** + + + + *:* + + tpch/** + tpcds/** + support/** + springfox/** + org/slf4j/** + org/springframework/** + javax/** + javassist/** + Class50/** + lombok/** + freemarker/** + com.sun/** + META-INF/resources/** + + + + + + + + org.dinky.app.MainApp + + - make-assembly - single + shade package diff --git a/dinky-app/dinky-app-1.17/pom.xml b/dinky-app/dinky-app-1.17/pom.xml index 7d1a452df3..391ef7abb3 100644 --- a/dinky-app/dinky-app-1.17/pom.xml +++ b/dinky-app/dinky-app-1.17/pom.xml @@ -47,25 +47,51 @@ org.apache.maven.plugins - maven-assembly-plugin - ${maven-assembly-plugin.version} + maven-shade-plugin - - jar-with-dependencies - - - - - org.dinky.app.MainApp - - + ${project.build.finalName}-jar-with-dependencies ${project.parent.parent.basedir}/build/extends + true + false + + + org.dinky:* + + org/dinky/** + META-INF/** + + + + *:* + + tpch/** + tpcds/** + support/** + springfox/** + org/slf4j/** + org/springframework/** + javax/** + javassist/** + Class50/** + lombok/** + freemarker/** + com.sun/** + META-INF/resources/** + + + + + + + + org.dinky.app.MainApp + + - make-assembly - single + shade package diff --git a/dinky-app/dinky-app-1.18/pom.xml b/dinky-app/dinky-app-1.18/pom.xml index d9f6606eae..c24aa73f87 100644 --- a/dinky-app/dinky-app-1.18/pom.xml +++ b/dinky-app/dinky-app-1.18/pom.xml @@ -47,25 +47,51 @@ org.apache.maven.plugins - maven-assembly-plugin - ${maven-assembly-plugin.version} + maven-shade-plugin - - jar-with-dependencies - - - - - org.dinky.app.MainApp - - + ${project.build.finalName}-jar-with-dependencies ${project.parent.parent.basedir}/build/extends + true + false + + + org.dinky:* + + org/dinky/** + META-INF/** + + + + *:* + + tpch/** + tpcds/** + support/** + springfox/** + org/slf4j/** + org/springframework/** + javax/** + javassist/** + Class50/** + lombok/** + freemarker/** + com.sun/** + META-INF/resources/** + + + + + + + + org.dinky.app.MainApp + + - make-assembly - single + shade package diff --git a/dinky-app/dinky-app-1.19/pom.xml b/dinky-app/dinky-app-1.19/pom.xml index 67e592eb08..248fba0f5d 100644 --- a/dinky-app/dinky-app-1.19/pom.xml +++ b/dinky-app/dinky-app-1.19/pom.xml @@ -47,25 +47,51 @@ org.apache.maven.plugins - maven-assembly-plugin - ${maven-assembly-plugin.version} + maven-shade-plugin - - jar-with-dependencies - - - - - org.dinky.app.MainApp - - + ${project.build.finalName}-jar-with-dependencies ${project.parent.parent.basedir}/build/extends + true + false + + + org.dinky:* + + org/dinky/** + META-INF/** + + + + *:* + + tpch/** + tpcds/** + support/** + springfox/** + org/slf4j/** + org/springframework/** + javax/** + javassist/** + Class50/** + lombok/** + freemarker/** + com.sun/** + META-INF/resources/** + + + + + + + + org.dinky.app.MainApp + + - make-assembly - single + shade package diff --git a/dinky-app/dinky-app-1.20/pom.xml b/dinky-app/dinky-app-1.20/pom.xml index 7964956c65..0de8c5ad21 100644 --- a/dinky-app/dinky-app-1.20/pom.xml +++ b/dinky-app/dinky-app-1.20/pom.xml @@ -45,34 +45,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - org.apache.maven.plugins maven-shade-plugin @@ -80,6 +52,7 @@ ${project.build.finalName}-jar-with-dependencies ${project.parent.parent.basedir}/build/extends true + false org.dinky:* @@ -96,12 +69,14 @@ support/** springfox/** org/slf4j/** + org/springframework/** javax/** javassist/** Class50/** lombok/** - com/alibaba/druid/** - META-INF/resource/** + freemarker/** + com.sun/** + META-INF/resources/** @@ -122,7 +97,6 @@ -